Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
287cf26
Update ocaml compiler version in CI
Stevendeo Sep 25, 2025
5853c14
Split Cli into Cli (for argument parsing) and Config
lambdalex-ocp Sep 16, 2025
cccb529
remove dep_graph_file option
lambdalex-ocp Dec 2, 2025
1bf7582
my makefile update
lambdalex-ocp Dec 2, 2025
5c550bb
add dbg_info structure
lambdalex-ocp Dec 3, 2025
579646b
add tracing to the interpreter
lambdalex-ocp Dec 2, 2025
97eb280
Add origin to literals
lambdalex-ocp Sep 8, 2025
60eb221
add target specification to tracing
lambdalex-ocp Dec 2, 2025
b0f9b48
Split Driver and Parsing
lambdalex-ocp Oct 8, 2025
2d96576
Add plain output flag
lambdalex-ocp Nov 17, 2025
afaf8f6
Make pos not dependent on cli
lambdalex-ocp Dec 2, 2025
3f7c406
Add IRJ parsing for server mode
lambdalex-ocp Dec 2, 2025
9f9825e
Add server
lambdalex-ocp Dec 2, 2025
8c00d65
update m tests
lambdalex-ocp Dec 1, 2025
4d17385
properly print floats
lambdalex-ocp Dec 2, 2025
7ce1baf
add marple-files for easier use from marple
lambdalex-ocp Dec 9, 2025
5fdaf75
make server use provided income year
lambdalex-ocp Dec 9, 2025
0496021
add log of interpretation errors
lambdalex-ocp Dec 9, 2025
9c9bb37
[mir_interpreter fixup] comment debug printers
lambdalex-ocp Dec 9, 2025
ad013e5
remove assert false catch-all and provide every case
lambdalex-ocp Dec 9, 2025
fd87e6c
makefile update t22
lambdalex-ocp Dec 10, 2025
9aeed8c
add new m tests
lambdalex-ocp Dec 12, 2025
5629f04
Add more information to itnerp errors
lambdalex-ocp Dec 12, 2025
71dccc1
Add temp variables tracing when iterated & refactoring
lambdalex-ocp Dec 17, 2025
daa8da6
update tests
lambdalex-ocp Dec 17, 2025
c9c0e43
update documentation
lambdalex-ocp Dec 24, 2025
93f6ce7
add logging
lambdalex-ocp Dec 24, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/binary-releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ jobs:
uses: ocaml/setup-ocaml@v2
with:
# Version of the OCaml compiler to initialise
ocaml-compiler: 4.11.2
ocaml-compiler: 4.13.1

- name: Install dependencies
run: |
Expand Down
11 changes: 11 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,14 @@ clean: FORCE remise_a_zero_versionnage
rm -f doc/doc.html
dune clean

test:
_build/default/src/main.exe tests/mlang/${test}.m -A test --mpp_function test_args --dgfip_options='' --run_test tests/mlang/${test}.irj --debug

c:
_build/default/src/main.exe tests/mlang/${test}.m -A app -b dgfip_c --mpp_function target --dgfip_options='' --output output/${test}.c --debug

