Commit Graph

242 Commits

Author SHA1 Message Date
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
minjaesong
b8f4c13ba2 added do-nothing function 2020-12-08 17:35:09 +09:00
minjaesong
c4522c7de3 basic: font improvements 2020-12-08 10:17:43 +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
d5606b5fe5 basic: hamurabi also seems to be working 2020-12-06 13:00:06 +09:00
minjaesong
64257464b4 basic: ability to invoke with cmdline args 2020-12-06 11:40:46 +09:00
minjaesong
69e0b485a0 minor fixups 2020-12-05 23:46:08 +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
minjaesong
7328f5f978 basic:fixed multidimensional array access for real 2020-12-05 15:37:43 +09:00
minjaesong
e06a7eac59 basic:more helpful errmsgs 2020-12-04 12:33:57 +09:00
minjaesong
e7f4b07326 basic: CONST generator PRIMES 2020-12-03 21:03:03 +09:00
minjaesong
300f7cb9b4 basic: tron/troff command 2020-12-03 20:30:00 +09:00
minjaesong
743837bd86 basic: amazing.bas is working 2020-12-03 19:03:14 +09:00
minjaesong
6adbebc87f basic:simpler sample prg 2020-12-03 18:02:06 +09:00
minjaesong
bda1af1237 basic:TRACEON, INPUT to properly parse integers 2020-12-03 17:29:49 +09:00
minjaesong
1af45748de basic:for is mutable, test with formut.bas 2020-12-03 12:50:30 +09:00
minjaesong
b70e1db5bb basic:generator model for 'FOR' 2020-12-03 12:43:27 +09:00
minjaesong
41bdd30f80 basic: test prg sqrt.bas 2020-12-02 22:19:25 +09:00
minjaesong
1ef1f5eab8 fixing + operator 2020-12-02 21:31:59 +09:00
minjaesong
856764c936 basic:killed sigils; IF statement is broken? (see ltkaput.bas) 2020-12-02 17:49:13 +09:00
minjaesong
5b15a49f88 basic:optional index at 1, LEFT, MID, RIGHT funs 2020-12-02 16:01:16 +09:00
minjaesong
d43d747e6a basic:multidimensional array 2020-12-02 14:59:16 +09:00
minjaesong
33c2871fca basic:allowing 'print' to accept zero args, of which it will print a newline 2020-12-02 11:00:01 +09:00
minjaesong
ceda5a4479 less:u d commands, new app 'hexdump' 2020-12-02 10:27:58 +09:00
minjaesong
7786044d98 String.prototype.replaceAll polyfilling 2020-12-01 23:27:15 +09:00
minjaesong
9b870c2a47 even more graal 2020-12-01 15:42:02 +09:00
minjaesong
8cb9ae9c5c more graal stuffs 2020-12-01 14:38:36 +09:00