1
0
mirror of https://github.com/sehugg/8bitworkshop.git synced 2026-04-21 06:16:43 +00:00

cmoc: better listing parser, williams: updated presets

This commit is contained in:
Steven Hugg
2022-02-22 09:40:05 -06:00
parent 8c63bef8c9
commit b9fc162885
13 changed files with 1441 additions and 37 deletions
+5
View File
@@ -262,5 +262,10 @@ describe('Worker', function() {
it('should compile CC65 flags', function(done) {
compile('cc65', '#define CC65_FLAGS -Or,-g,-j\nint main() {\nint x=1;\nreturn x+2;\n}', 'apple2', done, 416, 3);
});
/*
it('should compile CMOC', function(done) {
compile('cmoc', 'int foo=0; // comment\n#if defined(__8BITWORKSHOP__) && defined(__MAIN__)\nint main(int argc) {\nint x=1;\nint y=2+argc;\nreturn x+y+argc;\n}\n#endif\n', 'williams', done, 8192, 3, 0, {filename:'test.c'});
});
*/
});