Commit Graph

444 Commits

Author SHA1 Message Date
Aymeric Fromherz
bb57abf750 Negative tests for array length encoding 2022-03-16 11:23:36 +01:00
Aymeric Fromherz
123541dc34 Add positive test for array length 2022-03-16 11:21:54 +01:00
Denis Merigoux
5ce85b40b2
Added all packages to be installed 2022-03-07 12:02:03 +01:00
Denis Merigoux
23766e34a9
More negative tests 2022-03-07 11:55:26 +01:00
Denis Merigoux
f6de45416c
Cycle test 2022-03-06 17:34:51 +01:00
Denis Merigoux
94c1874500
Subscope test 2022-03-06 17:28:58 +01:00
Denis Merigoux
8167d7ee00
Simple tests 2022-03-06 17:13:40 +01:00
Denis Merigoux
eb7f00f56d
Syntax: parser and highlighting 2022-02-28 14:33:07 +01:00
Denis Merigoux
756e7cb9b2
Merge branch 'master' into alain_default-option 2022-02-24 16:41:35 +01:00
Aymeric Fromherz
f5a3a19a09 [Z3 encoding]: Add negative tests for rationals 2022-02-19 02:02:48 +01:00
Aymeric Fromherz
1dc1d6a3b8 Good test for rationals 2022-02-19 02:00:46 +01:00
Aymeric Fromherz
56e3720699 Add unit tests for TUnit 2022-02-17 18:42:22 +01:00
Denis Merigoux
69a7465339
Merge branch 'master' into alain_default-option 2022-02-14 12:09:11 +01:00
Denis Merigoux
a56d9f674a
visibility -> io 2022-02-14 10:17:41 +01:00
Denis Merigoux
e1dc36f1b1
Merge branch 'master' into io-qualifiers-112-part-2 2022-02-10 22:59:37 +01:00
Denis Merigoux
5004929a51
Fix #193 -- authored with @R1kM
Moved no model generation flag
Fixed bug for VC generation in the IfThenElse case
2022-02-10 16:49:01 +01:00
Denis Merigoux
e4be116ded
Add negative tests 2022-02-09 17:22:04 +01:00
Denis Merigoux
36bc25a3ce
Update assets 2022-02-09 16:09:28 +01:00
Denis Merigoux
a8733e6a61
Fix tests [skip ci] 2022-02-09 15:56:57 +01:00
Denis Merigoux
cb04ef3f9d
OnlyInput variables nore more thunked 2022-02-09 15:34:13 +01:00
Denis Merigoux
30061b8c86
Better encoding of inputs [skip ci] 2022-02-09 11:37:52 +01:00
Denis Merigoux
1c4a0bdd5d
Updated all examples with input/output decorations [skip ci] 2022-02-07 18:18:23 +01:00
Denis Merigoux
2263dd7dab
Update syntax highlighting and test suite [skip ci] 2022-02-07 12:04:48 +01:00
Denis Merigoux
f4200bb638
Dcalc encoding good, missing error messages for bad cases 2022-02-06 18:52:18 +01:00
Denis Merigoux
72274057cd
Better Dcalc printing 2022-02-06 18:25:37 +01:00
Denis Merigoux
6601585b77
First test passing, awaiting rest of features
(subscopes, etc.)
2022-02-05 00:04:19 +01:00
Denis Merigoux
45fe92be62
Update syntax highlighting 2022-02-04 23:10:29 +01:00
Denis Merigoux
5962b23f93
Restore CI 2022-02-04 15:45:27 +01:00
Denis Merigoux
97f8875a39
Merge branch 'master' into alain_default-option 2022-02-04 15:35:52 +01:00
Denis Merigoux
11d4a34783
Better printing, tests, fix parser ommission 2022-02-04 15:10:47 +01:00
Denis Merigoux
d8c120bf97
Propagate visibility down, missing handling in scope_to_dcalc 2022-02-04 14:41:22 +01:00
Denis Merigoux
73ce2f142f
Fixed last bug around rule refactoring 2022-01-31 13:55:25 +01:00
Denis Merigoux
13b476d0a1
[skip ci] reorganized desugared to scope encoding, broke some invariants
WIP: fixed some bugs and provided documentations but one thing missing
2022-01-28 17:31:31 +01:00
Denis Merigoux
5e253ba321
Disabling exact counterexamples values from CI testing because of randomness 2022-01-26 16:24:09 +01:00
Aymeric Fromherz
661b30f638 Add bad tests for date_get_year 2022-01-17 15:05:06 +01:00
Aymeric Fromherz
c7fd00702a Fix good get year test + reset [skip ci] 2022-01-17 15:04:05 +01:00
Aymeric Fromherz
cf63e4f3d3 Restore pretty-printing of enum model [skip ci] 2022-01-14 21:10:34 +01:00
Aymeric Fromherz
271d20dcaf todo outputs for bad struct tests [skip ci] 2022-01-14 20:42:06 +01:00
Aymeric Fromherz
ede73501d6 Add bad struct tests [skip ci] 2022-01-14 20:41:03 +01:00
Aymeric Fromherz
8b1c2d0891 reset test [skip ci] 2022-01-14 20:38:11 +01:00
Aymeric Fromherz
9684e14b1b reset tests [skip ci] 2022-01-14 19:24:20 +01:00
Aymeric Fromherz
a128a188ee reset [skip ci] 2022-01-14 19:05:58 +01:00
Aymeric Fromherz
9727acc788 more tests [skip ci] 2022-01-14 19:04:23 +01:00
Aymeric Fromherz
38b4912161 Reset test [skip ci] 2022-01-14 19:02:59 +01:00
Aymeric Fromherz
867fc46515 Add more complex enum test [skip ci] 2022-01-14 19:01:23 +01:00
Aymeric Fromherz
cc026e35b3 Add negative tests for enums 2022-01-14 18:37:32 +01:00
Aymeric Fromherz
d7563c229e Reset test [skip ci] 2022-01-14 18:34:58 +01:00
Denis Merigoux
08591fd178
Add link to demo 2022-01-14 16:52:30 +01:00
Aymeric Fromherz
7ca0ca4012 Reset bad dates examples with expected outputs [skip ci] 2022-01-14 02:09:20 +01:00
Aymeric Fromherz
59e36d2750 Reset good dates simple test [skip ci] 2022-01-14 01:56:07 +01:00
Aymeric Fromherz
c8be75ca75 Z3encoding: Add bad tests related to dates [skip ci] 2022-01-13 20:28:28 +01:00
Aymeric Fromherz
52f33aa1ae Fix good date example [skip ci] 2022-01-13 20:25:16 +01:00
Aymeric Fromherz
a6c88b103f Reset bad money tests [skip ci] 2022-01-13 20:13:12 +01:00
Aymeric Fromherz
28935c689d Reset good money test [skip ci] 2022-01-13 20:12:28 +01:00
Aymeric Fromherz
a15fb872ef Fix money tests [skip ci] 2022-01-13 20:11:42 +01:00
Aymeric Fromherz
69e34b4ae7 Negative tests for money [skip ci] 2022-01-13 19:34:34 +01:00
Denis Merigoux
428ae95c62
[skip ci] Added a walkthrough example for ProLaLa + tweaked tests output order of vcs 2022-01-13 16:58:43 +01:00
Denis Merigoux
496775b148
Dates and money tests 2022-01-13 16:20:43 +01:00
Denis Merigoux
bf444f548f
Error message pretty-printing and sat solving example [skip ci] 2022-01-13 10:46:23 +01:00
Aymeric Fromherz
c0a8362fd9 [skip ci] Z3 encoding: update last missing examples with TODOs 2022-01-12 19:19:42 +01:00
Aymeric Fromherz
d6205369bb [skip ci] reset bad proof tests 2022-01-12 19:09:50 +01:00
Aymeric Fromherz
ad974b16d6 [skip ci] reset bad proof test 2022-01-12 18:17:25 +01:00
Aymeric Fromherz
47032e058a [skip ci] reset bad proof test 2022-01-12 18:16:46 +01:00
Aymeric Fromherz
1241f332d5 [skip ci] proof platform: functions good test now passing 2022-01-12 17:38:49 +01:00
Denis Merigoux
78b1fe08f4
[skip ci] Always name of the variable on the left 2022-01-12 16:56:05 +01:00
Denis Merigoux
6d06f9c81c
Prettified error messages 2022-01-12 16:50:10 +01:00
Aymeric Fromherz
5cb55e16fb [skip ci] more minor test resets 2022-01-12 15:06:46 +01:00
Aymeric Fromherz
157aab06f4 [skip ci] reset second bad test for proof platform 2022-01-12 15:01:45 +01:00
Denis Merigoux
1bf3748283
Fix Makefiles and relative paths [skip ci] 2022-01-12 15:00:53 +01:00
Denis Merigoux
48c7be32eb
Launch clerk from correct directory to have the correct error messages 2022-01-12 14:51:27 +01:00
Aymeric Fromherz
5f28db6e74 Add output for bad proof test 2022-01-12 14:51:19 +01:00
Aymeric Fromherz
1d3bd4a914 [skip ci] reset working good tests with new output 2022-01-12 14:47:09 +01:00
Alain
de6f943c9c more basic bad examples 2022-01-12 09:41:03 +01:00
Alain
659c09b585 added a test 2022-01-12 08:19:58 +01:00
Denis Merigoux
260959b088
Formatting + correct expected tests output 2022-01-11 18:33:45 +01:00
Aymeric Fromherz
b7e11e79b9 record correct simple_vars 2022-01-11 18:04:10 +01:00
Aymeric Fromherz
5cd1d6f488 Record expected output for no_vars.catala_en 2022-01-11 18:01:50 +01:00
Denis Merigoux
83bdd0b632
Test base for verification conditions encoding 2022-01-11 16:13:34 +01:00
Denis Merigoux
fa8803e297
Bad quoting for catala compiler options 2022-01-11 13:05:04 +01:00
Denis Merigoux
b2a5551961
Test folders, nice doc and messages 2022-01-11 12:51:34 +01:00
Denis Merigoux
7fc37f9af8
Added controls for Dcalc and Scopelang 2022-01-11 11:25:41 +01:00
Denis Merigoux
a963a01f60
Unit tests for examples now use clerk 2022-01-11 10:42:12 +01:00
Denis Merigoux
7a00d166f9
Update documentation for unit tests 2022-01-10 18:45:02 +01:00
Denis Merigoux
0f54f1d2ac
Ability to reset tests 2022-01-10 18:35:41 +01:00
Denis Merigoux
2b6e7c8b98
Working prototype of clerk, the new build system for Catala 2022-01-10 17:57:58 +01:00
Denis Merigoux
909e539cdc
Fixed all bugs 2022-01-05 15:57:18 +01:00
Denis Merigoux
82c09ee455
Fixed a bug [skip ci] 2022-01-05 15:37:34 +01:00
Denis Merigoux
e9d54e120d
Changed label scoping from scope to scope definition key [skip ci] 2022-01-03 18:39:59 +01:00
Denis Merigoux
3f41156282
Motivaing example [skip-ci] 2022-01-03 11:18:35 +01:00
Denis Merigoux
dde455c560
Merge branch 'master' into grouped_exceptions 2021-11-28 13:19:00 +01:00
Denis Merigoux
07167ee911
Better error message 2021-11-28 13:16:55 +01:00
Denis Merigoux
4137641c8c
Better error message 2021-11-28 13:16:21 +01:00
Denis Merigoux
d1b75b047b
Give a name to every rule and def, label or not 2021-11-28 13:09:44 +01:00
Denis Merigoux
d2ae2d72ee
Error when duplicate labels 2021-11-28 12:28:55 +01:00
Denis Merigoux
166baf42af
Error when duplicate labels 2021-11-28 12:28:30 +01:00
Denis Merigoux
8c0694ba15
Fixes #101 2021-11-12 09:43:23 +01:00
Denis Merigoux
56baf91923
Remove prefixes to each line in messages, keep only first line 2021-11-06 23:04:12 +01:00
Emile Rolley
9aaa614410 refactor(parser): add the new catala-metadata markup 2021-10-01 10:01:25 +02:00
Denis Merigoux
b72d8e09ee
Restore typechecking version of CGI example 2021-09-28 12:01:08 +02:00
EmileRolley
6169d19b1e feat(compiler): add collection concatenation operator 2021-07-08 16:27:46 +02:00
Denis Merigoux
bbd50747d9
Big renaming and dir reorg 2021-06-21 11:39:06 +02:00
EmileRolley
1597f43a1a refactor(compiler): unreachable match case error change to warning 2021-06-03 16:43:04 +02:00
EmileRolley
3c385e41a6 fix(tests): replace wildcard keyword with the right syntax 2021-06-03 15:47:07 +02:00
EmileRolley
5060565ed2 fix: update all syntax highlighting in order to match widlcard keywords 2021-06-03 15:33:40 +02:00
EmileRolley
ed51544a10 feat(compiler): improve error messages for not ending wildcards 2021-06-03 12:24:12 +02:00
EmileRolley
846c85a9a6 test(compiler): add unit tests for wildcard in patterns 2021-06-03 12:24:12 +02:00
EmileRolley
71d92aeef1 feat(compiler): start to add wildcard in patterns 2021-06-03 12:24:12 +02:00
EmileRolley
be90d61dc1 fix(compiler): refactor and fix the duration division operator evaluation 2021-05-31 10:42:20 +02:00
EmileRolley
4e53358fd6 feat(compiler): add the Runtime.IndivisableDurations exception handling 2021-05-31 10:26:51 +02:00
EmileRolley
1572244e2d fix(tests): add test case for the good utilisation of the duration division operator 2021-05-31 10:26:51 +02:00
EmileRolley
4e84f424eb feat(compiler): start to add the duration division operator 2021-05-31 10:26:51 +02:00
EmileRolley
f907431504 refactor(compiler): factorize the UncomparableDurations exception managment in Dcalc.interpreter + add unit tests 2021-05-29 20:17:22 +02:00
EmileRolley
31f1c13763 fix(compiler)!: fix the Division_by_zero managment in Dcalc.interpreter 2021-05-29 18:56:20 +02:00
EmileRolley
27bd227079 fix(tests): update the .run rule in order to manage all catala file extensions 2021-05-29 18:54:00 +02:00
EmileRolley
ec43e82d09 docs(test): update the README.md 2021-05-26 21:57:51 +02:00
EmileRolley
0ffbb9b266 refactor(tests)!: migrate test file from the abbreviated syntax to the english one 2021-05-26 21:16:29 +02:00
EmileRolley
75570864d2 fix(tests): update the .in rule fo the Makefile in order to manage all catala extensions 2021-05-26 18:19:33 +02:00
EmileRolley
866a29a643 feat(lexer): improve grave accent lexing outside code blocks 2021-05-24 23:04:43 +02:00
EmileRolley
4e168eff64 feat(lexer): update the polish lexer to support grave accent outside code blocks 2021-05-24 16:23:45 +02:00
EmileRolley
d00ba4740f feat(tests): modify the .out rule of the Makefile in order to manage other input file syntax than the abbrieviated one 2021-05-24 15:54:27 +02:00
EmileRolley
c317332218 tests(lexer): add tests for the literate programming 2021-05-24 15:54:27 +02:00
EmileRolley
4e6e532ce8 feat(lexer): allows to use '`' inside law text 2021-05-24 15:54:27 +02:00
Denis Merigoux
3c8d187be0
Big refactoring of the literate programming structure
Partially fixes #120
Removes the distinction between headers and articles, streamlines the surface AST
Changes affects lexers and parser
2021-05-15 01:16:08 +02:00
Denis Merigoux
147e35083e
Point directly to executable instead of dune exec 2021-05-14 18:44:06 +02:00
Denis Merigoux
d69f1a4a39
Fixes #107 2021-04-29 17:46:56 +02:00
Denis Merigoux
33f781c3b5 Update tests with better error message 2021-04-03 19:35:59 +02:00
Denis Merigoux
c4fc0ff622
Merge branch 'master' into xor 2021-03-19 16:23:35 +01:00
Denis Merigoux
896a83db4a
Fix test output 2021-03-17 19:43:36 +01:00
EmileRolley
8f9ec2b623 fix: update all ASTs and the interpreter in order to support the 'xor' operand 2021-03-16 20:34:03 +01:00
EmileRolley
f507620462 feat(catala_nv): add the xor operator 2021-03-16 18:34:59 +01:00
EmileRolley
b40abce52f refactor(tests): change the date format to ISO 2021-03-16 12:10:33 +01:00
Denis Merigoux
d26bef400b
Fix #47 2021-03-12 17:07:25 +01:00
EmileRolley
3f88dbe2ae fix(tests): modify some of the expected test outputs because of removed trailling whitespaces 2021-03-09 22:08:55 +01:00
EmileRolley
c0a9344eca refactor(tests): update tests based on the abbreviated english lexer 2021-03-09 22:07:31 +01:00
Denis Merigoux
3dcba2fede Speed up compilation using batch let bindings 2021-02-01 23:35:15 +01:00
Denis Merigoux
5c5dbc542f Js version of Allocations familiales 2021-02-01 20:09:16 +01:00
Denis Merigoux
d88ccc38f6 Switched scope functions input to struct instead of many arguments 2021-02-01 15:57:19 +01:00
Aymeric Fromherz
fec4334b49 Allow fully qualified enum names in matches 2021-01-26 11:41:20 -05:00
Aymeric Fromherz
2e71cc503c Fix typo in grammar 2021-01-26 10:47:48 -05:00
Aymeric Fromherz
f154ec15ad Add support for fully qualified enum elements 2021-01-26 10:38:10 -05:00
Aymeric Fromherz
e1ac9564c2 Add a few tests for fully qualified struct accesses 2021-01-25 23:08:30 -05:00
Aymeric Fromherz
ec1695e41e Add failing test for ambiguous struct fields 2021-01-25 22:31:48 -05:00
Aymeric Fromherz
736f74d4f0 README 2021-01-25 01:17:43 -05:00
Aymeric Fromherz
ba03d2db78 Move tests to appropriate folders 2021-01-25 01:16:46 -05:00
Aymeric Fromherz
2bc56f5c92 Modify Makefile to have output folder in subdirectory of good or bad 2021-01-25 01:09:51 -05:00
Aymeric Fromherz
e63bdf0634 More precise pattern matching when looking for source file in test framework 2021-01-23 20:57:31 -05:00
Aymeric Fromherz
5823c2ec3f update test README 2021-01-23 20:51:30 -05:00
Aymeric Fromherz
483400ea19 Move tests to their appropriate directory 2021-01-23 20:49:17 -05:00
Aymeric Fromherz
20d4a8ed6f Change tests Makefile to separate between good and bad tests 2021-01-23 20:26:10 -05:00
Aymeric Fromherz
339b6174d2 Add test for unlabeled exceptions in different code blocks 2021-01-21 23:48:08 -05:00
Aymeric Fromherz
216bd87991 Improve unlabeled exceptions: Default definitions and unlabeled exceptions in the same scope can now be defined in different code blocks 2021-01-21 23:47:48 -05:00
Denis Merigoux
d486494177 Merge branch 'master' into visitors_and_positions 2021-01-21 21:10:22 +01:00
Aymeric Fromherz
6f64e4411e Add tests for unlabeled exceptions + better error message when there is no default definition 2021-01-21 00:15:37 -05:00
Denis Merigoux
3e57fe0276 Enhanced log with explanations of which definition is taken 2021-01-20 19:58:48 +01:00
Denis Merigoux
4d1d3a2e1c Reset tests 2021-01-20 19:21:02 +01:00
Denis Merigoux
19a6a171bd Fixes #65 2021-01-18 16:21:55 +01:00
Denis Merigoux
a6338c3a9c Typos 2021-01-16 18:06:22 +01:00
Denis Merigoux
c562cc25be Fixed date/month US inversion 2021-01-14 13:13:32 +01:00
Denis Merigoux
852a6412eb Changed odate to calendarLib 2021-01-14 13:04:15 +01:00
Denis Merigoux
267baea28d Fixes #58 2021-01-14 00:17:24 +01:00
Denis Merigoux
6787d5b882 Fixes the exception tree building algorithm 2021-01-13 19:07:35 +01:00
Denis Merigoux
44d7b616a4 Improve type error messages 2021-01-13 12:04:14 +01:00
Denis Merigoux
ea117d1816 Added exceptions tests 2021-01-11 15:29:02 +01:00
Denis Merigoux
e5c6a196e2 Added filter and map operators 2021-01-10 18:11:46 +01:00
Denis Merigoux
f51d8833c7 Implement argmin and argmax 2021-01-10 17:07:41 +01:00
Denis Merigoux
9c795b5010 Fixed typing error 2021-01-06 18:42:22 +01:00
Nicolas Chataing
5aa0e391ff Add a fail test 2021-01-06 17:23:58 +01:00
Nicolas Chataing
5038b75da1 Implement quick pattern check desugaring 2021-01-06 17:04:46 +01:00
Nicolas Chataing
c4d6220240 Handle extrema operators on collections 2021-01-06 12:41:24 +01:00
Denis Merigoux
8f2811b66f Changed output formatting 2020-12-31 00:32:17 +01:00
Denis Merigoux
89fe5878b0 Various small fixings 2020-12-30 12:02:09 +01:00
Denis Merigoux
be9e7e2a1e Added collection length and mem test 2020-12-30 11:50:19 +01:00
Denis Merigoux
2cfb348274 Debugged unification and typing 2020-12-30 01:13:28 +01:00
Denis Merigoux
7318b51e25 Debugging unification... 2020-12-30 01:02:04 +01:00
Denis Merigoux
5f58e93c6e Implemented all aggregate desugaring 2020-12-29 23:43:00 +01:00
Denis Merigoux
a37357bb56 Array type is beginning to work 2020-12-29 22:26:10 +01:00
Denis Merigoux
2068a6ffe4 Better test suite terminal output 2020-12-21 16:15:42 +01:00
Denis Merigoux
ea1611cd41 Flipped defaults to an exception-based structured 2020-12-18 15:59:15 +01:00
Denis Merigoux
f1b1ef7992 Update test result 2020-12-17 20:13:19 +01:00
Denis Merigoux
f282d9586b Improved readmes 2020-12-14 10:59:15 +01:00
Denis Merigoux
ebf14f6121 Added assertions, starting to execute section132 2020-12-10 18:11:43 +01:00
Denis Merigoux
a195a64677 Duration is number of days 2020-12-10 14:00:00 +01:00
Denis Merigoux
540057fe27 Updated parser error and some test 2020-12-10 11:53:55 +01:00
Denis Merigoux
5004ee12d2 Added duration literals but comparison buggy 2020-12-10 11:51:50 +01:00
Denis Merigoux
902c3f8d7d Added date and durations handling 2020-12-10 11:35:56 +01:00
Denis Merigoux
a4916208ba amount -> money 2020-12-10 09:35:36 +01:00
Denis Merigoux
159901b993 Performing nearest rounding for money multiplication 2020-12-09 18:14:52 +01:00
Denis Merigoux
45684e124c Better test harness and doc 2020-12-09 17:31:42 +01:00
Denis Merigoux
5deee89562 Run tests in paralell 2020-12-09 17:09:43 +01:00
Denis Merigoux
fe130f90c7 Update simple test 2020-12-09 16:51:03 +01:00
Denis Merigoux
b0b231b38a Handles infinite precision 2020-12-09 16:45:23 +01:00
Denis Merigoux
be563a24f6 Defined operators for dec and money 2020-12-09 14:51:22 +01:00
Denis Merigoux
ae05498049 Added support for decimals 2020-12-09 12:20:20 +01:00
Denis Merigoux
170bd7685f Added error when a scope variable evaluates to empty 2020-12-09 11:23:03 +01:00
Denis Merigoux
5ff7d78a9e Fixed various edge cases of enums 2020-12-09 10:36:09 +01:00
Denis Merigoux
5abb73157f Fix content/type lexer issue in nv 2020-12-06 18:09:48 +01:00
Denis Merigoux
15247aa28a Pass simple test with enums 2020-12-06 17:56:06 +01:00
Denis Merigoux
4da1c7f9c8 Implmemented enum desugaring but parser error 2020-12-06 17:48:15 +01:00
Denis Merigoux
9170630a6e Added better test 2020-12-06 13:00:38 +01:00
Denis Merigoux
ee0cb1eefc Preventing recursive type definitions 2020-12-06 12:32:36 +01:00
Denis Merigoux
8abe20849d Passing simple test 2020-12-06 11:42:47 +01:00
Denis Merigoux
70aa8ae2c1 Simple struct test passing 2020-12-05 17:27:08 +01:00
Denis Merigoux
0f853909ef Implemented name resolution 2020-12-04 18:02:49 +01:00
Denis Merigoux
7e674fa69d Tabs to spaces 2020-12-04 15:14:29 +01:00
Denis Merigoux
43829d65a6 Added more tests 2020-12-03 18:59:14 +01:00
Denis Merigoux
3d48effb17 Fix all tests 2020-11-27 19:09:16 +01:00
Denis Merigoux
4599403d22 Changed error message 2020-11-27 19:04:57 +01:00
Denis Merigoux
94f47b3ac4 Changed error message 2020-11-27 19:04:22 +01:00
Denis Merigoux
80ef321123 Better func test 2020-11-27 19:00:08 +01:00
Denis Merigoux
180d56df13 Better error messages 2020-11-27 18:36:38 +01:00
Denis Merigoux
ae1c2c6e02 Passing all tests! 2020-11-27 17:21:37 +01:00
Denis Merigoux
0443221e8b Fixed functions 2020-11-27 16:27:10 +01:00
Denis Merigoux
64cf1fd7cd Test without func now pass! 2020-11-27 11:54:22 +01:00
Denis Merigoux
341ee710d8 Fixed translation bug 2020-11-27 11:37:21 +01:00
Denis Merigoux
453c3afc91 Another example passing 2020-11-26 16:32:52 +01:00
Denis Merigoux
4a181ab4b7 First test passing 2020-11-26 16:22:08 +01:00
Denis Merigoux
69f0751037 Translate and typechecking simple exemple 2020-11-26 15:48:26 +01:00
Denis Merigoux
d3fe18aa18 Pretty-printing, fixing bugs in scope_to_dcalc 2020-11-26 13:38:42 +01:00
Denis Merigoux
cdfa9038cf Literate programming AST now tree-shaped 2020-10-04 01:25:37 +02:00
Denis Merigoux
3291d108ec Bugfixing 2020-09-13 18:48:35 +02:00
Denis Merigoux
f014c589ca Completely rewrote interpreter, builds 2020-09-13 18:15:57 +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
70c6a833e2 Add function test 2020-08-06 20:59:25 +02:00
Nicolas Chataing
974769c013 Fix bug in the interpreter 2020-08-05 11:06:20 +02:00
Nicolas Chataing
623abf1a4e Change ~= to |= for the programmative style 2020-08-04 12:38:49 +02:00
Nicolas Chataing
60aa306a3f Code cleanup 2020-08-04 12:16:28 +02:00
Nicolas Chataing
e2879cc68d Rewrite tests with programmative style 2020-08-04 10:30:35 +02:00
Nicolas Chataing
94ab2f4147 Change test to match programmative style 2020-08-04 08:11:23 +02:00
Nicolas Chataing
84835b0a79 Add non verbose lexing 2020-08-03 18:07:09 +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
b487a5806c Add scope language printing and tests to check the first pass 2020-07-21 14:04:16 +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
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
0f84f6b137 Reorganize tests folder 2020-06-09 18:57:13 +02:00