2020-11-23 11:22:47 +03:00
|
|
|
(library
|
|
|
|
(name literate)
|
2021-04-29 18:05:53 +03:00
|
|
|
(public_name catala.literate)
|
2023-01-04 14:18:46 +03:00
|
|
|
(libraries re catala_utils surface ubase uutf))
|
2020-12-14 20:09:38 +03:00
|
|
|
|
2023-03-13 15:40:10 +03:00
|
|
|
(rule
|
|
|
|
(target pygment_lexers.ml)
|
|
|
|
(action
|
|
|
|
(progn
|
|
|
|
(copy
|
|
|
|
../../syntax_highlighting/en/pygments/catala_en_lexer/lexer.py
|
|
|
|
lexer_en.py)
|
|
|
|
(copy
|
|
|
|
../../syntax_highlighting/fr/pygments/catala_fr_lexer/lexer.py
|
|
|
|
lexer_fr.py)
|
|
|
|
(copy
|
|
|
|
../../syntax_highlighting/pl/pygments/catala_pl_lexer/lexer.py
|
|
|
|
lexer_pl.py)
|
|
|
|
(run ocaml-crunch -e py -m plain -o %{target} .))))
|
|
|
|
|
2020-12-14 20:09:38 +03:00
|
|
|
(documentation
|
|
|
|
(package catala)
|
|
|
|
(mld_files literate))
|