Commit Graph

1261 Commits

Author SHA1 Message Date
Nicolas Chataing
15c1df9fa7 Add ocamlgraph dependency in the Makefile 2020-08-03 16:41:51 +02:00
Nicolas Chataing
37d01e6dab Add subscope interpretation. 2020-08-03 16:29:43 +02:00
Nicolas Chataing
803f5bc8d1 Rewrite test to be complete 2020-08-03 12:07:50 +02:00
Nicolas Chataing
ca5a9cda5d Completed interpretation for scopes with no subscopes 2020-08-03 12:07:12 +02:00
Nicolas Chataing
44af13cc3e [WIP] Add scheduling to the scopes 2020-08-03 11:03:25 +02:00
Nicolas Chataing
3f2ec831fb Add evaluation of a default term 2020-07-31 13:18:12 +02:00
Nicolas Chataing
b46bb01db7 [Not Tested] Add evaluation and substitution functions for the lambda calculus 2020-07-31 11:33:42 +02:00
Nicolas Chataing
ea94e3b705 Changed functions expressions to have list of arguments 2020-07-31 10:18:31 +02:00
Nicolas Chataing
f6618d4020 Add skeleton for the interpreter 2020-07-21 14:41:39 +02:00
Nicolas Chataing
b487a5806c Add scope language printing and tests to check the first pass 2020-07-21 14:04:16 +02:00
Nicolas Chataing
8ae0139126 Change context helper functions to handle errors 2020-07-19 21:41:23 +02:00
Nicolas Chataing
0bb22536b3 Add ast.prgm -> scope.prgm translation 2020-07-19 19:17:09 +02:00
Denis Merigoux
549ccacb01
Merge pull request #20 from jemsab/cgi
French Tax Code example
2020-07-17 21:25:43 +02:00
jemsab
189bfca0a6 Change name and type of data structures and variables 2020-07-17 16:59:51 +02:00
Nicolas Chataing
a8963ae546 Add yet another example 2020-07-17 11:52:21 +02:00
Nicolas Chataing
aecbc32d43 Add code to test context formation and some examples 2020-07-17 11:46:51 +02:00
Nicolas Chataing
31c8bdbc0f Fill skeleton for context formation 2020-07-16 14:46:40 +02:00
Nicolas Chataing
c57f0c608a Add dummy type to lambda terms 2020-07-16 14:18:01 +02:00
Nicolas Chataing
c4a47da720 Remove optional condition at subscope declaration 2020-07-16 13:56:21 +02:00
Nicolas Chataing
79c23cbf00 Add skeleton for context formation 2020-07-16 12:04:23 +02:00
Nicolas Chataing
3128442d24 Implement helper functions 2020-07-16 11:42:08 +02:00
Nicolas Chataing
18b1355c05 Add typing rule for functions 2020-07-15 21:31:41 +02:00
Nicolas Chataing
7c24604baa Separate typing and name resolution. Remove ECallerVar term 2020-07-15 17:47:16 +02:00
Nicolas Chataing
c9b3abb4bf Add function to translate an expression to a lambda term 2020-07-15 16:14:11 +02:00
jemsab
6aff67d9dd Follow naming convention of structures 2020-07-11 22:36:49 +02:00
jemsab
10db92ac66 Remove superfluous text annotations 2020-07-11 22:22:50 +02:00
jemsab
606de46ea0 Merge branch 'cgi' of github.com:jemsab/catala into cgi 2020-07-11 16:24:08 +02:00
jemsab
f2a33977eb Set directory for code_general_impots 2020-07-11 16:22:05 +02:00
jemsab
efeff8bbac Implement example article for French Tax Code (Code général des Impôts) 2020-07-11 16:22:05 +02:00
Denis Merigoux
1c8c50fec4
Merge pull request #21 from jemsab/typo
Fix typo
2020-07-06 12:02:34 +02:00
jemsab
42ea1bc1a4 Fix typo 2020-07-03 22:23:58 +02:00
jemsab
acb0de5de9 Set directory for code_general_impots 2020-07-03 22:15:54 +02:00
jemsab
cc6d48cb26 Implement example article for French Tax Code (Code général des Impôts) 2020-07-03 20:30:17 +02:00
Denis Merigoux
c51840019e Add surface syntax for struct literals
Closes #16
2020-06-30 23:15:14 +02:00
Nicolas Chataing
cfa7ae9585
Merge pull request #19 from CatalaLang/scopes
Rework of the syntax trees to match the formalization
2020-06-22 19:19:50 +02:00
Nicolas Chataing
2e20f5d28e Remove parameter from scope definitions 2020-06-22 19:05:36 +02:00
Nicolas Chataing
13b295b309 Corrected bug 2020-06-22 16:27:35 +02:00
Nicolas Chataing
aaa9eea427 Rework of the syntax trees 2020-06-22 16:16:55 +02:00
Denis Merigoux
2c90fe6a64 Notes of meeting 2020-06-11 18:17:18 +02:00
Denis Merigoux
0d2412bedd Another typo 2020-06-11 16:02:09 +02:00
Denis Merigoux
1cb6055e8b Typo 2020-06-11 16:00:08 +02:00
Denis Merigoux
1d506e1594 Added scopes test to see things more clearly 2020-06-11 15:58:54 +02:00
Nicolas Chataing
2d60c4a4d5
Merge pull request #18 from CatalaLang/bool_literals
Add boolean literals parsing
2020-06-09 19:04:47 +02:00
Nicolas Chataing
0f84f6b137 Reorganize tests folder 2020-06-09 18:57:13 +02:00
Nicolas Chataing
f8c8c51fdf Add boolean literals parsing 2020-06-09 17:13:25 +02:00
Denis Merigoux
cfd5a8924f Get scope context conditions right 2020-06-07 13:45:26 +02:00
Denis Merigoux
0d0e4459f7 Added condition context parameters 2020-06-07 13:28:13 +02:00
Denis Merigoux
03b019f102 More readmes 2020-06-02 10:26:30 +02:00
Denis Merigoux
4f8ec8191e Implemented section 1015 under Catala 2020-05-28 15:04:24 +02:00
Denis Merigoux
4daca51ee3 Updated README 2020-05-26 15:58:41 +02:00