Commit Graph

3491 Commits

Author SHA1 Message Date
Louis Gesbert
e8cab5e505
Improve unused scope variable detection (#472) 2023-06-05 10:50:50 +02:00
Denis Merigoux
6b7e927294 Update assets 2023-06-03 18:09:32 +02:00
Denis Merigoux
d1a836c646 Removing less precise message 2023-06-03 18:04:41 +02:00
Denis Merigoux
09bcefbcc1 Update tests 2023-06-03 18:02:57 +02:00
Denis Merigoux
91ee1122f6 Last typo 2023-06-03 15:32:38 +02:00
Denis Merigoux
79801292e9
Fix most doc errors 2023-06-02 17:17:45 +02:00
Denis Merigoux
ddee094783
Fix CI 2023-06-02 15:41:27 +02:00
Louis Gesbert
17414808ce
Improve compiler messages dev interface (#470) 2023-06-02 11:45:10 +02:00
Denis Merigoux
5d765676b5 Format rather than print 2023-06-02 10:58:03 +02:00
Denis Merigoux
579e66a500 Restore testing (formatting is better!) 2023-06-02 10:50:33 +02:00
Denis Merigoux
d1210cc0e4 The thing compiles 2023-06-02 10:50:33 +02:00
Denis Merigoux
4e6efe08da All renamings done, on with actual refactor 2023-06-02 10:50:33 +02:00
Denis Merigoux
5f227933f3 Errors are now things to refactor [skip ci] 2023-06-02 10:50:33 +02:00
Denis Merigoux
0faa97b8fc Abstract messages interface 2023-06-02 10:50:29 +02:00
Denis Merigoux
a4eb2bfc2b
Information about variable I/O in log events (#469) 2023-06-01 18:34:46 +02:00
Denis Merigoux
f7d8e924dd
Exclude rescript compiler from formatting 2023-06-01 17:45:33 +02:00
Denis Merigoux
4612920bf4
Merge branch 'master' into more_infos_in_logs 2023-06-01 17:38:41 +02:00
Denis Merigoux
9f52ad9148
Symlink... 2023-06-01 11:49:24 +02:00
Denis Merigoux
6feae765a0
We want python3... 2023-05-31 18:30:14 +02:00
Denis Merigoux
6942eafb3e
With repositories? 2023-05-31 18:25:17 +02:00
Denis Merigoux
45c43bd6b4
With sudo 2023-05-31 18:22:23 +02:00
Denis Merigoux
36d47adadf
Better fix 2023-05-31 18:20:25 +02:00
Denis Merigoux
52b119db58
Try fixing CI by puttin ninja as dependency 2023-05-31 17:51:01 +02:00
Denis Merigoux
27d2fd6bde
Update locks 2023-05-31 17:31:40 +02:00
Denis Merigoux
6b4693bb8b
Too much directory restriction 2023-05-30 14:06:52 +02:00
Denis Merigoux
94999dcc25
Correctly generate latex, nowrap option not working anymore? 2023-05-30 12:03:50 +02:00
Emile Rolley
2ded437e57 pkg(french-law/js): @catala-lang/french-lawv0.8.3-b.3 2023-05-29 13:03:50 +02:00
Emile Rolley
1ffc7a25df pkg(french_law/js): udpate package.json infos 2023-05-29 12:41:16 +02:00
Emile Rolley
16088a74ab pkg(rescript): @catala-lang/rescript-catala v0.8.1-b.0 2023-05-29 12:28:34 +02:00
Denis Merigoux
fa9f432e8b
Python runtime OK now 2023-05-26 17:08:26 +02:00
Denis Merigoux
8987d358e7
Implement the rest 2023-05-26 16:54:52 +02:00
Denis Merigoux
1f23f701bc
Move types 2023-05-26 16:03:26 +02:00
Denis Merigoux
6bc4cbd066
New SMIC value: Update assets 2023-05-25 18:48:23 +02:00
Emile Rolley
d1f15db070 publish(french_law/js): v0.8.1 2023-05-24 11:33:01 +02:00
Denis Merigoux
38081245b8
Really fix #466 2023-05-23 16:39:21 +02:00
Denis Merigoux
a00501fffa
Fix typo causing bad parsing 2023-05-23 15:39:41 +02:00
Denis Merigoux
e092679b75
Fixing #466 by reversing exception precedence 2023-05-23 14:12:26 +02:00
Denis Merigoux
5e6bf897a6
Improve AST markings (#467) 2023-05-23 11:11:14 +02:00
Louis Gesbert
209be6b758 Improve integration of marks into the main AST
Two interdependent changes here:
1. Enforce all instances of Shared_ast.gexpr to use the generic type for marks.
   This makes the interfaces a tad simpler to manipulate: you now write
   `('a, 'm) gexpr` rather than `('a, 'm mark) gexpr`.
2. Define a polymorphic `Custom` mark case for use by pass-specific annotations.
   And leverage this in the typing module
2023-05-17 17:37:00 +02:00
Louis Gesbert
fc531777c0 Rework and normalise the Marked interface
The module is renamed to `Mark`, and functions renamed to avoid redundancy:

`Marked.mark` is now `Mark.add`
`Marked.unmark` is now `Mark.remove`
`Marked.map_under_mark` is now simply `Mark.map`
etc.

`Marked.same_mark_as` is replaced by `Mark.copy`, but with the arguments
swapped (which seemed more convenient throughout)

Since a type `Mark.t` would indicate a mark, and to avoid confusion, the type
`Marked.t` is renamed to `Mark.ed` as a shorthand for `Mark.marked` ; this part
can easily be removed if that's too much quirkiness.
2023-05-17 17:37:00 +02:00
Louis Gesbert
558fcb6fef Build: remove unnecessary ppx on dcalc, lcalc
we only use `visitors` for positions on the surface AST
2023-05-17 14:08:32 +02:00
Louis Gesbert
ba52aae401 Cleanup: definitions.ml is not for values
A module without mli is ok as long as it only contains types

Here we already stretch it a bit with some functor applications, but having
toplevel values defeats the expectation that you can safely `open` this module.
2023-05-17 13:26:47 +02:00
adelaett
da04faf02f Update lock files 2023-05-15 00:24:34 +00:00
Denis Merigoux
9354c29fe4
Tweak .gitattributes 2023-05-11 11:36:26 +02:00
adelaett
028e9459bf Update lock files 2023-05-08 00:23:44 +00:00
Emile Rolley
86121308fe publish(runtimes/rescript): @catala-lang/rescript-catala v0.8.0 2023-05-07 15:13:22 +02:00
Emile Rolley
fa8ebd3b62 docs: update the generating website assets section from the INSTALL file 2023-05-07 15:13:22 +02:00
Emile Rolley
4637260b1e publish(french_law/js): @catala-lang/french-law 0.8.0 2023-05-07 15:13:22 +02:00
Emile Rolley
4935dd1280 build(assets): do not copy french_law.js anymore (use the @catala-lang/french-law instead) 2023-05-07 15:13:22 +02:00
Emile Rolley
16eaf63004 publish(french_law/js): @catala-lang/french-law v0.5.2
+ generate src/french_law.js with `make all` instead of `make generate-website-assets`
2023-05-07 15:13:22 +02:00