Nathan Braswell
|
d85f388792
|
Shorter AST names
|
2018-05-22 20:14:15 -04:00 |
|
Nathan Braswell
|
eefa752d55
|
shortening of str and vec
|
2018-05-22 19:43:54 -04:00 |
|
Nathan Braswell
|
8edfd88c28
|
Fix this handling, other bytecode fixes
|
2018-03-21 00:00:06 -04:00 |
|
Nathan Braswell
|
d414459313
|
Fixed it
|
2017-12-27 16:10:36 -05:00 |
|
Nathan Braswell
|
7ddbecaf1d
|
debugging
|
2017-11-13 22:39:14 -05:00 |
|
Nathan Braswell
|
cb720e5cd6
|
working on moving rest of obj stuff into obj_lower
|
2017-11-03 00:39:58 -04:00 |
|
Nathan Braswell
|
e70d31a51c
|
Add in address_of_ensure_variable_lower.krak that makes sure & can always take a reference, even of a constant, etc, and start the cleanup of c_generator that this allows
|
2017-10-22 21:41:58 -04:00 |
|
Nathan Braswell
|
bd83156c12
|
work in progress
|
2017-06-12 23:52:12 -04:00 |
|
Nathan Braswell
|
3a7f73b711
|
sigh
|
2017-01-23 01:09:31 -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
|
5a6f498043
|
Working!
|
2017-01-21 22:01:47 -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
|
87c2b1d2c1
|
Interpreter up to 71/73 tests passing, the only ones that don't yet are the future ones. Struct size is still wrong though
|
2016-07-03 01:55:32 -07:00 |
|
Nathan Braswell
|
15fe2aeba4
|
Moved copy_constructing into functions and destructing the results into obj_lower. Removed all defer_stack from c_generator. The last thing should be to move ref handling into obj_lower or maybe a pass after, then the rest of c_generator can be cleaned up and fixing interpreter (except for closures) should be easy.
|
2016-06-26 04:44:54 -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 |
|