t20:
dune exec src/main.exe --profile release -- -A iliad --display_time --precision double --income-year=2020 --comparison_error_margin=0.000001 --mpp_function=enchainement_primitif_interpreteur ir-calcul/sources2020m_6_5/tgvI.m ir-calcul/sources2020m_6_5/errI.m ir-calcul/sources2020m_6_5/chap-1.m ir-calcul/sources2020m_6_5/chap-2.m ir-calcul/sources2020m_6_5/chap-3.m ir-calcul/sources2020m_6_5/chap-4.m ir-calcul/sources2020m_6_5/chap-51.m ir-calcul/sources2020m_6_5/chap-52.m ir-calcul/sources2020m_6_5/chap-6.m ir-calcul/sources2020m_6_5/chap-7.m ir-calcul/sources2020m_6_5/chap-81.m ir-calcul/sources2020m_6_5/chap-82.m ir-calcul/sources2020m_6_5/chap-83.m ir-calcul/sources2020m_6_5/chap-84.m ir-calcul/sources2020m_6_5/chap-85.m ir-calcul/sources2020m_6_5/chap-86.m ir-calcul/sources2020m_6_5/chap-87.m ir-calcul/sources2020m_6_5/chap-88.m ir-calcul/sources2020m_6_5/chap-aff.m ir-calcul/sources2020m_6_5/chap-cinr.m ir-calcul/sources2020m_6_5/chap-cmajo.m ir-calcul/sources2020m_6_5/chap-cor.m ir-calcul/sources2020m_6_5/chap-ctl.m ir-calcul/sources2020m_6_5/chap-ini.m ir-calcul/sources2020m_6_5/chap-inr.m ir-calcul/sources2020m_6_5/chap-isf.m ir-calcul/sources2020m_6_5/chap-majo.m ir-calcul/sources2020m_6_5/chap-perp.m ir-calcul/sources2020m_6_5/chap-plaf.m ir-calcul/sources2020m_6_5/chap-taux.m ir-calcul/sources2020m_6_5/chap-teff.m ir-calcul/sources2020m_6_5/chap-thr.m ir-calcul/sources2020m_6_5/chap-tl.m ir-calcul/sources2020m_6_5/coc1.m ir-calcul/sources2020m_6_5/coc2.m ir-calcul/sources2020m_6_5/coc3.m ir-calcul/sources2020m_6_5/coc4.m ir-calcul/sources2020m_6_5/coc5.m ir-calcul/sources2020m_6_5/coc7.m ir-calcul/sources2020m_6_5/coi1.m ir-calcul/sources2020m_6_5/coi2.m ir-calcul/sources2020m_6_5/coi3.m ir-calcul/sources2020m_6_5/horizoc.m ir-calcul/sources2020m_6_5/horizoi.m ir-calcul/sources2020m_6_5/res-ser1.m ir-calcul/sources2020m_6_5/res-ser2.m m_ext/2020/cibles.m --run_test='tests/2020/fuzzing/fuzzer_1423.m_test' --dgfip_options='' --debug

