Denis Merigoux
e80143b3ca
Last linting pass and update tests
2023-03-31 17:56:45 +02:00
Louis Gesbert
71bb67163c
Remove explicitely typed operators in tests and examples
...
Command used: `sed -i 's/\([-+*/><=]=\?\)[.$@^€$]/\1/g' **/*/*.catala_*`
The overload test, of course, is kept unchanged and ensures that explicit
operators still work.
2022-12-13 12:00:04 +01:00
Louis Gesbert
0ab7a0f9ce
Turn all existing tests to inline tests
...
Done using
```bash
process() { FILE=$1; awk 'match($0, /^```catala-test *{ *id *= *"(.*)" *}/, a) {print "```catala-test-inline"; f="'"$(dirname $FILE)/output/$(basename $FILE)"'." a[1]; getline; print "$ " $0; while ((getline<f) > 0) print; next} {print}' $FILE >$FILE.new; mv $FILE.new $FILE; }
for f in tests/test_*/*/*.catala_* examples/**/*.catala_*; do process $f; git add $f; done
for d in $(find -name output -type d); do git rm -r $d; done
```
2022-09-23 14:45:10 +02:00
Denis Merigoux
1c3d5b9a75
Fix all lines too long problems & update assets
2022-08-29 15:46:06 +02:00
Louis Gesbert
1d268a940b
Add tests for the examples as well
2022-07-08 17:18:58 +02:00
Denis Merigoux
1c4a0bdd5d
Updated all examples with input/output decorations [skip ci]
2022-02-07 18:18:23 +01:00
Denis Merigoux
a963a01f60
Unit tests for examples now use clerk
2022-01-11 10:42:12 +01:00
EmileRolley
ed73be5abf
feat(syntax_highlighting): add the catala_pl.vim file
2021-06-01 10:53:49 +02:00
Bartosz Woźniak
7d05d76825
cleanup
2021-05-17 18:14:00 +02:00
Denis Merigoux
36093c885b
Added context variable declaration
2021-05-17 10:49:05 +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
Denis Merigoux
f14408375a
Update to new syntax
2021-05-15 16:28:14 +02:00
Bartosz Woźniak
fec6c2b145
fix typo, issue with 0.something% still exists
2021-05-13 22:25:17 +02:00
Bartosz Woźniak
7e31b230d0
add p. 9 but why is the test failing? 0.1% * 1000 == 1, not 10
2021-05-13 22:22:49 +02:00
Bartosz Woźniak
f5a070f5a3
add p.7
2021-05-13 22:16:48 +02:00
Bartosz Woźniak
6afdca09b8
rename var
2021-05-13 22:02:52 +02:00
Bartosz Woźniak
8f4b4a0462
extract intro
2021-05-13 14:08:23 +02:00
Bartosz Woźniak
cc2ec3d613
change currency
2021-05-12 19:50:47 +02:00
Bartosz Woźniak
f66fdf2a5c
extend comment
2021-05-12 19:43:31 +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
03f6e412d9
add text's whole title - https://isap.sejm.gov.pl/isap.nsf/download.xsp/WDU20000860959/U/D20000959Lj.pdf
2021-05-12 18:56:14 +02:00
Bartosz Woźniak
219293baa7
## headers, eng->pl fix
2021-05-12 18:54:09 +02:00
Denis Merigoux
4f9b0d63fd
Fix PL pygmentz lexer and document formatting
2021-05-12 10:43:42 +02:00
Bartosz Woźniak
f5234c6bdf
convert metadata stuff
2021-05-11 20:35:35 +02:00
Bartosz Woźniak
f2055d67ac
tests
2021-05-09 23:15:19 +02:00
Bartosz Woźniak
e4bc4c3c8f
swap english -> polish
2021-05-09 23:06:59 +02:00
Bartosz Woźniak
37c8f8da64
fixes for pdf, cleanup
2021-05-09 17:10:26 +02:00
Bartosz Woźniak
3323f47a94
add beginning of polish civil law tax
2021-05-08 17:38:52 +02:00