Commit Graph

242 Commits

Author SHA1 Message Date
Denis Merigoux
716700c8be Merge branch 'master' into gen-parser-msgs 2021-02-17 10:45:43 +01:00
Denis Merigoux
2b1c28302a Update makefile rule 2021-02-12 18:56:36 +01:00
Louis Gesbert
c628b31d12 Generate parser.messages from dune
(and remove generated `parser_errors.ml` from git)
2021-02-12 18:28:22 +01:00
Louis Gesbert
edd94dcc0e Rename directories to match the names of the libraries they contain 2021-02-12 17:26:39 +01:00
Denis Merigoux
f2c4303f53 Update website assets make rules 2021-02-04 11:17:45 +01:00
Denis Merigoux
f685c9302f Added test suite for compiled code 2021-02-03 10:53:21 +01:00
Denis Merigoux
b3c8b49a3b Fixed typo 2021-02-01 22:42:58 +01:00
Denis Merigoux
c212a1e2f8 Fixed makefile 2021-02-01 20:24:50 +01:00
Denis Merigoux
5c5dbc542f Js version of Allocations familiales 2021-02-01 20:09:16 +01:00
Denis Merigoux
aed578d6df Dox fix 2021-01-30 18:00:49 +01:00
Denis Merigoux
647320d4aa Benchmark, randomness of inputs, bugs fixed 2021-01-30 17:54:05 +01:00
Denis Merigoux
313ca065f4 Benchmarked the result on allocations familiales, it is fast enough 2021-01-28 23:46:39 +01:00
Denis Merigoux
617d19df24 Improved OCaml backend, made dev loop 2021-01-28 18:30:01 +01:00
Denis Merigoux
a9d415b7b9 Added map visitors to surface AST 2021-01-20 16:27:39 +01:00
Denis Merigoux
a6338c3a9c Typos 2021-01-16 18:06:22 +01:00
Denis Merigoux
852a6412eb Changed odate to calendarLib 2021-01-14 13:04:15 +01:00
Denis Merigoux
8a2bf4e389 Better trace 2021-01-09 21:03:32 +01:00
Denis Merigoux
06803e4170 Fixed makefile and dune_porject 2021-01-05 14:35:04 +01:00
Denis Merigoux
f966fc87d0 Added web-compatible version of the Catala interpreter 2020-12-26 17:37:45 +01:00
James Barnes
f7bd47c38d Adapt general makefile for dual language tutorials 2020-12-24 11:37:11 +01:00
Denis Merigoux
dbfd990f95 Makefile tweaks 2020-12-21 18:26:01 +01:00
Denis Merigoux
293438ea38 Missing JS stubs 2020-12-21 18:15:53 +01:00
Denis Merigoux
73c19df068 Added the js_of_ocaml to the deps 2020-12-21 16:06:01 +01:00
Denis Merigoux
606b148c74 Lots of documentation 2020-12-21 16:02:00 +01:00
Denis Merigoux
e33ea8d55c Finished documentation 2020-12-14 18:09:38 +01:00
Denis Merigoux
8f8d322400 Fixed makefile wrangling 2020-12-10 18:21:48 +01:00
Denis Merigoux
ebf14f6121 Added assertions, starting to execute section132 2020-12-10 18:11:43 +01:00
Denis Merigoux
902c3f8d7d Added date and durations handling 2020-12-10 11:35:56 +01:00
Denis Merigoux
be563a24f6 Defined operators for dec and money 2020-12-09 14:51:22 +01:00
Denis Merigoux
0e7943b8f7 Fix makefile 2020-11-23 09:33:07 +01:00
Denis Merigoux
4c66a09895 Added bindlib as a dependency 2020-11-22 21:04:29 +01:00
Denis Merigoux
32800d3011 Added unionfind as a dependencu 2020-11-22 21:00:14 +01:00
Denis Merigoux
1d0517d5b8 Remove mentions to LegiFrance Catala 2020-10-04 13:02:50 +02:00
Denis Merigoux
cdfa9038cf Literate programming AST now tree-shaped 2020-10-04 01:25:37 +02:00
Denis Merigoux
0cda3ba819 Big renaming 2020-09-12 17:03:42 +02:00
Denis Merigoux
144b1e7d0d Added VSCode syntax highlighting! 2020-08-18 23:16:27 +02:00
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
df25d5d94d Automated test suite! 2020-08-07 17:37:28 +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
15c1df9fa7 Add ocamlgraph dependency in the Makefile 2020-08-03 16:41:51 +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
09d0aeeb57 Makefile should now build examples 2020-05-26 11:38:52 +02:00
Denis Merigoux
7018e2ab1d Transformed dummy example into real english example 2020-05-25 19:07:55 +02:00
Denis Merigoux
962109be36 Added doc generation to website assets 2020-05-23 17:39:16 +02:00
Denis Merigoux
cd9957b8c4 Add interface and doc to api.ml 2020-05-22 23:02:48 +02:00
Denis Merigoux
1ade06a8f9 Added beginning of tutorial 2020-05-17 18:53:54 +02:00
Denis Merigoux
f3aabf5287 Field -> Scope 2020-05-14 21:19:46 +02:00
Denis Merigoux
c03f2c27f5 More README 2020-05-13 14:53:53 +02:00
Denis Merigoux
ad14eb532d Fixed git submodule init dependency 2020-05-13 14:37:09 +02:00
Denis Merigoux
de3ddfe829 Added git submodule initialization as a dependency of pygments 2020-05-13 14:20:15 +02:00
Denis Merigoux
4f91e74cb5 Improved makefiles and doc 2020-05-13 14:17:41 +02:00
Denis Merigoux
e75b67ba99
Merge pull request #6 from kaepora/patch-1
Add missing dependency
2020-05-13 14:10:21 +02:00
Denis Merigoux
6eb681c5f1 Modified Makefile 2020-05-13 13:53:24 +02:00
Nadim Kobeissi
a7d2ff0cd8
Add missing dependency
Currently, ocamlformat is not installed by `make install-dependencies`, which leads to the following error while running `make build`:

