Commit Graph
16 Commits
Author SHA1 Message Date
Calvin Rose 6d3e3d8246 Remove faulty quoting logic in parser. 2017-05-07 18:20:11 -04:00
Calvin Rose 96a605fbc0 Fix variadic functions. 2017-05-07 16:48:35 -04:00
Calvin Rose 7b83247c07 Add vararg support to compiler. Seems to be leak in parser. 2017-05-06 17:46:28 -04:00
Calvin Rose 6ca5a76286 Fix a divide by 0 error when table is too small. 2017-05-04 11:34:24 -04:00
Calvin Rose 78cdf4b184 Add stdi and stdout to file io. 2017-04-30 11:15:44 -04:00
bakpakin 9806546e1c Change some function names. 2017-04-27 09:44:52 -04:00
Calvin Rose bf2c16ccb0 Flesh out support for userdata
Add file reading via file objects.
Finalizer option for userdata.
2017-04-26 10:22:16 -04:00
Calvin Rose 652b250718 Finish simple pretty printer in gst.
Discovered memory leaks. Seems to have to do with improper marking of
the stack and or the VM messes up the stack.
2017-04-24 18:09:23 -04:00
Calvin Rose 81987dca45 More work. 2017-04-24 13:12:55 -04:00
Calvin Rose 01e8749f39 Redo function call bytecode interface to be simpler and allow
for an apply like structure in the language
2017-04-19 09:02:12 -04:00
Calvin Rose baa3544ca0 Readd the repl. 2017-04-17 22:14:35 -04:00
Calvin Rose 6e71984fc5 Add wrapping functions for easy conversion between c api and
internal values.
2017-04-17 18:46:28 -04:00
Calvin Rose f52e290206 Allow parser to parse files rather than just a repl. I think
there are some memory leak issues (problems with gc).
2017-04-17 00:15:18 -04:00
Calvin Rose ded3d06387 Use fewer special forms in c compiler. This should
make the self hosted compiler easier to make. The
C version of the compiler does not need to be efficient.
2017-04-12 10:31:50 -04:00
Calvin Rose ac50f6232e More work on cleaing up code. 2017-03-26 11:47:58 -04:00
Calvin Rose 841ee3696d Add cache for strings. 2017-03-22 00:27:18 -04:00