t22:
dune exec /home/kino/Projects/mlang/_build/default/src/main.exe -- -A iliad --display_time --debug --precision double --income-year=2022 --comparison_error_margin=0.000001 --mpp_function=enchainement_primitif_interpreteur /home/kino/Projects/mlang/ir-calcul/sources2022m_6_1/tgvI.m /home/kino/Projects/mlang/ir-calcul/sources2022m_6_1/errI.m /home/kino/Projects/mlang/ir-calcul/sources2022m_6_1/chap-1.m /home/kino/Projects/mlang/ir-calcul/sources2022m_6_1/chap-2.m /home/kino/Projects/mlang/ir-calcul/sources2022m_6_1/chap-3.m /home/kino/Projects/mlang/ir-calcul/sources2022m_6_1/chap-4.m /home/kino/Projects/mlang/ir-calcul/sources2022m_6_1/chap-51.m /home/kino/Projects/mlang/ir-calcul/sources2022m_6_1/chap-52.m /home/kino/Projects/mlang/ir-calcul/sources2022m_6_1/chap-6.m /home/kino/Projects/mlang/ir-calcul/sources2022m_6_1/chap-7.m /home/kino/Projects/mlang/ir-calcul/sources2022m_6_1/chap-81.m /home/kino/Projects/mlang/ir-calcul/sources2022m_6_1/chap-82.m /home/kino/Projects/mlang/ir-calcul/sources2022m_6_1/chap-83.m /home/kino/Projects/mlang/ir-calcul/sources2022m_6_1/chap-84.m /home/kino/Projects/mlang/ir-calcul/sources2022m_6_1/chap-85.m /home/kino/Projects/mlang/ir-calcul/sources2022m_6_1/chap-86.m /home/kino/Projects/mlang/ir-calcul/sources2022m_6_1/chap-87.m /home/kino/Projects/mlang/ir-calcul/sources2022m_6_1/chap-88.m /home/kino/Projects/mlang/ir-calcul/sources2022m_6_1/chap-aff.m /home/kino/Projects/mlang/ir-calcul/sources2022m_6_1/chap-cinr.m /home/kino/Projects/mlang/ir-calcul/sources2022m_6_1/chap-cmajo.m /home/kino/Projects/mlang/ir-calcul/sources2022m_6_1/chap-cor.m /home/kino/Projects/mlang/ir-calcul/sources2022m_6_1/chap-ctl.m /home/kino/Projects/mlang/ir-calcul/sources2022m_6_1/chap-ini.m /home/kino/Projects/mlang/ir-calcul/sources2022m_6_1/chap-inr.m /home/kino/Projects/mlang/ir-calcul/sources2022m_6_1/chap-isf.m /home/kino/Projects/mlang/ir-calcul/sources2022m_6_1/chap-majo.m /home/kino/Projects/mlang/ir-calcul/sources2022m_6_1/chap-perp.m /home/kino/Projects/mlang/ir-calcul/sources2022m_6_1/chap-plaf.m /home/kino/Projects/mlang/ir-calcul/sources2022m_6_1/chap-taux.m /home/kino/Projects/mlang/ir-calcul/sources2022m_6_1/chap-teff.m /home/kino/Projects/mlang/ir-calcul/sources2022m_6_1/chap-thr.m /home/kino/Projects/mlang/ir-calcul/sources2022m_6_1/chap-tl.m /home/kino/Projects/mlang/ir-calcul/sources2022m_6_1/coc1.m /home/kino/Projects/mlang/ir-calcul/sources2022m_6_1/coc2.m /home/kino/Projects/mlang/ir-calcul/sources2022m_6_1/coc3.m /home/kino/Projects/mlang/ir-calcul/sources2022m_6_1/coc4.m /home/kino/Projects/mlang/ir-calcul/sources2022m_6_1/coc5.m /home/kino/Projects/mlang/ir-calcul/sources2022m_6_1/coc7.m /home/kino/Projects/mlang/ir-calcul/sources2022m_6_1/coi1.m /home/kino/Projects/mlang/ir-calcul/sources2022m_6_1/coi2.m /home/kino/Projects/mlang/ir-calcul/sources2022m_6_1/coi3.m /home/kino/Projects/mlang/ir-calcul/sources2022m_6_1/horizoc.m /home/kino/Projects/mlang/ir-calcul/sources2022m_6_1/horizoi.m /home/kino/Projects/mlang/ir-calcul/sources2022m_6_1/res-ser1.m /home/kino/Projects/mlang/ir-calcul/sources2022m_6_1/res-ser2.m /home/kino/Projects/mlang/m_ext/2022/cibles.m /home/kino/Projects/mlang/m_ext/2022/codes_1731.m /home/kino/Projects/mlang/m_ext/2022/commence_par_5.m /home/kino/Projects/mlang/m_ext/2022/commence_par_7.m /home/kino/Projects/mlang/m_ext/2022/commence_par_H.m /home/kino/Projects/mlang/m_ext/2022/correctif.m /home/kino/Projects/mlang/m_ext/2022/main.m --run_test="tests/2022/fuzzing/fuzzer_9230.m_test" --dgfip_options=''
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -247,3 +247,12 @@ more details.
## License

The compiler is released under the GPL license (version 3).

# The Mlang server backend

Mlang now ships with a backend for Marple, a way to debug and trace execution of M programs.

## Launch

You can launch the server by doing `dune exec src/server.exe`. This will show you an url,
that you can then input into Marple, starting with the host: ie. `localhost:4242`.
2 changes: 1 addition & 1 deletion ir-calcul
Submodule ir-calcul updated from 7af2b7 to f52184
Loading