Commit Graph
71 Commits
Author SHA1 Message Date
Mitchell Plamann 6138821c3a Moved non-IO callbacks to c0ffi.js 2015-04-19 19:18:49 -04:00
Mitchell Plamann d39df5314d Fixed strings 2015-04-19 19:11:20 -04:00
Mitchell Plamann 65197535bc This whole "strings" thing isn't quite working... 2015-04-12 00:56:07 -04:00
Mitchell Plamann ee99956b52 Arith.c0 test is successful 2015-04-12 00:37:20 -04:00
Mitchell Plamann f2541c0266 Fixed error with the way the string pool worked 2015-04-12 00:33:57 -04:00
Mitchell Plamann f13a302b54 Merge branch 'master' of https://github.com/aarongut/cdb into mplamann 2015-04-12 00:33:11 -04:00
Mitchell Plamann 00bf6e8243 Struct functions (at least) actually work 2015-04-06 02:56:54 -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 30e983e656 Added tests for array/struct impl, but they in general require printing
to screen
2015-04-06 01:21:41 -04:00
Mitchell Plamann 447b40710e Started working on array/struct impl 2015-04-06 01:21:21 -04:00
aaron 20913ff264 Fixes #1. Moved compile button above textarea 2015-04-02 12:42:10 -04:00
aaron b9acc5c659 Fixed some words n'at 2015-04-02 12:23:43 -04:00
Mitchell Plamann 51f57539eb Updated PDF 2015-04-01 01:16:50 -04:00
Mitchell Plamann 2f774a0200 Merge branch 'master' of https://github.com/aarongut/cdb 2015-04-01 01:12:26 -04:00
Mitchell Plamann e9c137f1e6 Added instructions. Create a GitHub issue if there are any problems. 2015-04-01 01:11:10 -04:00
aaron 489628e0a6 Merge branch 'master' of github.com:aarongut/cdb 2015-04-01 00:39:33 -04:00
aaron 1a4ea7b946 finished introduction 2015-04-01 00:39:21 -04:00
Mitchell Plamann 794150083f Resolves #3 2015-03-31 23:46:36 -04:00
Mitchell Plamann ffb398cecc Merge branch 'master' of https://github.com/aarongut/cdb 2015-03-31 23:30:48 -04:00
aaron c5acca8cdc Merge branch 'master' of github.com:aarongut/cdb 2015-03-31 23:30:26 -04:00
aaron 19be3ddd02 Fixes #2 2015-03-31 23:30:10 -04:00
Mitchell Plamann 54459bc6df Fixes #2 2015-03-31 23:29:39 -04:00
Mitchell Plamann 710a128529 Added images for instructions 2015-03-31 23:15:49 -04:00
aaron 827f234009 writting 3 template 2015-03-31 23:05:54 -04:00
Mitchell Plamann 1c21e8f140 Merge branch 'master' of https://github.com/aarongut/cdb into mplamann 2015-03-31 22:51:08 -04:00
aaron 3d6dc69334 basic wireframe site 2015-03-30 20:36:39 -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 6774610569 Added unit tests. Meant to be run with nodeunit 2015-03-28 18:35:43 -04:00
Mitchell Plamann af86f56873 Watch out for operator precedence 2015-03-28 18:35:26 -04:00
aaron 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
aaron f4f0ad08f9 adding procfile so project will actually run on heroku 2015-03-23 13:22:22 -04:00
aaron 6e43cdf6a0 nodejs app started 2015-03-23 13:15:28 -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 6062716f1d Added simple test programs 2015-03-22 20:58:00 -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 c62c7ed8bf Updated README 2015-03-21 00:30:48 -04:00
Mitchell Plamann c0fb8e1b00 Merge branch 'master' of https://github.com/aarongut/cdb 2015-03-21 00:30:27 -04:00
Mitchell Plamann ad9d4630c7 Updated README 2015-03-21 00:29:53 -04:00
Mitchell Plamann 5061bc961e Updated README 2015-03-21 00:28:34 -04:00
Mitchell Plamann e7325d3622 Merge branch 'master' of https://github.com/aarongut/cdb 2015-03-20 22:56:50 -04:00
Mitchell Plamann 38f37f0097 Added helpful link 2015-03-20 22:55:45 -04:00
Mitchell Plamann 3f15a249c8 Added getBytes :: "filename.bc0" -> byte list 2015-03-20 22:54:26 -04:00
Mitchell Plamann 7dd1d854d1 Grammar and such. As far as I can tell, it's ready to be submitted. 2015-03-05 21:42:19 -05:00
Mitchell Plamann e845be4576 Removed the "POSSIBLY CHANGE THIS" from Project Schedule.
If the first phase takes longer than a week, I'm sure that's OK though.
2015-03-05 20:15:06 -05:00
Mitchell Plamann f644bb9f50 Added introduction, sources cited 2015-03-05 20:02:24 -05:00