Commit Graph

75 Commits

Author SHA1 Message Date
minjaesong
5c97ce97ee basicdoc: adding missing array manipulating functions 2020-12-23 17:07:30 +09:00
minjaesong
0b67613d90 basic:copyright notice 2020-12-22 22:29:54 +09:00
minjaesong
2f054b9c67 basic: currying is now operator & does not require special treatment on tree execution 2020-12-22 17:57:41 +09:00
minjaesong
d785ecf568 basic: currying can be used in recursive function and QSORT works 2020-12-22 15:02:38 +09:00
minjaesong
47f5b4d9d0 basic: doc 2020-12-21 23:30:52 +09:00
minjaesong
666c882b5e still fixing so that demo code would work 2020-12-21 22:18:10 +09:00
minjaesong
8600207e34 basic: trying to solve why currying does not work as it should do in recursive function 2020-12-21 17:50:27 +09:00
minjaesong
e11038254a basic: CURRY, TYPEOF, LEN 2020-12-21 14:12:09 +09:00
minjaesong
f716dbd719 basic yet more docs 2020-12-18 13:18:14 +09:00
minjaesong
f7b17e881f basic: omfg where are NOT-operators? 2020-12-17 23:10:31 +09:00
minjaesong
e280e4f4c7 basic: syntax tree of UNARYMINUS with number will be converted to -number 2020-12-17 21:13:10 +09:00
minjaesong
efde387d73 basic: GETKEYSDOWN function 2020-12-17 20:44:56 +09:00
minjaesong
fcc356439c basic more docs 2020-12-17 18:23:25 +09:00
minjaesong
45aebd2a10 basic: exponentiation to raise correct errors 2020-12-16 20:17:59 +09:00
minjaesong
47f413a9e0 basic: new operator MIN, MAX, (\) (integer div) 2020-12-16 20:02:00 +09:00
minjaesong
9ca9990a19 basic: fix: would crap out when 'REM' is not a first statement of a line 2020-12-16 15:13:03 +09:00
minjaesong
e61fe9e0af basic: save will put .bas extension if one is not given 2020-12-16 13:32:13 +09:00
minjaesong
5b3d569d06 basic: ON statement, DO with GOTO at the end will work now 2020-12-16 11:44:01 +09:00
minjaesong
615db3b2ad basic: LABEL statement for GOTO/SUB 2020-12-15 21:19:39 +09:00
minjaesong
f4f1f51804 basic: stmt-level indexing successfully wip 2020-12-15 17:55:56 +09:00
minjaesong
71cdd68a2e basic: 'dotest' now works 2020-12-15 15:44:33 +09:00
minjaesong
c18c14e760 basic: all but 'dotest.bas' and 'blackjack.bas (as always)' are working 2020-12-14 19:59:00 +09:00
minjaesong
186340d704 basic: somewhat working but 'REM' does not? 2020-12-14 19:37:41 +09:00
minjaesong
ddb7437755 basic: fixing print with (;) would not work as intended 2020-12-14 15:28:54 +09:00
minjaesong
8d733d7ecd basic: parser fixing bug with multi-args function call 2020-12-14 14:19:28 +09:00
minjaesong
f1365ed34c basic: making sure 'PRINT -3' to work 2020-12-14 11:51:53 +09:00
minjaesong
1b6f768f9d basic: fixing some unary mishaps on parser 2020-12-14 10:08:10 +09:00
minjaesong
45b37d40b1 basic: NEXT of FOR loop now works but now unary op is not parsed correctly 2020-12-13 20:07:23 +09:00
minjaesong
e106327b4b basic: parsing FOR statement, FOR itself still broken :( 2020-12-13 14:32:42 +09:00
minjaesong
5a09c4915d basic: still broken but we're getting there 2020-12-13 00:32:19 +09:00
minjaesong
24cd1a030f basic: actually the parser was correct 2020-12-12 23:48:31 +09:00
minjaesong
0d68c667f0 basic: integration test on master branch lol 2020-12-12 17:05:59 +09:00
minjaesong
81e10c54de basic: parser now process (:) operator 2020-12-12 16:24:14 +09:00
minjaesong
78b3a69b6d basic: new parser works with correctly entered IF, DEFUN and function_calls 2020-12-11 17:55:08 +09:00
minjaesong
833a8df07b basic: yet more parser wip 2020-12-11 14:16:10 +09:00
minjaesong
401bb47481 basic: more parser wip 2020-12-10 21:50:33 +09:00
minjaesong
bcec2b4536 basic: new parser wip 2020-12-10 17:56:45 +09:00
minjaesong
1b9a9352a1 basic: function sequencing block 'DO' 2020-12-10 10:44:12 +09:00
minjaesong
5e9e9ba1ba basic: some minor fixes 2020-12-09 23:15:55 +09:00
minjaesong
3ce8789bd8 basic: 'barely working' foldl function 2020-12-09 19:18:07 +09:00
minjaesong
ac9087f7bf basic: 'barely working' map function 2020-12-09 17:18:11 +09:00
minjaesong
1177690ee3 basic: on DEFUN, unknown variables will be regarded as a global 2020-12-09 09:40:16 +09:00
minjaesong
9fa9a0a203 defun actually works 2020-12-08 22:35:51 +09:00
minjaesong
e2d466e604 signs of defun working 2020-12-08 21:41:44 +09:00
minjaesong
6ecd1b92d8 defun wip1 2020-12-08 20:00:47 +09:00
minjaesong
447fa43d73 minor fixups 2020-12-07 20:37:44 +09:00
minjaesong
3003de0bb2 basic: fixed a bug where empty string would be resolved to number zero; improving performance by building parsing trees prior to the actual execution 2020-12-07 00:05:09 +09:00
minjaesong
64257464b4 basic: ability to invoke with cmdline args 2020-12-06 11:40:46 +09:00
minjaesong
2d13e9e492 basic: newly implemented EMIT 2020-12-05 17:41:15 +09:00
minjaesong
bd6a6be6b6 basic: fixing an edge case with scalar arrays 2020-12-05 16:32:34 +09:00