Commit Graph

5 Commits (master)

Author SHA1 Message Date
kts 9f32631fe5 Added rolls test program. This reads rolls.tsc in and attempts to do some basic attack/defend rolls for Tiles. Also added the basic structure for the VM function precompiler. Next modification will likely be converting the current VM precompiling code into using a buffer rather than reading from the file handle directly. This will allow for forward reading of characters in addition to backwards, thereby allowing for easier expression parsing (at least towards what I am conceiving of it thus far). 2014-05-17 16:28:24 -07:00
kts 6f1ffe3563 More added to the precompiler. To be done is function parameter word parsing into vm_pc_Variable Tables as well as the bulk of source to operation precompilation. 2014-04-25 12:53:31 -07:00
kts 30472bf0ca Precompiler now adds Variables to a pc_Variable Table. Additional precompilation error checking implemented. TablePair now uses a T_POINTER type. If this data type is used, the memory pointed to is _not_ freed when the TablePair or its parent Table is freed. The developer must remember to free this data type manually when it is used. 2014-04-15 11:18:52 -07:00
kts 902e21ebc6 After far too long of a delay, a git commit. The updates pertain to vm_compile and implements the basic parsing of virtual machine C source files into global, group, and local scopes. At the moment it does not convert to op codes - it only identifies variables declared outside of functions for the given scope. 2014-04-02 00:37:31 -07:00
kts c7daa2d1b7 Added a test compiler program. Not much functionality yet, but it describes the precompilation (and, to a lesser extent, precompilation) of VM functions. 2014-03-16 19:37:51 -07:00