Commit Graph

270 Commits

Author SHA1 Message Date
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
f81d28dfc7 basic moar wip docs 2020-12-20 00:26:47 +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
0acad8bd2f basic: tex env for typesetting code blocks 2020-12-17 21:51:09 +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
5af585e3d8 basic manual array operators 2020-12-17 19:01:29 +09:00
minjaesong
fcc356439c basic more docs 2020-12-17 18:23:25 +09:00
minjaesong
bb6d359491 basic: minor doc update 2020-12-16 20:29:01 +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
8d9258dff3 basic: manual wip 2020-12-16 16:47:40 +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
b67c8ede6f basic: proof that gosub in the middle of the statements works now 2020-12-16 11:50:21 +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
2acdb4d0c1 basic:fixme: new parser ignores operator precedence 2020-12-12 17:42:38 +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
19f323b90e basic: it seems parser is working again :D 2020-12-12 14:59:19 +09:00
minjaesong
55c971fcf8 basic: syntax update 2020-12-12 00:17:50 +09:00
minjaesong
91a4cb0049 basic: parser goes parrrrrr 2020-12-11 23:50:37 +09:00
minjaesong
01e45c7ebc fixme:basic: new parser somehow cannot parse defun 2020-12-11 19:49:54 +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