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
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
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
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
56481ebf97
fix(syntax_highlighting_en): add xor to operators
2021-03-17 10:49:07 +01:00
Denis Merigoux
3b110e04ee
Syntax sheet
2021-03-14 21:57:01 +01:00
EmileRolley
383347bf00
refactor(syntax_highlighting): update the catala_en highlighting
2021-03-10 14:47:43 +01:00
Denis Merigoux
0259573cd0
Renamed files and makefiles fixes
2021-02-28 18:18:01 +01:00
Jonathan Protzenko
3bcf85bd94
Missing files
2021-02-24 10:55:18 -07:00
Jonathan Protzenko
b206b7a93b
For EN syntax highlighting, use a pygments plugin rather than a fork of pygments
2021-02-23 07:53:39 -07: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
81c464ea7e
Added labels and exceptions to surface syntax
2020-12-18 13:13:51 +01:00
Denis Merigoux
a4916208ba
amount -> money
2020-12-10 09:35:36 +01: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
cfd5a8924f
Get scope context conditions right
2020-06-07 13:45:26 +02:00
Denis Merigoux
0d0e4459f7
Added condition context parameters
2020-06-07 13:28:13 +02:00
Denis Merigoux
ec44f0a000
Application_field -> scope
2020-05-12 18:13:54 +02:00
Denis Merigoux
a2fd1a228a
Fixed all syntax highlighting scripts
2020-04-27 09:57:13 +02:00
Denis Merigoux
b0a3b1312e
Debugged english coloring (dollar sign was the problem)
2020-04-27 09:34:25 +02:00
Denis Merigoux
d4340fa25d
Added english syntax highlighting but still buggy
2020-04-26 22:53:43 +02:00
Denis Merigoux
bd9401c034
Added english atom syntax highlighting
2020-04-26 20:59:04 +02:00