Commit Graph

121 Commits

Author SHA1 Message Date
Art 45ca5e3ef5
update readme 2022-12-10 17:54:34 +01:00
prod2 853b4c6256
revert nim.cfg 2022-12-10 16:52:23 +01:00
prod2 494d39cdd6 contact info 2022-12-10 15:35:18 +01:00
prod2 5664024cbc code of conduct 2022-12-07 19:19:47 +01:00
prod2 7bab153ed5 license change 2022-12-07 19:00:15 +01:00
prod2 e0a93d0940 add nbody benchmark 2022-12-04 14:59:17 +01:00
prod2 32d643bba0 new danger option in nimble 2022-12-03 20:39:19 +01:00
prod2 18c71f41fe more polish to .md files 2022-12-03 20:21:18 +01:00
prod2 bd569c7ae2 fixed readme? 2022-12-03 20:14:20 +01:00
prod2 50b1c53278 update readme 2022-12-03 20:11:45 +01:00
prod2 09a66b7306 removed old compiler 2022-12-03 20:05:59 +01:00
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 8c90b669e8 emitting variables, scopes 2022-12-03 15:55:47 +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 c812d33a77 wrong precedence fixed 2022-12-03 13:11:46 +01:00
prod2 41e21733d3 control flow emitting 2022-12-03 13:07:05 +01:00
prod2 ef794ea881 add dump AST, make AST printing cleaner 2022-12-03 12:19:35 +01:00
prod2 04dd2bf73f Simplify config
- made assertions always enabled, since they already pretty much were
- removed debug compiler/scanner since the whole thing was messy, and not present in compv2
2022-12-03 12:08:41 +01:00
prod2 3405c10b08 basic emitter in place 2022-12-03 11:52:51 +01:00
prod2 9986e96309 fix test 2022-12-03 09:48:31 +01:00
prod2 27391bdc43 parsing break, var decl 2022-12-03 09:39:26 +01:00
prod2 1e139194b8 block expressions, improved error reporting 2022-12-03 09:32:41 +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 a0e5431b0f parsing procs 2022-12-02 21:08:52 +01:00
prod2 e83cd424f9 backtrack in parser + ampersand op support 2022-12-02 20:47:31 +01:00
prod2 b858a066e2 colonCall parsing 2022-12-02 19:27:02 +01:00
prod2 f721d0987d parser progress 2022-12-02 19:14:41 +01:00
prod2 e6a48ccee6 compiler rewrite start
updated readme accordingly
created node.nim in compv2
changed nds.nim - setup for debugging the parser for now
2022-12-02 15:45:34 +01:00
prod2 88cc276100 cleanup 2022-12-02 12:15:10 +01:00
prod2 ada87cb01b update gitignore 2022-12-02 12:10:51 +01:00
prod2 c21c797ef4 update 2022-12-02 12:09:10 +01:00
prod2 70fa10bfa6 readding inline to some stack.nim procs 2022-02-14 10:46:49 +01:00
prod2 856d1345e4 init the globals table with a larger init cap 2022-02-14 10:33:10 +01:00
prod2 197d61b112 remove broken closure listing 2022-02-14 07:16:58 +01:00
prod2 545322bf96 Revert "BROKEN gc"
This reverts commit 0f9440dfb0.
2022-02-14 07:15:11 +01:00
prod2 0f9440dfb0 BROKEN gc 2022-02-10 06:44:16 +01:00
prod2 5963a25f37 def declaration of procedures 2022-02-10 00:35:29 +01:00
prod2 f86cce7977 use stack instead of frames to find current closure 2022-02-09 07:06:40 +01:00
prod2 7e5dff3263 update benchmarks to match new syntax 2022-02-09 07:01:52 +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 2517439caf mark compiler modules as used, make nimble test rebuild in release mode, make release mode enable all assertions and bounds checks 2022-02-08 06:04:39 +01:00
prod2 d4a6921302 split up expression.nim 2022-02-08 05:50:36 +01:00