Commit Graph

35 Commits

Author SHA1 Message Date
prod2 57b3a4863e new compiler now passes test suite, after outdated tests were refactored to match new precedence rules 2022-12-03 20:04:44 +01:00
prod2 6fc8514a6b first version of reference, some new tests 2022-12-03 14:28:09 +01:00
prod2 3a73ed75ec add key: val syntax to tables, update tests to match replacement of -> with : 2022-12-03 13:16:47 +01:00
prod2 9986e96309 fix test 2022-12-03 09:48:31 +01:00
prod2 c36292843a update compv1, remove def from compv1 2022-12-03 09:02:43 +01:00
prod2 8d1e9a5318 new test 2022-12-02 21:13:36 +01:00
prod2 f721d0987d parser progress 2022-12-02 19:14:41 +01:00
prod2 5963a25f37 def declaration of procedures 2022-02-10 00:35:29 +01:00
prod2 f79f4e47ba rename funct to proc 2022-02-09 06:58:51 +01:00
prod2 3a9e23b82e implicit return in blocks 2022-02-09 06:55:34 +01:00
prod2 431e8f9a66 implicit return for functions 2022-02-09 06:47:00 +01:00
prod2 a16026b364 utf8 support 2022-02-08 10:10:07 +01:00
prod2 ece31b11e0 -> method call 2022-02-08 09:23:21 +01:00
prod2 5f3f61af2d change table declaration syntax 2022-02-08 08:56:47 +01:00
prod2 8262ca187c sugars: :: and table . op; allow for reading existing locals of the same name in var statements 2022-02-08 08:13:38 +01:00
prod2 9dc429c92d natives 2022-02-07 05:35:07 +01:00
prod2 d5479a0be7 closures work - test passes now 2022-02-06 10:04:49 +01:00
prod2 85aa396054 WIP on closures: single layer closures work, nested closures still broken 2022-02-06 07:35:00 +01:00
prod2 086c6e3c2e WIP closures, fix compiler bug 2022-02-06 03:49:36 +01:00
prod2 c04d520561 expand closures test 2022-02-05 12:56:07 +01:00
prod2 3e48b1cc52 WIP closures 2022-02-05 12:30:07 +01:00
prod2 05887323c0 new test, bugfix 2022-02-05 03:24:30 +01:00
prod2 9fdbb1dda6 create an nds testing tool 2022-02-05 02:45:29 +01:00
prod2 2aa3a094bb update tests to match codebase 2022-02-03 05:00:09 +01:00
prod2 c065324168 should have been part of the last commit 2022-02-03 04:59:06 +01:00
prod2 0ec5bfb60a wip lists and tables 2022-02-03 03:18:11 +01:00
prod2 788ca7eec0 change ^ to :, remove automatic ^ 2022-01-29 22:47:23 +01:00
prod2 93cae977c6 fix tests 2022-01-29 22:36:07 +01:00
prod2 13da52ad24 change project structure 2022-01-29 22:33:34 +01:00
prod2 45e22d9fed expanded the break test, improved compiler error reporting. 2022-01-29 21:22:42 +01:00
prod2 2651cf3cbd bugfix 2022-01-29 21:11:20 +01:00
prod2 71a3d6ad45 fix setglobal popping 2022-01-29 07:24:58 +01:00
prod2 d7f59f5ad7 small fixes 2022-01-29 06:47:34 +01:00
prod2 6961c91468 string interning 2022-01-29 04:22:21 +01:00
prod2 ded7fd3211 hashtable implementation and test 2022-01-28 22:00:21 +01:00