Nathan Braswell
|
8177bc7fd0
|
Add struct access! Uses new translation_unit_generative pass depended on by scope lookups to generate compiler_intrinsics that access members of structs'
|
2018-10-27 18:00:26 -04:00 |
|
Nathan Braswell
|
0e0ca8d7b4
|
Big changes to k - now all passes are top-level-item focused, does dead simple scope lookup. Added an error message when trying to match on not an ADT
|
2018-09-17 23:36:26 -04:00 |
|
Nathan Braswell
|
405ee70db8
|
Change ADTs to generate a copy_construct() that returns this, which should be our new default. Fix storing functions in vectors (lots of bugs here, with funciton types in templates, sizeof, returned by ref, etc. might have missed a few more, put in some warning comments
|
2018-06-12 23:29:39 -04:00 |
|
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
|
cb720e5cd6
|
working on moving rest of obj stuff into obj_lower
|
2017-11-03 00:39: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
|
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
|
76e78a2ac0
|
transfer work on interpreted closures
|
2016-06-30 09:57:41 -07:00 |
|
Nathan Braswell
|
284d8ac9c7
|
Fixed up interpreter, ADT is close to working but something's weird about what match statements are translated into
|
2016-06-27 01:21:24 -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
|
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
|
3f89cb1e37
|
partial rollback, might still not work
|
2016-06-16 09:53:15 -07:00 |
|