MLanguage / mlang

Compiler for the M language, used to compute the income tax of French taxpayers
https://mlanguage.github.io/mlang/mlang/index.html
GNU General Public License v3.0
176 stars 9 forks source link

Irj_file_validation #236

Closed mdurero closed 3 months ago

mdurero commented 3 months ago

Short term plan: add a small standalone module for IRJ file validation.

Long term: allow to validate and translate multiple file formats (APIs, IRJ, Alpage…)

For the IRJ validation, I have covered all cases found in 2022 files. For completion sake I would have liked to test for #CONTROLES-RAPPELS part, but it creates a conflict and I do not understand why.

Note: this error handling is deprecated in Menhir.

mdurero commented 3 months ago

@denismerigoux AFAIK, should add some tests for the new module in the CI, otherwise in itself it seems OK for a first merge.

mdurero commented 3 months ago

Following yesterday discussion, let’s merge it ASAP so we can at least use it and not wait months again for a third rewrite, test integration, and so on.