Commit Graph
24 Commits
Author SHA1 Message Date
Calvin Rose 7e46ead2f4 Add new tests. Add recursion guard to compile, serialize, and
deserialize.
2017-06-28 22:51:24 -04:00
Calvin Rose 145688b49f More work on serializer. 2017-05-12 00:03:00 -04:00
Calvin Rose 58edb63607 More work on serilaization 2017-05-11 21:30:18 -04:00
Calvin Rose 6220b70105 More work in serialization 2017-05-11 17:08:29 -04:00
Calvin Rose b7083f6f18 More work on dogfood repl. 2017-05-09 20:06:53 -04:00
Calvin Rose fd72219a2a Add tran keyword to allow for continuations. 2017-05-09 19:21:30 -04:00
Calvin Rose 4fd398ac97 Add simple example repl. Will eventually add
support for error handling, macros and other
compile time transformations. This will eventually become the full
language.
2017-05-08 11:03:06 -04:00
Calvin Rose 058780085b Begin implementing a repl in gst 2017-05-07 21:36:04 -04:00
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