Commit graph

13 commits

Author SHA1 Message Date
4bd3ac06fa [fine] Use the right tree to get the environment for an identifier
Can't go up to the parent, that defeats the whole point! Use *my*
environment, not my parent's environment!!
2024-01-07 09:13:34 -08:00
efd0685f41 [fine] Environments for functions
Fun times.
2024-01-07 08:11:27 -08:00
308114f8cf [fine] Fixup let environment
Also handle circular references in types and environments without
exploding, and tweak test output a little bit.
2024-01-07 08:05:55 -08:00
ebad7fe295 [fine] Missed a test :O 2024-01-06 17:22:16 -08:00
56e4be9a5b [fine] Empty blocks generate nothing 2024-01-06 11:00:31 -08:00
8835d9eaf2 [fine] Tweak syntax for assertions to make me happier 2024-01-06 07:54:00 -08:00
758aef4db9 [fine] Get rid of "value required", it's not useful 2024-01-06 07:27:44 -08:00
a9c1b04920 [fine] Tests for type errors
WHEEEEEEE!
2024-01-05 19:29:45 -08:00
618e0028d3 [fine] Type testing with probes and reporting
I'm proud of the test harness here actually. Also fix a bug in
checking!
2024-01-05 17:10:15 -08:00
c0f40aa512 [fine] Type checking bones 2024-01-05 14:59:48 -08:00
f203da328b [fine] Tests for conditional, semicolon optional at end of block
Just like rust, ';' means "discard this value".
2024-01-04 19:47:44 -08:00
26871aa9ae [fine] Automatic rebase support for CST 2024-01-04 19:42:51 -08:00
1f6d7ec131 [fine] Dump CSTs and an example zoo 2024-01-04 13:25:17 -08:00