```bash
~/Documents/git/catala master 2m 20s                       
❯ make build                                               
/Applications/Xcode.app/Contents/Developer/usr/bin/make -C src/catala/parsing parser_errors.ml                         
make[1]: `parser_errors.ml' is up to date.
dune build                                                                                                            
    ocamlopt src/legifrance_catala.exe                                                                                
ld: warning: directory not found for option '-L/opt/local/lib'                                                        
/Applications/Xcode.app/Contents/Developer/usr/bin/make format                                                        
dune build @fmt --auto-promote | true                                                                                 
Error: Program ocamlformat not found in the tree or in PATH                                                           
 (context: default)                                                                                                   
Done: 119/183 (jobs: 2)File "syntax_highlighting/fr/pygments/pygments/tests/examplefiles/test.re", line 1, characters 0-0:
Done: 120/183 (jobs: 2)File "syntax_highlighting/en/pygments/pygments/tests/examplefiles/test.re", line 1, characters 0-0:
         git (internal) (exit 1)                                                                                      
```

This pull request fixes this problem.
2020-05-13 13:09:39 +02:00
Denis Merigoux
d89c4f1bfb Better man page generation 2020-05-12 12:08:40 +02:00
Denis Merigoux
d243c562a4 Fixed surface ast with optional and collection type decorators 2020-05-07 09:40:09 +02:00
Denis Merigoux
0f4655be5d Correct file opening 2020-05-05 17:23:03 +02:00
Denis Merigoux
5a4458041f Properly generate HTML assets 2020-05-05 17:05:39 +02:00
Denis Merigoux
a982ec5f51 Added retrieval of whole decrets text from LegiFrance 2020-04-30 12:15:26 +02:00
Denis Merigoux
a2fd1a228a Fixed all syntax highlighting scripts 2020-04-27 09:57:13 +02:00
Denis Merigoux
bd9401c034 Added english atom syntax highlighting 2020-04-26 20:59:04 +02:00
Denis Merigoux
0ba61d9a0d Preparation for en version of syntax highlighting 2020-04-26 20:48:51 +02:00
Denis Merigoux
523ecd3b32 Added missing dune-build-info dep 2020-04-26 20:16:03 +02:00
Denis Merigoux
bc64b301fb Split dependencies rule 2020-04-26 18:42:42 +02:00
Denis Merigoux
6aaf51535a Missing dependency 2020-04-26 12:20:09 +02:00
Denis Merigoux
d0aad54e84 Completed machinery to enjoy custom parser error messages! 2020-04-25 19:22:53 +02:00
Denis Merigoux
c270c5fbab Removed optional condition on meta assertions 2020-04-25 14:21:26 +02:00
Denis Merigoux
6fd013d0d5 Produced token list in english! 2020-04-24 19:16:50 +02:00
Denis Merigoux
c6cbc00cc9 Rewrote custom diff
Not very optimized but does the job much better than the buggy OPAM package I was using
2020-04-23 11:13:27 +02:00
Denis Merigoux
0f5da2c27d Small changes and refactor 2020-04-22 19:16:06 +02:00
Denis Merigoux
4033b06e33 Added diffing with new version but still buggy 2020-04-22 15:42:09 +02:00
Denis Merigoux
8158d8cd35 Small API change 2020-04-22 14:39:32 +02:00
Denis Merigoux
aab7eb54a1 Begining to add LegiFrance API connection
Added attempt at article retrieval

New system
2020-04-21 19:22:42 +02:00
Denis Merigoux
5132478f87 At last a Makefile system that works 2020-04-20 19:37:16 +02:00
Denis Merigoux
6db3984a30 Fixed wrong dir 2020-04-20 09:07:12 +02:00
Denis Merigoux
a76a2a4622 Renaming, better Makefile factorization 2020-04-20 09:02:08 +02:00
Denis Merigoux
0584afb640 Local makefiles 2020-04-20 08:35:22 +02:00
Denis Merigoux
0977ae326e PDF now shows file location 2020-04-19 19:04:11 +02:00
Denis Merigoux
b57bb05325 Added Makefile automatic dependency discovering 2020-04-19 18:39:16 +02:00
Denis Merigoux
f3c8a9241d Added manual dependency 2020-04-19 16:30:18 +02:00
Denis Merigoux
d85de8e612 Split implem in multiple files 2020-04-19 16:30:13 +02:00
Denis Merigoux
c98c748d9d Added text fields 2020-04-17 15:53:23 +02:00
Denis Merigoux
d8c57ec28b More doc! 2020-04-17 15:12:11 +02:00
Denis Merigoux
72bf4d01cb Big refactoring, better pdf build reproducibility 2020-04-17 12:29:30 +02:00
Denis Merigoux
a9a10f0e7f Rename to Catala! 2020-04-16 18:42:37 +02:00
Denis Merigoux
f5c23d213a Up to R21-3 (not included 2020-04-13 18:57:24 +02:00
Denis Merigoux
cece7e9235 Remove old file 2020-04-11 15:36:40 +02:00
Denis Merigoux
f22be88a5f Update parser for rules 2020-04-03 22:34:11 +02:00
Denis Merigoux
90354f911d Added attempt at internal ast 2020-03-12 18:04:27 +01:00
Denis Merigoux
fed849201e Added proper syntax highlighting + Utf8 support complete! 2020-03-09 19:14:06 +01:00
Denis Merigoux
71e5d89fac Successfully weaved all text 2020-03-07 18:30:37 -08:00