Commit Graph

346 Commits

Author SHA1 Message Date
Denis Merigoux
e54bce094c Localized files extensions, syntax highlighting for non-verbose which is now the defaul 2020-08-08 19:07:28 +02:00
Denis Merigoux
c97f9f4104 Fixed workflow 2020-08-08 18:34:27 +02:00
Denis Merigoux
0f43975182 Cleaned lexing code and rationalized non-verbose syntax 2020-08-08 18:32:44 +02:00
Denis Merigoux
df25d5d94d Automated test suite! 2020-08-07 17:37:28 +02:00
Denis Merigoux
03a7827dda Better error handling 2020-08-07 15:29:52 +02:00
Denis Merigoux
1b0da2404e Blue for spans! 2020-08-07 12:56:34 +02:00
Denis Merigoux
fd681078aa Restructured error handling 2020-08-07 12:51:51 +02:00
Denis Merigoux
351f1f4cc1 Improved error messages 2020-08-07 10:57:57 +02:00
Nicolas Chataing
80eac0d406
Merge pull request #25 from CatalaLang/func
Add function support
2020-08-06 21:04:30 +02:00
Nicolas Chataing
70c6a833e2 Add function test 2020-08-06 20:59:25 +02:00
Nicolas Chataing
785685a9f7 Add function support 2020-08-06 20:57:19 +02:00
Nicolas Chataing
f801a164e6 Add option to execute scope; the command 'catala run -s S' executes scope S 2020-08-06 15:44:51 +02:00
Nicolas Chataing
67cedd7e4b [WIP] Add function to the language 2020-08-06 15:18:40 +02:00
Denis Merigoux
d162bbc9f0
Merge pull request #23 from jemsab/cgi-total-rule
Cgi total rule
2020-08-06 09:50:02 +02:00
jemsab
4d53dc2f9a Harmonize spelling of accented words 2020-08-05 20:54:35 +02:00
Nicolas Chataing
5b7314d830 Merge branch 'master' of github.com:CatalaLang/catala into master 2020-08-05 14:39:06 +02:00
Nicolas Chataing
e5fa84c55f Fix subscope merge back 2020-08-05 14:38:03 +02:00
Denis Merigoux
77c88e87f0 Error in doc comment 2020-08-05 12:24:07 +02:00
Nicolas Chataing
974769c013 Fix bug in the interpreter 2020-08-05 11:06:20 +02:00
Denis Merigoux
00286605dc
Merge pull request #22 from CatalaLang/proto
Prototype implementation featuring only the core default calculus and scope language
2020-08-04 15:02:49 +02:00
Nicolas Chataing
90e2442729 Migrate printing code into debug.ml 2020-08-04 13:25:48 +02:00
Nicolas Chataing
d93bdd2fca Show text for conflict errors 2020-08-04 12:53:43 +02:00
Nicolas Chataing
02813cf4ba Add position lookup for uids 2020-08-04 12:44:56 +02:00
Nicolas Chataing
623abf1a4e Change ~= to |= for the programmative style 2020-08-04 12:38:49 +02:00
Nicolas Chataing
32527855f0 Clean language options 2020-08-04 12:29:25 +02:00
Nicolas Chataing
60aa306a3f Code cleanup 2020-08-04 12:16:28 +02:00
Nicolas Chataing
a576682fac Change printing to show idents instead of uids 2020-08-04 10:54:17 +02:00
Nicolas Chataing
e2879cc68d Rewrite tests with programmative style 2020-08-04 10:30:35 +02:00
jemsab
264096b8de Define context for revenu net global calculation 2020-08-04 08:13:07 +02:00
Nicolas Chataing
94ab2f4147 Change test to match programmative style 2020-08-04 08:11:23 +02:00
Nicolas Chataing
4cfc3e11a3 Add basic error reporting for default conflicts 2020-08-04 08:10:44 +02:00
jemsab
866b6ec5e5 Add totalling rule to complete article 1A CGI 2020-08-04 07:54:41 +02:00
Nicolas Chataing
4dff48b09d Reformat ir files 2020-08-03 22:19:22 +02:00
Nicolas Chataing
e640be5151 Reformat some code 2020-08-03 22:03:05 +02:00
Nicolas Chataing
84835b0a79 Add non verbose lexing 2020-08-03 18:07:09 +02:00
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