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
|
3f89cb1e37
|
partial rollback, might still not work
|
2016-06-16 09:53:15 -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 |
|
Nathan Braswell
|
27fea0e90c
|
work on multithread, interpreter, and prototyped a #line-in-simple-passthrough ast changing pass turned on with -g
|
2016-06-14 02:14:25 -07:00 |
|
Nathan Braswell
|
59969e7114
|
Add passthrough optimization levels
|
2016-06-07 23:14:52 -07:00 |
|
Nathan Braswell
|
ce2eff42a6
|
Moved over compiler information printing and error to use stderr, enabled interpreter testing in tester. The interpreter passes 34/74 tests
|
2016-05-22 14:10:19 -07:00 |
|
Nathan Braswell
|
ce1afa45f4
|
Added a lot to the interpreter, but some odd problem where snprintf seems to print the wrong thing something like a 10th of the time. Debugged it for a while over two days, and I've narrowed it down to the actual snprintf call. It seems to happen under some different circumstances for compiled versions too, so I'm just going to keep it like this for now.
|
2016-05-18 23:11:00 -07:00 |
|
Nathan Braswell
|
e63b7cf770
|
Enough interpreter to do math on constant integers
|
2016-05-13 03:10:36 -04:00 |
|
Nathan Braswell
|
947384cced
|
Started work on interpreter, commit to fix issues it will depend on
|
2016-05-12 02:03:20 -04:00 |
|
Nathan Braswell
|
7aa1d9983b
|
Some bugfixes/added errors, convert most to not use simple_passthrough
|
2016-04-30 15:38:28 -04:00 |
|
Nathan Braswell
|
b52d38f648
|
Added in version numbers/hashes pulled from git - captain.sh generates at build time compiler_version.krak to be imported by kraken.main
|
2016-04-27 15:59:28 -04:00 |
|
Nathan Braswell
|
e732a6e41d
|
Clean up for demo
|
2016-04-13 16:25:16 -04:00 |
|
Nathan Braswell
|
38ec4abc01
|
Added file name + line number to symbols and use it for reasonable error handling now, added a version number to the compiled grammer
|
2016-04-05 03:14:56 -04:00 |
|
Nathan Braswell
|
40c3e428c1
|
move test_compiler up to main kraken.krak and fix linker string, make paths work correctly
|
2016-03-28 17:12:53 -04:00 |
|