catala/compiler
Louis Gesbert 5efa61a0ce Clerk: rewrite 'clerk runtest' to use the new lightweight lexer
* Obsolete code for included tests has been removed

* The engine uses a proper lexer and is much simplified

* An inline test in the middle of the file now only "sees" the file up to that
  point. This fixes an issue where we had spurious errors when a type error was
  added at the end of a file, and it would pop up in tests before it. This makes
  files including many tests much more practical.

* diffing and resetting the tests has been reintroduced (done at the moment in
  Ninja, but for more control (count number of failed tests, etc.) we could put it
  back into Clerk at some point

* The Catala CLI can now take an input from stdin (with the possibility to link
  a (possibly fake) on-disk file for error reporting and file locations ; this
  is useful for running tests)
2023-09-27 13:18:18 +02:00
..
catala_utils Clerk: rewrite 'clerk runtest' to use the new lightweight lexer 2023-09-27 13:18:18 +02:00
dcalc Improve handling of module name definitions 2023-09-27 13:14:03 +02:00
desugared Rework module includes CLI in Catala 2023-09-27 13:14:40 +02:00
lcalc Reformat 2023-09-27 13:14:38 +02:00
literate support for parsing Module directives 2023-09-27 13:08:11 +02:00
plugins Clerk: rewrite 'clerk runtest' to use the new lightweight lexer 2023-09-27 13:18:18 +02:00
scalc Reformat 2023-09-01 16:24:27 +02:00
scopelang Improve handling of module name definitions 2023-09-27 13:14:03 +02:00
shared_ast Clerk: rewrite 'clerk runtest' to use the new lightweight lexer 2023-09-27 13:18:18 +02:00
surface Clerk: rewrite 'clerk runtest' to use the new lightweight lexer 2023-09-27 13:18:18 +02:00
verification Reformat 2023-09-01 16:24:27 +02:00
catala_web_interpreter.ml Clerk: rewrite 'clerk runtest' to use the new lightweight lexer 2023-09-27 13:18:18 +02:00
catala.ml replace let _ by let () or add type annotation 2023-09-09 22:02:39 +02:00
driver.ml Clerk: rewrite 'clerk runtest' to use the new lightweight lexer 2023-09-27 13:18:18 +02:00
driver.mli Clerk: rewrite 'clerk runtest' to use the new lightweight lexer 2023-09-27 13:18:18 +02:00
dune Add an explain plugin 2023-07-11 17:33:56 +02:00
index.mld More doc 2023-06-18 16:08:16 +02:00
plugin.ml Improvements to searching for libs at runtime (plugins, runtime, etc.) 2023-09-04 09:57:49 +02:00
plugin.mli Refacter the main Driver module 2023-07-03 16:42:54 +02:00
tests.ml replace let _ by let () or add type annotation 2023-09-09 22:02:39 +02:00