Commit Graph

225 Commits

Author SHA1 Message Date
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