|
|
d2841cd48f
|
Merge branch 'mplamann' into run_vm
Conflicts:
public/vm/index.js
|
2015-04-13 23:12:40 -04:00 |
|
Mitchell Plamann
|
be1848a055
|
Arrays and structs kinda work...
|
2015-04-06 02:41:11 -04:00 |
|
Mitchell Plamann
|
3278bfe6c4
|
Added native function support
|
2015-04-06 02:22:37 -04:00 |
|
Mitchell Plamann
|
447b40710e
|
Started working on array/struct impl
|
2015-04-06 01:21:21 -04:00 |
|
|
|
decf25ed29
|
started working to integrate vm and site
|
2015-04-03 01:42:04 -04:00 |
|
Mitchell Plamann
|
e9285d5e9d
|
cleanup
|
2015-03-28 19:39:01 -04:00 |
|
Mitchell Plamann
|
9159cf1389
|
Added more tests, function calls work
Fixed a bunch of bugs in other opcodes, too
|
2015-03-28 19:14:10 -04:00 |
|
Mitchell Plamann
|
af86f56873
|
Watch out for operator precedence
|
2015-03-28 18:35:26 -04:00 |
|
|
|
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 |
|