Commit Graph

1099 Commits

Author SHA1 Message Date
Denis Merigoux
771bc83080
Added generated code as binary 2021-06-25 00:58:47 +02:00
Denis Merigoux
3d2f3497bc
Switch to benchmark 2021-06-25 00:56:08 +02:00
Denis Merigoux
03b44f5b15
Python backend debugged and tested 2021-06-25 00:47:12 +02:00
Denis Merigoux
e38dc4c728
Various bugfixing and improvements for the Python backend 2021-06-25 00:16:21 +02:00
Denis Merigoux
3f5027e5a5
Translation now typechecks 2021-06-24 22:55:27 +02:00
Denis Merigoux
95b34937a6
Switch to use Python enums as a tag for tagged unions 2021-06-24 21:55:20 +02:00
Denis Merigoux
fbf60b89bf
Fix lenght type mismatch 2021-06-24 21:32:09 +02:00
Denis Merigoux
b68b9b31a1
More sensible order for make all 2021-06-24 18:30:54 +02:00
Denis Merigoux
8b956bf4fa
Missing cd 2021-06-24 18:27:02 +02:00
Denis Merigoux
ccf2bba79f
Executable permission for env setup 2021-06-24 18:21:21 +02:00
Denis Merigoux
0481181f92
Put mypy typing under CI 2021-06-24 18:18:25 +02:00
Denis Merigoux
817b1785df
Python translation working but still buggy 2021-06-24 17:50:08 +02:00
Denis Merigoux
015776270d
Compilation passing from lcalc to scalc 2021-06-24 14:52:51 +02:00
Denis Merigoux
eb9c75f394
Making progress into translation 2021-06-23 17:47:34 +02:00
Denis Merigoux
46717b0440
Compiling blocks to SCalc 2021-06-22 18:16:47 +02:00
Denis Merigoux
1313183353
Defining a new intermediate representation 2021-06-22 16:01:57 +02:00
Denis Merigoux
fffd0ffb63
Working the way into the Python backend 2021-06-22 14:55:43 +02:00
Denis Merigoux
9ab32efcce
Added machinery for Python backend 2021-06-21 18:00:06 +02:00
Denis Merigoux
867126f8e4
Added module list for Python doc 2021-06-21 17:42:40 +02:00
Denis Merigoux
488baa9c5e
Wrap up runtime 2021-06-21 17:33:29 +02:00
Denis Merigoux
8c30e059a7
Add functions to runtime, doc setup 2021-06-21 16:51:02 +02:00
Denis Merigoux
db026c6720
Start to implement Python runtime 2021-06-21 12:31:46 +02:00
Denis Merigoux
392ca25093
Install JS dependencies correctly 2021-06-21 11:54:56 +02:00
Denis Merigoux
486e103713
Fix makefile typo 2021-06-21 11:49:15 +02:00
Denis Merigoux
917eaff0c3
Update CI rule 2021-06-21 11:44:04 +02:00
Denis Merigoux
bbd50747d9
Big renaming and dir reorg 2021-06-21 11:39:06 +02:00
Denis Merigoux
4ef0f660df
Fixes #134 2021-06-20 22:07:39 +02:00
Denis Merigoux
2cb8b39308
Merge pull request #133 from PhiSeb/patch-1
Fix atom fr syntax highlighting plugin
2021-06-10 09:45:24 +02:00
Sébastien Canu
2c36276a71
Fix atom fr syntax highlighting plugin 2021-06-09 22:07:37 +02:00
Denis Merigoux
4a81e688ad
Merge pull request #132 from EmileRolley/feat-localized-exn
Feat #115: annotate NoValueProvided exn with location informations
2021-06-09 10:06:28 +02:00
Denis Merigoux
f6cd16a7cb
Changed attributes of some files to binary 2021-06-09 00:27:39 +02:00
Denis Merigoux
2c13589223
Cosmetic changes 2021-06-09 00:21:06 +02:00
EmileRolley
caada540a8 syntax(compiler): misspelled function name 2021-06-08 20:23:54 +02:00
EmileRolley
d69b1b0ae5 docs(compiler): remove some @EmileRolley's notes 2021-06-08 20:18:19 +02:00
EmileRolley
727e9944c8 fix(french_law): add wildcard argument to NoValueProvided constructor inside src/french_law/bench.ml in order to compile 2021-06-08 20:12:25 +02:00
EmileRolley
e469854e86 refactor(compiler): revert #5042a006 for the Lcalc.Ast.NoValueProvided exn 2021-06-08 19:37:06 +02:00
EmileRolley
df578e78bc fix(french_law_js): update the generated .js file 2021-06-08 15:25:07 +02:00
EmileRolley
b2ca40bced fix(compiler): add wildcard argument to NoValueProvided in Lcalc.Print in order to compile 2021-06-08 15:11:05 +02:00
EmileRolley
fddf7c5930 refactor(build): add .ml as target for the clean rule of examples/Makefile.commom.mk 2021-06-08 15:09:17 +02:00
EmileRolley
5042a00620 feat(compiler): annotate the NoValueProvided exception with location 2021-06-08 15:06:07 +02:00
Denis Merigoux
95dc816070
Fix #118 for good 2021-06-05 16:54:11 +02:00
Denis Merigoux
113d6a1819
Merge pull request #131 from EmileRolley/fix-remove-catala-markers
Fix #118: remove code block delimiters in generated HTML files
2021-06-04 17:02:22 +02:00
EmileRolley
af0dbf4de4 fix(literate): remove unused regexp in html.ml 2021-06-04 16:44:49 +02:00
EmileRolley
a83fd6fcc3 feat(literate): code block delimiters are now removed after highlighting 2021-06-04 13:36:21 +02:00
EmileRolley
9cabfbd00a refactor(literate): use global function in order to compile an unique time regexps 2021-06-04 12:02:00 +02:00
EmileRolley
dcc38c101d feat(literate): remove code delimiters from produced HTML files 2021-06-04 12:00:59 +02:00
EmileRolley
089de75030 fix(examples): syntax error (tutorial_fr instead of tutoriel_fr) 2021-06-04 11:37:44 +02:00
Jonathan Protzenko
c423e8d39a Disable more warnings that show up in Catala-generated code 2021-06-03 14:49:30 -07:00
Denis Merigoux
144cca12a6
Merge pull request #129 from EmileRolley/wildcard_patterns
feat(compiler)!: add wildcard in patterns
2021-06-03 20:12:19 +02:00
EmileRolley
1597f43a1a refactor(compiler): unreachable match case error change to warning 2021-06-03 16:43:04 +02:00