Nathan Braswell
|
8a676a1b5b
|
More work. Doesn't compile at this point
|
2017-02-23 01:24:22 -05:00 |
|
Nathan Braswell
|
cb8124afc0
|
baby steps
|
2017-02-17 01:22:27 -05:00 |
|
Nathan Braswell
|
3fc0ea9bec
|
baby steps
|
2017-02-04 01:29:22 -05:00 |
|
Nathan Braswell
|
dad0f780bb
|
Groundwork for closure lowering, run raw function pointer type
|
2017-01-26 23:58:48 -05:00 |
|
Nathan Braswell
|
caba8b310f
|
Small speed improvement int trim by using stack (and DFS) instead of queue (and BFS) for remove and collapse, finally fix the unknown escape '\*' error
|
2017-01-25 01:47:05 -05:00 |
|
Nathan Braswell
|
ebb34d5ba3
|
Replace visited list for pass_common with hash_set (which isn't complete, but has the basics) for a massive speedup (6xish)
|
2017-01-22 10:13:06 -05:00 |
|
Nathan Braswell
|
e2639989c9
|
ref_lower now generates C, though a ton of syntax errors
|
2017-01-20 01:11:06 -05:00 |
|
Nathan Braswell
|
0f2ac1421a
|
Basic CTCE working! In between commit because #link(a) syntax changed to #link(a)
|
2016-07-03 22:50:42 -07:00 |
|
Nathan Braswell
|
6fee942756
|
Refactored interpreter into just functions, added a REPL to the main kraken.
|
2016-07-03 15:32:45 -07:00 |
|
Nathan Braswell
|
4cc0d26c4c
|
Now && and || short circuiting is done in obj_lower
|
2016-06-25 23:56:07 -07:00 |
|
Nathan Braswell
|
dd8fbc0489
|
moved munging while and for into obj_lower
|
2016-06-25 16:02:53 -07:00 |
|
Nathan Braswell
|
e3607beabe
|
Refactor parameter destruction into obj_lower
|
2016-06-24 01:42:48 -07:00 |
|
Nathan Braswell
|
29eff2a23e
|
Fix defer_lower to handle return statements, starting on obj_lower which has now taken over calling destruct for declared varaibles. Some of the code from the c_generator has been commented out or bypassed to use the new system - it should be removed when it's complete.
|
2016-06-22 01:41:57 -07:00 |
|
Nathan Braswell
|
26e7ee249a
|
Now using adt_lower, which also makes the backing deconstruct a reference, which makes sense
|
2016-06-20 01:52:28 -07:00 |
|
Nathan Braswell
|
d44293a48b
|
Defer is now lowered in its own pass as a first step towards refactoring other things into their own passes as well
|
2016-06-15 01:36:59 -07:00 |
|