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