History of
src
/
castile
/
backends
/
javascript.py
@master
git clone https://git.catseye.tc/Castile/
-
Remove the deep struct equality implementation from backends.
Chris Pressey
2 years ago
-
Structs cannot be tested for equality with `==` or `!=`.
Chris Pressey
2 years ago
-
When casting, don't promote already-tagged values, to tagged values.
Chris Pressey
2 years ago
-
Generate more sufficient equal_foo functions in JavaScript backend.
Chris Pressey
2 years ago
-
Establish an abstract base class for compiler backends.
Chris Pressey
2 years ago
-
Checkpoint implementing scoped structs.
Chris Pressey
2 years ago
-
Deep struct equality, and union equality, in JavaScript backend.
Chris Pressey
2 years ago
-
Structural equality testing in all backends except stackmac.
Chris Pressey
3 years ago
-
Implement str builtin in Ruby, JavaScript, and stackmac backends.
Chris Pressey
3 years ago
-
Make local variables Python-like. Add failing test cases.
catseye
11 years ago
-
Clean up AST.aux, allow empty structs in stackmac; all tests pass.
catseye
11 years ago
-
AST nodes have tags (names) and types (language-domain.)
catseye
11 years ago
-
Make grammar less verbose (in eval, tag based on Python type).
catseye
11 years ago
-
Make tests independent of tagged value representation.
catseye
11 years ago
-
Fix up stackmac a bit; rewrite tests to not have struct reprs.
catseye
11 years ago
-
Local declarations must be first thing in function body.
catseye
11 years ago
-
Pretend to compile to some hypothetical stack-based machine.
catseye
11 years ago
-
input, read, write in eval and Ruby backend. Better exceptions.
catseye
11 years ago
-
true/false/null are literals. Ruby backend with "only" 11 fails.
catseye
11 years ago
-
Implement `break`.
catseye
11 years ago
-
Fix Javascript to 'good enough' state, and fix examples too.
catseye
11 years ago
-
Field names in make, typechecker independence, Javascript broken.
catseye
11 years ago
-
Reduce dependence on typechecker; typecase/as done in parser.
catseye
11 years ago
-
Remove `do` -- let's not encourage this sort of thing.
catseye
11 years ago
-
Auto-return only in func bodies, by parser, simplifies compiler.
catseye
11 years ago
-
Refactoring: move modules around, avoid late import in TypeChecker.
catseye
11 years ago