Commit Graph

7 Commits

Author SHA1 Message Date
2d8aec3181 cc0.cgi takes in cc0 code as plain text and return a json object with
the resulting bytecode. It is currently running at ~amgutier/cc0.cgi on
the cc contrib servers, and is liable to be extremely buggy
2015-03-23 16:07:46 -04:00
Mitchell Plamann
e4a297a28d Restructured the vm 2015-03-23 01:09:03 -04:00
Mitchell Plamann
3eb1346eef Added arithmetic and control flow functions.
It passes very simple test files.
2015-03-22 22:32:38 -04:00
Mitchell Plamann
2b2726e230 Math is hard 2015-03-22 22:11:10 -04:00
Mitchell Plamann
82e3f33738 Added simple and mostly wrong c0vm 2015-03-22 20:58:21 -04:00
Mitchell Plamann
837efb7b2b Added bytecode parser according to c0vm-writeup.pdf
We can now parse a bytecode file to find int_pool, string_pool,
function_pool, and native_pool.
2015-03-21 02:04:49 -04:00
Mitchell Plamann
3f15a249c8 Added getBytes :: "filename.bc0" -> byte list 2015-03-20 22:54:26 -04:00