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
Denis Merigoux
755b1212a2
Remove division durations
2022-08-19 15:21:29 +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
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
Bartosz Woźniak
44af0acdb3
visible diacritics done
2021-05-16 21:07:14 +02:00
Bartosz Woźniak
831f4c75ae
diacritics ę
2021-05-16 20:38:38 +02:00
Bartosz Woźniak
b1ecf5abc9
begin diacritics
2021-05-16 20:35:39 +02:00
Bartosz Woźniak
68e2d5c541
change form of noun for consistency
2021-05-16 20:22:53 +02:00
Bartosz Woźniak
2b5a54e315
atom stuff
2021-05-16 20:13:03 +02:00
Denis Merigoux
da363d8e75
Fixed Iro files
2021-05-13 10:12:00 +02:00
Bartosz Woźniak
f70e3e4296
change 'zawartosc' which means 'content' to 'typu' which means 'of the type..'
2021-05-12 19:42:40 +02:00
Bartosz Woźniak
c4e39f159f
change condition ('warunek' - boolean) from green to red in pdf
2021-05-12 19:40:19 +02:00
Denis Merigoux
4f9b0d63fd
Fix PL pygmentz lexer and document formatting
2021-05-12 10:43:42 +02:00
Bartosz Woźniak
d61926c51b
cleanup
2021-05-11 20:37:35 +02:00
Bartosz Woźniak
962d5d2f82
compilation fixes
2021-05-11 20:26:17 +02:00
Bartosz Woźniak
21584e6444
polish syntax pygments
2021-05-10 19:05:18 +02:00