Commit Graph

11 Commits

Author SHA1 Message Date
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