Denis Merigoux
8d602d6bd2
Fix FR vscode syntax highlighting
2023-06-22 13:21:08 +02:00
Louis Gesbert
508992de33
Embed the Pygments Catala lexer
...
This enables the HTML output to work without a custom Pygments installation (or
the proper venv activated)
2023-03-13 14:41:24 +01:00
Denis Merigoux
f9e6542d8d
Fix French syntax hilighting for "résultat"
2023-03-03 15:26:59 +01:00
Louis Gesbert
a3b9045745
Update the cheat-sheet
...
- Add the new syntax for multi-argument functions
- Add the syntax for defining top-level values
- Increased font size and improved compacity
2023-03-02 17:00:14 +01:00
Louis Gesbert
cf2e80ba51
Refactor Python dependency handling
...
* Use the newer "pyproject.toml" for syntax highlighters
* Use venv for everything (previously, the pygment lexers were installed
globally, but more recent Python releases frown upon that. This will probably
be more stable in the long run...)
* Use one venv at the root of the project (`_python_venv/`) for both
pygments and the runtime
* Initialise this venv automatically from the Makefile (it should no longer be
necessary to run scattered `set_up.sh` scripts with mysterious interactions)
On the downsides, though:
* Only tested with Python 3.11 at the moment
* Need to remember to activate the venv (`. _python_venv/bin/activate`) from the
root for e.g. HTML literate output to work. A more manageable solution could
be for Catala to provide the lexers on-the-fly when calling `pygmentize`.
2023-03-02 16:24:53 +01:00
Denis Merigoux
76d5e44685
More man pages
2023-01-04 17:34:09 +01:00
Louis Gesbert
59f81b4002
Rework and update the cheat-sheet
...
and pygments syntax coloring
2022-12-19 16:05:02 +01:00
Denis Merigoux
755b1212a2
Remove division durations
2022-08-19 15:21:29 +02:00
Denis Merigoux
b8a5598d3c
Fix syntax highlighting for "let"
2022-08-11 11:46:45 +02:00
Louis Gesbert
f35f18b295
Add local 'let in' bindings
2022-08-09 12:17:31 +02:00
Louis Gesbert
19dbce895c
Shell scripts: POSIX + correct error reporting
2022-07-20 12:04:30 +02:00
Louis Gesbert
56026e8e8d
Pygments: install as user
...
Makefiles shouldn't sudo
2022-05-19 10:40:04 +02:00
Louis Gesbert
50c1e7282c
Add a (very simple) syntax highlighting mode for Emacs
...
Also fixes a typo in the .iro specifications
2022-05-13 17:42:03 +02:00
Denis Merigoux
eb7f00f56d
Syntax: parser and highlighting
2022-02-28 14:33:07 +01:00
Denis Merigoux
2263dd7dab
Update syntax highlighting and test suite [skip ci]
2022-02-07 12:04:48 +01:00
Denis Merigoux
45fe92be62
Update syntax highlighting
2022-02-04 23:10:29 +01:00
EmileRolley
50901fbb0c
refactor(syntax-highlighting): support the new catala-metadata markup
2021-10-01 15:52:45 +02:00
Sébastien Canu
2c36276a71
Fix atom fr syntax highlighting plugin
2021-06-09 22:07:37 +02:00
EmileRolley
5060565ed2
fix: update all syntax highlighting in order to match widlcard keywords
2021-06-03 15:33:40 +02:00
EmileRolley
f6d3906fe9
Revert "fix(syntax_highlighting): Type to Structure for constructors"
...
This reverts commit c0cc636372
.
2021-06-02 10:57:43 +02:00
EmileRolley
c0cc636372
fix(syntax_highlighting): Type to Structure for constructors
2021-06-02 10:57:24 +02:00
EmileRolley
01daa6e1e1
Revert "fix(syntax_highlighting): Type to Structure for primitive types"
...
This reverts commit 241ae8f7d3
.
2021-06-02 10:38:57 +02:00
EmileRolley
241ae8f7d3
fix(syntax_highlighting): Type to Structure for primitive types
2021-06-02 10:37:13 +02:00
EmileRolley
7921484aee
fix(syntax_highlighting): improve floating/money amount mathching in vim syntax files
2021-06-01 11:18:44 +02:00
EmileRolley
ed73be5abf
feat(syntax_highlighting): add the catala_pl.vim file
2021-06-01 10:53:49 +02:00
EmileRolley
909f04b8af
feat(syntax_highlighting): add the catala_en.vim file
2021-05-31 20:59:56 +02:00
EmileRolley
fa345a9312
fix(syntax_highlighting): minor corrections in catala_fr.vim
2021-05-31 14:43:03 +02:00
EmileRolley
6b63ba02b5
docs(syntax_highlighting): add a link to the vim help page
2021-05-31 14:30:18 +02:00
EmileRolley
a233769e98
feat(syntax_highlighting)!: add the catala_fr.vim file
2021-05-31 14:23:15 +02:00
EmileRolley
9ac9ed6f1e
fix(syntax_highlighting): fix date highlighting
2021-05-30 21:06:32 +02:00
EmileRolley
a450c8f841
fix(syntax_highlighting): fix heading hightlighting
2021-05-30 20:15:37 +02:00
Denis Merigoux
da363d8e75
Fixed Iro files
2021-05-13 10:12:00 +02:00
Denis Merigoux
4f9b0d63fd
Fix PL pygmentz lexer and document formatting
2021-05-12 10:43:42 +02:00
EmileRolley
13c94cb3c0
fix(syntax_highlighting_fr): syntax
2021-03-19 16:47:32 +01:00
EmileRolley
43c923d8f3
fix(syntax_highlighting_fr): syntax
2021-03-19 16:04:44 +01:00
EmileRolley
9b67bd9d27
fix(syntax_highlighting_fr): add 'ou bien' to operators
2021-03-19 15:56:16 +01:00
Denis Merigoux
3b110e04ee
Syntax sheet
2021-03-14 21:57:01 +01:00
EmileRolley
764a8fe1f8
fix(syntax_highlighting): syntax
2021-03-10 14:47:09 +01:00
EmileRolley
55fa3d726f
fix(syntax_hilighting): syntax
2021-03-10 14:37:09 +01:00
EmileRolley
0ca2402d14
refactor(syntax_hilighting): update the catala_fr highlighting
2021-03-10 14:29:41 +01:00
EmileRolley
d673b7b5b9
refactor(syntax_highlighting): update the vscode_fr
2021-03-10 14:00:48 +01:00
Denis Merigoux
0259573cd0
Renamed files and makefiles fixes
2021-02-28 18:18:01 +01:00
Denis Merigoux
88d8dd3c31
Generalized plugin scheme for pygments
2021-02-28 18:10:41 +01:00
Denis Merigoux
f51d8833c7
Implement argmin and argmax
2021-01-10 17:07:41 +01:00
Denis Merigoux
c6b6e82b8b
Various fixes, now passing first French tests
2020-12-31 00:28:26 +01:00
Denis Merigoux
be9e7e2a1e
Added collection length and mem test
2020-12-30 11:50:19 +01:00
Denis Merigoux
a37357bb56
Array type is beginning to work
2020-12-29 22:26:10 +01:00
Denis Merigoux
c51c8760cb
New assets for playground
2020-12-25 17:09:44 +01:00
Denis Merigoux
8dd95dec42
Improved error messages
2020-12-24 17:17:38 +01:00
Denis Merigoux
ae0cb80a25
Various fixes for French tutorial
2020-12-24 16:09:40 +01:00