Commits

Show all
Author Commit Message Labels Comments Date
catseye
Update README for version 0.2.
Tags
rel_0_2
catseye
Clean up AST.aux, allow empty structs in stackmac; all tests pass.
catseye
Types on every AST node; simpler AST structure; AST.copy().
catseye
AST nodes have tags (names) and types (language-domain.)
catseye
Test for order not mattering in union types and struct creation.
catseye
Fix example programs' syntax. Add another exciting example.
catseye
Demo of "typed enum" and various notes.
catseye
Deal with voids in unions in stackmac. All tests pass!
catseye
Nicer (probably) syntax for type expressions.
catseye
Make grammar less verbose (in eval, tag based on Python type).
catseye
stackmac fixes that suggest passes are in the "wrong" order...
catseye
More builtins (int, str, chr, ord), in evaluator only for now.
catseye
Fix bugs in stackmac be; tag unions; implement typecase.
catseye
Make tests independent of tagged value representation.
catseye
Small fixes to stackmac.
catseye
Fix up stackmac a bit; rewrite tests to not have struct reprs.
catseye
Fix function lifter, examples, stackmac backend.
catseye
Local declarations must be first thing in function body.
catseye
AST transformation: lift all function bodies to toplevel.
catseye
This isn't much tidier. Hardly worth doing except to pass tests.
catseye
stackmac can say "Hello, world!" now, at least.
catseye
Expand on linked list example.
catseye
Flush out struct/union parts of the stackmac backend.
catseye
Tell stackmac the # of globals; "only" 17 fails now.
catseye
Save old baseptr. Don't push/return void (size=0) values.
catseye
Introduce clear_baseptr opcode, callee clears stack for return.
catseye
Read and write locals rel baseptr. "Only" 27 fails for stackmac.
catseye
Inching the number of failures down. Next: local or global?
catseye
Labels in stack machine; pass a small number more tests.
catseye
Stackmac backend now passes some tests.
  1. Prev
  2. Next