Closed Earl-Wu closed 3 years ago
So I reviewed your pull requests and it has a number of merge conflicts. Some of them revolve around the fact that I reamed the type-checker
executable to sato
(and all associated .ml files), so you'd have to align the naming conventions. Others are due to the fact that I moved the test-sources
directory to be inside test
. So make sure that your tests work with the JSON-based test harness that I have in master (since I must've added that after you checked out your own branch).
on_ast.ml
: Added new constructors to the AST to include type declrationston_to_on.ml
: Program transformation code; this module will insert the corresponding checks to the natodefa code for sato to run checks onon_parser.mll
andon_lexer.mly
: Modified the lexer and parser to handle type declarations