Author Commit Message Labels Comments Date
Default avatar catseye
Small fixes to stackmac.
Default avatar catseye
Fix up stackmac a bit; rewrite tests to not have struct reprs.
Default avatar catseye
Fix function lifter, examples, stackmac backend.
Default avatar catseye
Local declarations must be first thing in function body.
Default avatar catseye
AST transformation: lift all function bodies to toplevel.
Default avatar catseye
This isn't much tidier. Hardly worth doing except to pass tests.
Default avatar catseye
stackmac can say "Hello, world!" now, at least.
Default avatar catseye
Expand on linked list example.
Default avatar catseye
Flush out struct/union parts of the stackmac backend.
Default avatar catseye
Tell stackmac the # of globals; "only" 17 fails now.
Default avatar catseye
Save old baseptr. Don't push/return void (size=0) values.
Default avatar catseye
Introduce clear_baseptr opcode, callee clears stack for return.
Default avatar catseye
Read and write locals rel baseptr. "Only" 27 fails for stackmac.
Default avatar catseye
Inching the number of failures down. Next: local or global?
Default avatar catseye
Labels in stack machine; pass a small number more tests.
Default avatar catseye
Stackmac backend now passes some tests.
Default avatar catseye
Rename stack backend to stackmac; stub of an interpreter for it.
Default avatar catseye
Proper label generation in stack backend.
Default avatar catseye
Pretend to compile to some hypothetical stack-based machine.
Default avatar catseye
input, read, write in eval and Ruby backend. Better exceptions.
Default avatar catseye
Ruby backend passes all tests.
Default avatar catseye
true/false/null are literals. Ruby backend with "only" 11 fails.
Default avatar catseye
Typecheck function values, add test cases, update README.
Default avatar catseye
Implement `break`.
Default avatar catseye
Dump structs in field order. All tests pass again.
Default avatar catseye
Fix Javascript to 'good enough' state, and fix examples too.
Default avatar catseye
Field names in make, typechecker independence, Javascript broken.
Default avatar catseye
Reduce dependence on typechecker; typecase/as done in parser.
Default avatar catseye
Remove `do` -- let's not encourage this sort of thing.
Default avatar catseye
Auto-return only in func bodies, by parser, simplifies compiler.
  1. Prev
  2. Next
Help
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.