json-model-compiler 2.0b46__tar.gz → 2.0b48__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {json_model_compiler-2.0b46/site → json_model_compiler-2.0b48}/BACKLOG.md +1 -3
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/BENCH.md +19 -9
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/DEV.md +3 -2
- json_model_compiler-2.0b48/MANIFEST.in +4 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/Makefile +9 -1
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/PKG-INFO +1 -1
- {json_model_compiler-2.0b46/site → json_model_compiler-2.0b48}/VERSION.md +165 -120
- json_model_compiler-2.0b48/json_model/.gitignore +1 -0
- json_model_compiler-2.0b48/json_model/data/VERSION +1 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/jmc.pod +5 -1
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/irep.py +2 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/script.py +4 -0
- json_model_compiler-2.0b48/json_model/version.py +2 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/xstatic.py +199 -10
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model_compiler.egg-info/PKG-INFO +1 -1
- json_model_compiler-2.0b48/json_model_compiler.egg-info/SOURCES.txt +126 -0
- json_model_compiler-2.0b48/json_model_compiler.egg-info/not-zip-safe +1 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/pyproject.toml +14 -5
- json_model_compiler-2.0b46/BACKLOG.md +0 -303
- json_model_compiler-2.0b46/MANIFEST.in +0 -1
- json_model_compiler-2.0b46/VERSION.md +0 -690
- json_model_compiler-2.0b46/container/.dockerignore +0 -3
- json_model_compiler-2.0b46/container/.gitignore +0 -1
- json_model_compiler-2.0b46/container/Makefile +0 -101
- json_model_compiler-2.0b46/container/README.md +0 -99
- json_model_compiler-2.0b46/container/base.container +0 -96
- json_model_compiler-2.0b46/container/jmc +0 -64
- json_model_compiler-2.0b46/container/jmc.container +0 -48
- json_model_compiler-2.0b46/json_model_compiler.egg-info/SOURCES.txt +0 -250
- json_model_compiler-2.0b46/models/ansiblelint-meta.model.json +0 -372
- json_model_compiler-2.0b46/models/cypress.model.json +0 -95
- json_model_compiler-2.0b46/models/diploma-arrete.model.json +0 -17
- json_model_compiler-2.0b46/models/diploma-export.model.json +0 -20
- json_model_compiler-2.0b46/models/everything.model.json +0 -206
- json_model_compiler-2.0b46/models/fresq.model.json +0 -79
- json_model_compiler-2.0b46/models/geo-easy.model.json +0 -74
- json_model_compiler-2.0b46/models/geo.model.json +0 -70
- json_model_compiler-2.0b46/models/jmc-ir.model.json +0 -138
- json_model_compiler-2.0b46/models/json-model-latest.model.json +0 -9
- json_model_compiler-2.0b46/models/json-model-moschin.model.json +0 -19
- json_model_compiler-2.0b46/models/json-model-no-merge.model.json +0 -14
- json_model_compiler-2.0b46/models/json-model-v1.model.json +0 -30
- json_model_compiler-2.0b46/models/json-model-v2-en.model.json +0 -16
- json_model_compiler-2.0b46/models/json-model-v2.model.json +0 -73
- json_model_compiler-2.0b46/models/json-model.model.json +0 -73
- json_model_compiler-2.0b46/models/json-schema-draft-01-fuzzy.model.json +0 -12
- json_model_compiler-2.0b46/models/json-schema-draft-01-nesting.model.json +0 -12
- json_model_compiler-2.0b46/models/json-schema-draft-01.model.json +0 -35
- json_model_compiler-2.0b46/models/json-schema-draft-02-fuzzy.model.json +0 -12
- json_model_compiler-2.0b46/models/json-schema-draft-02-nesting.model.json +0 -12
- json_model_compiler-2.0b46/models/json-schema-draft-02.model.json +0 -37
- json_model_compiler-2.0b46/models/json-schema-draft-03-fuzzy.model.json +0 -15
- json_model_compiler-2.0b46/models/json-schema-draft-03-nesting.model.json +0 -12
- json_model_compiler-2.0b46/models/json-schema-draft-03.model.json +0 -39
- json_model_compiler-2.0b46/models/json-schema-draft-04-fuzzy.model.json +0 -15
- json_model_compiler-2.0b46/models/json-schema-draft-04-mongodb.model.json +0 -29
- json_model_compiler-2.0b46/models/json-schema-draft-04-nesting.model.json +0 -12
- json_model_compiler-2.0b46/models/json-schema-draft-04.model.json +0 -46
- json_model_compiler-2.0b46/models/json-schema-draft-06-fuzzy.model.json +0 -15
- json_model_compiler-2.0b46/models/json-schema-draft-06.model.json +0 -54
- json_model_compiler-2.0b46/models/json-schema-draft-07-fuzzy.model.json +0 -15
- json_model_compiler-2.0b46/models/json-schema-draft-07.model.json +0 -61
- json_model_compiler-2.0b46/models/json-schema-draft-2019-09-fuzzy.model.json +0 -20
- json_model_compiler-2.0b46/models/json-schema-draft-2019-09.model.json +0 -97
- json_model_compiler-2.0b46/models/json-schema-draft-2020-12-fuzzy.model.json +0 -22
- json_model_compiler-2.0b46/models/json-schema-draft-2020-12-tight.model.json +0 -108
- json_model_compiler-2.0b46/models/json-schema-draft-2020-12.model.json +0 -99
- json_model_compiler-2.0b46/models/json-schema-draft-next-fuzzy.model.json +0 -19
- json_model_compiler-2.0b46/models/json-schema-draft-next.model.json +0 -100
- json_model_compiler-2.0b46/models/json-schema-draft-tight.model.json +0 -95
- json_model_compiler-2.0b46/models/json-schema-draft-tighter-loose.model.json +0 -23
- json_model_compiler-2.0b46/models/json-schema-draft-tighter.model.json +0 -83
- json_model_compiler-2.0b46/models/json-schema-linter.model.json +0 -83
- json_model_compiler-2.0b46/models/jsound.model.json +0 -72
- json_model_compiler-2.0b46/models/l10n.model.json +0 -12
- json_model_compiler-2.0b46/models/lazygit.model.json +0 -331
- json_model_compiler-2.0b46/models/openapi-311-fuzzy.model.json +0 -14
- json_model_compiler-2.0b46/models/openapi-311-models.model.json +0 -32
- json_model_compiler-2.0b46/models/openapi-311.model.json +0 -291
- json_model_compiler-2.0b46/models/person.model.json +0 -6
- json_model_compiler-2.0b46/models/person2.model.json +0 -7
- json_model_compiler-2.0b46/models/pgxn.model.json +0 -68
- json_model_compiler-2.0b46/models/test-schema.model.json +0 -43
- json_model_compiler-2.0b46/site/API.md +0 -325
- json_model_compiler-2.0b46/site/BENCH.md +0 -123
- json_model_compiler-2.0b46/site/DEV.md +0 -69
- json_model_compiler-2.0b46/site/DOC.md +0 -25
- json_model_compiler-2.0b46/site/HOWTO.md +0 -300
- json_model_compiler-2.0b46/site/PUBS.md +0 -66
- json_model_compiler-2.0b46/site/README.md +0 -148
- json_model_compiler-2.0b46/site/SPEC.md +0 -683
- json_model_compiler-2.0b46/site/TUTO.md +0 -837
- json_model_compiler-2.0b46/site/benchmarks/2026031000.csv +0 -171
- json_model_compiler-2.0b46/site/benchmarks/2026031000.json +0 -296
- json_model_compiler-2.0b46/site/benchmarks/2026031000.md +0 -216
- json_model_compiler-2.0b46/site/benchmarks/2026031300.csv +0 -171
- json_model_compiler-2.0b46/site/benchmarks/2026031300.json +0 -296
- json_model_compiler-2.0b46/site/benchmarks/2026031300.md +0 -216
- json_model_compiler-2.0b46/site/benchmarks/2026031400.csv +0 -171
- json_model_compiler-2.0b46/site/benchmarks/2026031400.json +0 -296
- json_model_compiler-2.0b46/site/benchmarks/2026031400.md +0 -216
- json_model_compiler-2.0b46/site/benchmarks/2026031900.csv +0 -171
- json_model_compiler-2.0b46/site/benchmarks/2026031900.json +0 -296
- json_model_compiler-2.0b46/site/benchmarks/2026031900.md +0 -216
- json_model_compiler-2.0b46/site/benchmarks/2026032500.csv +0 -171
- json_model_compiler-2.0b46/site/benchmarks/2026032500.json +0 -296
- json_model_compiler-2.0b46/site/benchmarks/2026032500.md +0 -216
- json_model_compiler-2.0b46/site/benchmarks/2026032700.csv +0 -171
- json_model_compiler-2.0b46/site/benchmarks/2026032700.json +0 -296
- json_model_compiler-2.0b46/site/benchmarks/2026032700.md +0 -216
- json_model_compiler-2.0b46/site/benchmarks/2026032801.csv +0 -171
- json_model_compiler-2.0b46/site/benchmarks/2026032801.json +0 -296
- json_model_compiler-2.0b46/site/benchmarks/2026032801.md +0 -216
- json_model_compiler-2.0b46/site/benchmarks/2026040200.csv +0 -171
- json_model_compiler-2.0b46/site/benchmarks/2026040200.json +0 -296
- json_model_compiler-2.0b46/site/benchmarks/2026040200.md +0 -216
- json_model_compiler-2.0b46/site/benchmarks/2026040300.csv +0 -171
- json_model_compiler-2.0b46/site/benchmarks/2026040300.json +0 -296
- json_model_compiler-2.0b46/site/benchmarks/2026040300.md +0 -216
- json_model_compiler-2.0b46/site/benchmarks/2026040400.csv +0 -171
- json_model_compiler-2.0b46/site/benchmarks/2026040400.json +0 -296
- json_model_compiler-2.0b46/site/benchmarks/2026040400.md +0 -216
- json_model_compiler-2.0b46/site/benchmarks/2026040700.csv +0 -171
- json_model_compiler-2.0b46/site/benchmarks/2026040700.json +0 -296
- json_model_compiler-2.0b46/site/benchmarks/2026040700.md +0 -216
- json_model_compiler-2.0b46/site/benchmarks/2026042001.csv +0 -176
- json_model_compiler-2.0b46/site/benchmarks/2026042001.json +0 -296
- json_model_compiler-2.0b46/site/benchmarks/2026042001.md +0 -221
- json_model_compiler-2.0b46/site/benchmarks/2026042400.csv +0 -176
- json_model_compiler-2.0b46/site/benchmarks/2026042400.json +0 -296
- json_model_compiler-2.0b46/site/benchmarks/2026042400.md +0 -221
- json_model_compiler-2.0b46/site/benchmarks/2026042500.csv +0 -176
- json_model_compiler-2.0b46/site/benchmarks/2026042500.json +0 -296
- json_model_compiler-2.0b46/site/benchmarks/2026042500.md +0 -221
- json_model_compiler-2.0b46/site/benchmarks/2026042503.csv +0 -176
- json_model_compiler-2.0b46/site/benchmarks/2026042503.json +0 -296
- json_model_compiler-2.0b46/site/benchmarks/2026042503.md +0 -221
- json_model_compiler-2.0b46/site/benchmarks/2026042700.csv +0 -176
- json_model_compiler-2.0b46/site/benchmarks/2026042700.json +0 -296
- json_model_compiler-2.0b46/site/benchmarks/2026042700.md +0 -221
- json_model_compiler-2.0b46/site/benchmarks/2026042800.csv +0 -176
- json_model_compiler-2.0b46/site/benchmarks/2026042800.json +0 -296
- json_model_compiler-2.0b46/site/benchmarks/2026042800.md +0 -221
- json_model_compiler-2.0b46/site/cover.md +0 -7
- json_model_compiler-2.0b46/site/favicon.ico +0 -0
- json_model_compiler-2.0b46/site/index.html +0 -181
- json_model_compiler-2.0b46/site/json_logo.svg +0 -15
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/.gitignore +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/.gitmodules +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/API.md +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/DESIGN.md +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/DOC.md +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/HOWTO.md +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/INTEGRATION.md +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/PUBS.md +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/README.md +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/SPEC.md +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/TUTO.md +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/about.sh +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/README.md +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/__init__.py +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/analyze.py +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/clang.py +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/convert.py +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/clang_entry.c +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/clang_free.c +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/clang_init.c +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/clang_pcre2_fun.c +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/clang_re2_fun.c +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/java_free.java +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/java_init.java +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/javascript_exe.js +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/javascript_foot.js +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/javascript_free.js +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/javascript_head.js +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/javascript_init.js +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/javascript_main.js +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/perl_entry.pl +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/perl_exe.pl +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/perl_free.pl +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/perl_init.pl +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/perl_main.pl +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/perl_pkg.pl +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/plpgsql_entry.sql +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/python_entry.py +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/python_exe.py +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/python_free.py +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/python_init.py +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/python_main.py +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/export.py +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/java.py +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/javascript.py +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/language.py +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/model.py +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/mtypes.py +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/objops.py +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/optim.py +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/perl.py +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/plpgsql.py +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/predefs.py +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/python.py +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/recurse.py +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/resolver.py +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/Makefile +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/__init__.py +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/c/Makefile +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/c/json-model.c +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/c/json-model.h +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/c/main.c +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/java/.gitignore +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/java/Makefile +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/java/README.md +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/java/env.sh +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/java/json_model/Checker.java +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/java/json_model/GSON.java +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/java/json_model/JSON.java +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/java/json_model/JSONP.java +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/java/json_model/Jackson.java +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/java/json_model/Main.java +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/java/json_model/ModelChecker.java +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/java/json_model/Path.java +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/java/json_model/Report.java +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/java/json_model/Runtime.java +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/java/pom.xml +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/js/README.md +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/js/index.js +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/js/main.js +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/js/package.json +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/pl/.gitignore +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/pl/Changes +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/pl/LICENSE +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/pl/MANIFEST +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/pl/Makefile.PL +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/pl/README +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/pl/env.sh +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/pl/ignore.txt +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/pl/lib/JSON/JsonModel.pm +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/pl/t/00-load.t +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/pl/t/manifest.t +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/pl/t/pod-coverage.t +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/pl/t/pod.t +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/pl/xt/boilerplate.t +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/sql/META.json +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/sql/Makefile +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/sql/json_model--2.0.sql +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/sql/json_model.control +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/support.py +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/types.py +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/submodel.py +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/url_cache.py +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/utils.py +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model_compiler.egg-info/dependency_links.txt +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model_compiler.egg-info/entry_points.txt +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model_compiler.egg-info/requires.txt +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model_compiler.egg-info/top_level.txt +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/package.json +0 -0
- {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/setup.cfg +0 -0
|
@@ -2,11 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
## Current Tasks
|
|
4
4
|
|
|
5
|
-
- [ ] optim: collect and display stats about what
|
|
5
|
+
- [ ] optim: collect and display stats about what works
|
|
6
6
|
- [ ] c-backend: improve unique with hash using int set?
|
|
7
7
|
- [ ] c-backend: improve str hash?
|
|
8
8
|
- [ ] perf: show schema to model conversion times
|
|
9
|
-
- [ ] front: show git hash on `--version`?
|
|
10
9
|
- [ ] js-backend: remove useless braces and semi-colons
|
|
11
10
|
- [ ] c-backend: use str cmp for ends with optimization as well
|
|
12
11
|
- [ ] c-backend: improve partitioned cset prettyprinting
|
|
@@ -19,7 +18,6 @@
|
|
|
19
18
|
- [ ] c-backend: use knowledge of Jansson hash to improve property lookup??
|
|
20
19
|
- [ ] c-backend: generate custom character class ascii tables?
|
|
21
20
|
- [ ] c-backend: custom char classes: `[:-] [a-zA-Z0-9_\\.\\-\\|@#] [a-zA-Z_$] [a-zA-Z0-9_\\-] [a-zA-Z0-9_.:-]`
|
|
22
|
-
- [ ] docker: use ubuntu 26.04 base
|
|
23
21
|
- [ ] optim: remove props which match the default, in some cases?
|
|
24
22
|
- [ ] optim: regex list of words to enum?
|
|
25
23
|
- [ ] static: improve startswith pattern recognition `/^xyz.*/`
|
|
@@ -9,6 +9,8 @@ schema to model converter in C, JS, Java (GSON, Jackson and JSONP using Johnzon)
|
|
|
9
9
|
|
|
10
10
|
## Recent Artifacts
|
|
11
11
|
|
|
12
|
+
- [2026050700](benchmarks/2026050700.md) clang, no predefs, jsu 0.9.6/jmc 2.0b46 vs sbc 15.4.0, 11 runs, 1000 iterations.
|
|
13
|
+
- [2026050304](benchmarks/2026050304.md) clang, no predefs, jsu 0.9.6/jmc 2.0b46 vs sbc 15.2.0, 11 runs, 1000 iterations.
|
|
12
14
|
- [2026042800](benchmarks/2026042800.md) clang, no predefs, jsu 0.9.6/jmc 2.0b45 vs sbc 15.2.0, 11 runs, 1000 iterations.
|
|
13
15
|
- [2026042700](benchmarks/2026042700.md) clang, no predefs, jsu 0.9.6/jmc 2.0b45 vs sbc 15.1.0, 11 runs, 1000 iterations.
|
|
14
16
|
- [2026042503](benchmarks/2026042503.md) clang, no predefs, jsu 0.9.6/jmc 2.0b45 vs sbc 15.0.0, 11 runs, 1000 iterations.
|
|
@@ -67,7 +69,6 @@ the run stops as soon as possible.
|
|
|
67
69
|
over 300 µs for validating one value), a relative comparison ratio is shown.
|
|
68
70
|
- Compilation times are the _minimum_ encountered over the runs.
|
|
69
71
|
whereas performance times are the _median_ over the runs.
|
|
70
|
-
- The C backend also includes the _runtime_ compilation from sources.
|
|
71
72
|
|
|
72
73
|
Note that performance figures **must** be taken with a pinch of salt, please consider
|
|
73
74
|
the following caveats, and others:
|
|
@@ -86,10 +87,13 @@ the following caveats, and others:
|
|
|
86
87
|
a hash table which is more costly to build.
|
|
87
88
|
- blaze does _not_ implement checking string values (eg dates, url…),
|
|
88
89
|
so these checks may be disactivated (see `JMC_OPTS`) for fairness,
|
|
89
|
-
|
|
90
|
-
- blaze uses its own special-purpose JSON representation
|
|
91
|
-
|
|
92
|
-
|
|
90
|
+
reducing the results significance.
|
|
91
|
+
- blaze uses its own special-purpose JSON representation which include a precomputed
|
|
92
|
+
custom hash for string comparisons.
|
|
93
|
+
- blaze is a C++ library, if interfaced from another language, the cost of translating
|
|
94
|
+
the JSON representation to this library should be taken into account;
|
|
95
|
+
in contrast, jmc uses native JSON representations in the target ecosystem and generate
|
|
96
|
+
validation code around it.
|
|
93
97
|
- due to intrinsic limitations of the underlying libraries and the quality of models or schemas,
|
|
94
98
|
some results may differ, mostly for good reasons: regex incompatibilities, stricter
|
|
95
99
|
model definitions compared to lax schemas…
|
|
@@ -97,8 +101,8 @@ the following caveats, and others:
|
|
|
97
101
|
benchmarking loops and report undue very fast performances, eg on the GeoJSON case.
|
|
98
102
|
- some execution environment (eg Java) may take advantage of parallelism with threads,
|
|
99
103
|
which may or may not be a blessing: it can reduce the apparent latency (eg the gc runs
|
|
100
|
-
in another thread) but have a detrimental overall effect on throughput
|
|
101
|
-
are spent on the same task.
|
|
104
|
+
in another thread) but have a detrimental overall effect on throughput and costs as
|
|
105
|
+
more cpu ressources are spent on the same task.
|
|
102
106
|
|
|
103
107
|
## Other Artifacts
|
|
104
108
|
|
|
@@ -117,7 +121,13 @@ It should be noted that benchmarking conditions are quite different compared to
|
|
|
117
121
|
2. The benchmark focuses on schema conformance, including (buggy) schemas which
|
|
118
122
|
are mostly dead code: It rejects tools which do not validate all strictly conformant
|
|
119
123
|
values, even if these values would be rejected by the target application.
|
|
120
|
-
3.
|
|
124
|
+
3. Three schemas (`krakend`, `stale` and `yamllint`) in the test suites have been
|
|
125
|
+
[edited](https://github.com/sourcemeta-research/jsonschema-benchmark/commit/ad109eb210c0939bd8393da28d8212f75c1c2d92),
|
|
126
|
+
especially to deal corner cases issues with `$ref` under version 7 and prior,
|
|
127
|
+
thus do not conform to the initial official schemas.
|
|
128
|
+
4. The benchmark _removes_ format assertions before testing the schemas.
|
|
129
|
+
5. The model used are strictly converted from schemas, native models are not used
|
|
121
130
|
even if available and schemas are not fixed for typical errors (eg misplaced keywords).
|
|
122
131
|
|
|
123
|
-
As of
|
|
132
|
+
As of May 2026, the JSU C implementation is faster than Blaze on about 55% of benchmark cases
|
|
133
|
+
on these artifacts.
|
|
@@ -7,6 +7,7 @@ Beware that the developer documentation is scarce. PR are always welcome, eg:
|
|
|
7
7
|
- new language or library support implementations
|
|
8
8
|
- new exporters
|
|
9
9
|
- possibly new models
|
|
10
|
+
- generated code optimizations
|
|
10
11
|
|
|
11
12
|
## Publication Accounts
|
|
12
13
|
|
|
@@ -23,7 +24,7 @@ See `publish.*` targets in `Makefile`.
|
|
|
23
24
|
|
|
24
25
|
## Hardcoded Versions
|
|
25
26
|
|
|
26
|
-
- [
|
|
27
|
+
- [VERSION](./json_model/data/VERSION) (extracted by setuptools at build time)
|
|
27
28
|
- [pom](./json_model/runtime/java/pom.xml)
|
|
28
29
|
- [pm](./json_model/runtime/pl/JSON/JsonModel.pm) (twice)
|
|
29
30
|
- [pg](./json_model/META.json) (twice)
|
|
@@ -31,7 +32,7 @@ See `publish.*` targets in `Makefile`.
|
|
|
31
32
|
- docker tag is extracted from `jmc`
|
|
32
33
|
- git tag?
|
|
33
34
|
|
|
34
|
-
## Setup
|
|
35
|
+
## Developer Setup
|
|
35
36
|
|
|
36
37
|
Get sources directly from GitHub in some Unix-like terminal:
|
|
37
38
|
|
|
@@ -63,7 +63,7 @@ clean.site:
|
|
|
63
63
|
|
|
64
64
|
.PHONY: clean.py
|
|
65
65
|
clean.py:
|
|
66
|
-
$(RM) -r .pytest_cache .ruff_cache dist venv
|
|
66
|
+
$(RM) -r .pytest_cache .ruff_cache dist venv *.egg-info *.dist-info build json_model/version.py
|
|
67
67
|
find . -type d -name __pycache__ | xargs $(RM) -r
|
|
68
68
|
|
|
69
69
|
.PHONY: clean.dev
|
|
@@ -150,8 +150,16 @@ publish.site: build.site
|
|
|
150
150
|
ssh $(SITE) chmod a+rx $(SITEPATH) $(SITEPATH)/models $(SITEPATH)/benchmarks
|
|
151
151
|
ssh $(SITE) chmod a+r $(SITEPATH)/* $(SITEPATH)/models/* $(SITEPATH)/benchmarks/*
|
|
152
152
|
|
|
153
|
+
json_model/version.py:
|
|
154
|
+
{
|
|
155
|
+
echo "# this file is automatically generated, do not edit!"
|
|
156
|
+
echo "HASH: str = \"$$(git rev-parse --short HEAD)\""
|
|
157
|
+
} > $@
|
|
158
|
+
|
|
153
159
|
.PHONY: publish.py
|
|
154
160
|
publish.py: venv/.dist
|
|
161
|
+
$(RM) json_model/version.py
|
|
162
|
+
$(MAKE) json_model/version.py
|
|
155
163
|
source venv/bin/activate
|
|
156
164
|
python -m build
|
|
157
165
|
twine check dist/*
|
|
@@ -1,6 +1,17 @@
|
|
|
1
1
|
# JSON Model Compiler Versions
|
|
2
2
|
|
|
3
|
-
## 2.
|
|
3
|
+
## 2.0b48 2026-05-07
|
|
4
|
+
|
|
5
|
+
- [x] static: unroll small array scans for simple type checks
|
|
6
|
+
- [x] test: cover more array unrolling cases
|
|
7
|
+
- [x] front: add option to control array type check unrolling
|
|
8
|
+
- [x] perf: check for unroll minsize parameter depending on language
|
|
9
|
+
- [x] static: improve reporting for unrolled array simple type check
|
|
10
|
+
- [x] perf: improve extraction script performance (sh to python)
|
|
11
|
+
- [x] front: show git hash on `--version`?
|
|
12
|
+
- [x] front: switch to dynamic versioning
|
|
13
|
+
|
|
14
|
+
## 2.0b46 2026-05-03
|
|
4
15
|
|
|
5
16
|
- [x] c-backend: test real then int when checking for a number
|
|
6
17
|
- [x] static: provide type of array elements for unique
|
|
@@ -15,6 +26,7 @@
|
|
|
15
26
|
- [x] optim: remove min props covered by mandatory props
|
|
16
27
|
- [x] optim: check max props wrt mandatory props
|
|
17
28
|
- [x] pr: cleanup backlog and create version markdown
|
|
29
|
+
- [x] docker: use ubuntu 26.04 base
|
|
18
30
|
|
|
19
31
|
## 2.0b45 2026-04-25
|
|
20
32
|
|
|
@@ -329,9 +341,160 @@
|
|
|
329
341
|
|
|
330
342
|
## 2.0b18 2025-09-11
|
|
331
343
|
|
|
344
|
+
- [x] static: optimize function mapping by skipping intermediate functions if possible
|
|
345
|
+
|
|
346
|
+
## 2.0b16 2025-09-09
|
|
347
|
+
|
|
332
348
|
- [x] model: filter out all comments from transformations
|
|
333
349
|
- [x] c-backend: improve overhead estimation accuracy
|
|
334
|
-
|
|
350
|
+
|
|
351
|
+
## 2.0b15 2025-09-08
|
|
352
|
+
|
|
353
|
+
- [x] pl-backend: work around reference issues
|
|
354
|
+
- [x] command: add `--schema-version` to force schema version output
|
|
355
|
+
- [x] pr: remove _wip_ cover page from web site
|
|
356
|
+
|
|
357
|
+
## 2.0b13 2025-09-06
|
|
358
|
+
|
|
359
|
+
- [x] pr: improve tuto docker launch
|
|
360
|
+
- [x] pl-backend: add function declarations, needed for some recursions
|
|
361
|
+
|
|
362
|
+
## 2.0b12 2025-09-02
|
|
363
|
+
|
|
364
|
+
- [x] js-frontend: do several iterations to measure the loop overhead
|
|
365
|
+
- [x] python: fix venv installation issue with `pl/JSON` directory
|
|
366
|
+
|
|
367
|
+
## 2.0b11 2025-08-30
|
|
368
|
+
|
|
369
|
+
- [x] py-frontend: fix line numbering for jsonl
|
|
370
|
+
|
|
371
|
+
## 2.0b10 2025-08-30
|
|
372
|
+
|
|
373
|
+
- [x] java-frontend: improve check interface and calls
|
|
374
|
+
- [x] js-frontend: fix line numbering for jsonl
|
|
375
|
+
|
|
376
|
+
## 2.0b9 2025-08-29
|
|
377
|
+
|
|
378
|
+
- [x] c-backend: add inlining and branch hints
|
|
379
|
+
- [x] c-frontend: fix --version display
|
|
380
|
+
- [x] py-frontend: fix line display for jsonl and test vectors
|
|
381
|
+
|
|
382
|
+
## 2.0b7 2025-08-28
|
|
383
|
+
|
|
384
|
+
- [x] pl-backend: fix utf8 JSON handling `mv-21/pJSON`
|
|
385
|
+
- [x] pr: docker tuto script fix pull
|
|
386
|
+
- [x] command: add `--jsonl` support
|
|
387
|
+
- [x] pr: java-backend maven packaging and publication
|
|
388
|
+
- [x] pr: update example re in tuto
|
|
389
|
+
- [x] dev: complete publish task in root makefile
|
|
390
|
+
- [x] pr: review readme, what is the introductory story?
|
|
391
|
+
- [x] java-backend: fix `mv-0a/base-18` unique
|
|
392
|
+
- [x] qa: rerun all pytest checks
|
|
393
|
+
- [x] qa: rerun all source checks
|
|
394
|
+
- [x] qa: ensure that full validation runs in docker zx80/jmc
|
|
395
|
+
- [x] src: restructure runtime per language
|
|
396
|
+
- [x] pr: write `everything.model.json` for illustration and test
|
|
397
|
+
- [x] command: add cache management options, eg cleaning, ignore…
|
|
398
|
+
- [x] java-backend: jsonp tested with joy
|
|
399
|
+
- [x] java-backend: jsonp with johnzon, same issues compared to joy…
|
|
400
|
+
- [x] design: check `$BOOL` vs `$BOOLEAN` support
|
|
401
|
+
- [x] pr: complete spec
|
|
402
|
+
- [x] design: force static information on `@` constraints for optimizations
|
|
403
|
+
- [x] pr: howto entry about python dyn code
|
|
404
|
+
- [x] pr: add about project page which include some stats
|
|
405
|
+
- [x] pr: howto entry about python projects
|
|
406
|
+
- [x] pr: restructure web site, avoid some duplication
|
|
407
|
+
- [x] pr: python static api
|
|
408
|
+
- [x] pr: python dynamic api
|
|
409
|
+
- [x] pr: js api
|
|
410
|
+
- [x] pr: c api
|
|
411
|
+
- [x] tests: fix generated json model schema test by switching to jschon
|
|
412
|
+
- [x] pr: plpgsql api
|
|
413
|
+
- [x] pr: perl api
|
|
414
|
+
- [x] pr: java api
|
|
415
|
+
- [x] pr: js howto
|
|
416
|
+
|
|
417
|
+
## 2.0b4 2025-08-12
|
|
418
|
+
|
|
419
|
+
- [x] command: fix handling of stdin for a model
|
|
420
|
+
- [x] pr: publish pl runtime on cpan
|
|
421
|
+
- [x] java-backend: env `JSON_MODEL_JAVA_JSON_LIB` can control JSON lib selection
|
|
422
|
+
- [x] java-fe: add help stuff
|
|
423
|
+
- [x] java-backend: use package if set
|
|
424
|
+
- [x] sql-backend: handle package as schema name if set
|
|
425
|
+
- [x] java-fe: implement list option
|
|
426
|
+
- [x] pr: add java to docker
|
|
427
|
+
- [x] \*-backend: add `$JSON` predef for all
|
|
428
|
+
- [x] pr: add java to tuto
|
|
429
|
+
- [x] pr: fix java utf8 with docker
|
|
430
|
+
|
|
431
|
+
## 2.0b3 2025-08-09
|
|
432
|
+
|
|
433
|
+
- [x] pr: howto entry about installation
|
|
434
|
+
- [x] pr: bootstrap spec
|
|
435
|
+
- [x] pr: bootstrap doc
|
|
436
|
+
- [x] pr: bootstrap api
|
|
437
|
+
- [x] pr: add cover page
|
|
438
|
+
- [x] pr: add front page to `models`
|
|
439
|
+
- [x] pr: fix http requests without `.model.json` suffix (cri conf)
|
|
440
|
+
- [x] pr: provide a non-root docker
|
|
441
|
+
- [x] command: add --static compilation option to avoid dependencies?
|
|
442
|
+
- [x] pr: publish the docker image `zx80/jmc:2.0b1`
|
|
443
|
+
- [x] pr: use docker for tuto
|
|
444
|
+
- [x] docker: allow to execute stuff inside the docker
|
|
445
|
+
- [x] pl-backend: add a Perl backend
|
|
446
|
+
- [x] tests: add pl tests
|
|
447
|
+
- [x] backends: generate a short version string for internal tests
|
|
448
|
+
- [x] tests: fix `test_models_pl`
|
|
449
|
+
- [x] command: reject models and values with duplicated props by default
|
|
450
|
+
- [x] pr: add pl to docker
|
|
451
|
+
- [x] pr: add pl to tuto
|
|
452
|
+
- [x] pr: add pl to readme
|
|
453
|
+
- [x] pl-backend: fix `--jsonl` loading and improve jsonschema-benchmark output
|
|
454
|
+
- [x] pr: add jmc-pl to jsonschema-benchmark
|
|
455
|
+
- [x] docker: add `help` and `run` to docker wrapper
|
|
456
|
+
- [x] pr: review readme for docker
|
|
457
|
+
- [x] python: refactor preproc vs compile vs codegen…
|
|
458
|
+
- [x] command: write a man-page or similar?
|
|
459
|
+
- [x] pl-frontend: expand `--help`
|
|
460
|
+
- [x] pr: add pl to howto
|
|
461
|
+
- [x] pl-backend: check perl module package generation.
|
|
462
|
+
- [x] design: object comments starting with `#`, not just `#`
|
|
463
|
+
- [x] design: array comments `# …` to be ignored
|
|
464
|
+
- [x] frontends: add `--no-report`
|
|
465
|
+
- [x] pr: howto entry about python code
|
|
466
|
+
- [x] pr: update `models/...` to take advantage of multi-comments
|
|
467
|
+
- [x] pr: ask for pause account
|
|
468
|
+
- [x] pr: ship man page with `--doc` option
|
|
469
|
+
- [x] pl-backend: move to subdir + jsb PR update
|
|
470
|
+
- [x] export: simple stuff to python pydantic
|
|
471
|
+
- [x] pr: tuto pydantic export example
|
|
472
|
+
- [x] export: use pydantic predefs and the class syntax
|
|
473
|
+
- [x] pr: readme pydantic export example
|
|
474
|
+
- [x] export: possible generate the root model
|
|
475
|
+
- [x] java-backend: jackson gson ~jsonp moshi~
|
|
476
|
+
see [perfs](https://github.com/fabienrenaud/java-json-benchmark)
|
|
477
|
+
- [x] java-backend: add code generator and runtime, with abstracted json representation
|
|
478
|
+
- [x] java-backend: pass validation tests with jackson
|
|
479
|
+
- [x] java-backend: pass validation tests with gson
|
|
480
|
+
- [x] java-backend: fix `mv-18/dis_0[13]` `mv-19/tag01` `mv-1a/opt_07` GSON/Jackson diff
|
|
481
|
+
- [x] test: enable java tests with pytest
|
|
482
|
+
- [x] command: allow direct java compilation
|
|
483
|
+
- [x] pr: update tuto with some Java
|
|
484
|
+
|
|
485
|
+
## 2.0b1 2025-07-20
|
|
486
|
+
|
|
487
|
+
- [x] sql-backend: package support as an extension
|
|
488
|
+
- [x] pr: register `json-model.org` domain
|
|
489
|
+
- [x] doc: bootstrap jmc manpage with pandoc
|
|
490
|
+
- [x] pr: setup official http/https web page
|
|
491
|
+
- [x] pr: improve official web page with docsify
|
|
492
|
+
- [x] optim: simplify int constraints
|
|
493
|
+
- [x] optim: simplify some property regex
|
|
494
|
+
- [x] model: add `pgxn` model
|
|
495
|
+
- [x] pr: register as an [official pgxs extension](https://pgxn.org/dist/json_model/).
|
|
496
|
+
- [x] doc: complete jmc manpage
|
|
497
|
+
- [x] pr: publish as a [python package](https://pypi.org/project/json-model-compiler/)
|
|
335
498
|
|
|
336
499
|
## Previous
|
|
337
500
|
|
|
@@ -570,121 +733,3 @@
|
|
|
570
733
|
- [x] python: fix internal checker on test cases
|
|
571
734
|
- [x] js-backend: warn about strict/loose
|
|
572
735
|
- [x] sql-backend: warn about strict/loose
|
|
573
|
-
- [x] sql-backend: package support as an extension
|
|
574
|
-
- [x] pr: register `json-model.org` domain
|
|
575
|
-
- [x] doc: bootstrap jmc manpage with pandoc
|
|
576
|
-
- [x] pr: setup official http/https web page
|
|
577
|
-
- [x] pr: improve official web page with docsify
|
|
578
|
-
- [x] optim: simplify int constraints
|
|
579
|
-
- [x] optim: simplify some property regex
|
|
580
|
-
- [x] model: add `pgxn` model
|
|
581
|
-
- [x] pr: register as an [official pgxs extension](https://pgxn.org/dist/json_model/).
|
|
582
|
-
- [x] doc: complete jmc manpage
|
|
583
|
-
- [x] pr: publish as a [python package](https://pypi.org/project/json-model-compiler/)
|
|
584
|
-
- [x] pr: howto entry about installation
|
|
585
|
-
- [x] pr: bootstrap spec
|
|
586
|
-
- [x] pr: bootstrap doc
|
|
587
|
-
- [x] pr: bootstrap api
|
|
588
|
-
- [x] pr: add cover page
|
|
589
|
-
- [x] pr: add front page to `models`
|
|
590
|
-
- [x] pr: fix http requests without `.model.json` suffix (cri conf)
|
|
591
|
-
- [x] pr: provide a non-root docker
|
|
592
|
-
- [x] command: add --static compilation option to avoid dependencies?
|
|
593
|
-
- [x] pr: publish the docker image `zx80/jmc:2.0b1`
|
|
594
|
-
- [x] pr: use docker for tuto
|
|
595
|
-
- [x] docker: allow to execute stuff inside the docker
|
|
596
|
-
- [x] pl-backend: add a Perl backend
|
|
597
|
-
- [x] tests: add pl tests
|
|
598
|
-
- [x] backends: generate a short version string for internal tests
|
|
599
|
-
- [x] tests: fix `test_models_pl`
|
|
600
|
-
- [x] command: reject models and values with duplicated props by default
|
|
601
|
-
- [x] pr: add pl to docker
|
|
602
|
-
- [x] pr: add pl to tuto
|
|
603
|
-
- [x] pr: add pl to readme
|
|
604
|
-
- [x] pl-backend: fix `--jsonl` loading and improve jsonschema-benchmark output
|
|
605
|
-
- [x] pr: add jmc-pl to jsonschema-benchmark
|
|
606
|
-
- [x] docker: add `help` and `run` to docker wrapper
|
|
607
|
-
- [x] pr: review readme for docker
|
|
608
|
-
- [x] python: refactor preproc vs compile vs codegen…
|
|
609
|
-
- [x] command: write a man-page or similar?
|
|
610
|
-
- [x] pl-frontend: expand `--help`
|
|
611
|
-
- [x] pr: add pl to howto
|
|
612
|
-
- [x] pl-backend: check perl module package generation.
|
|
613
|
-
- [x] design: object comments starting with `#`, not just `#`
|
|
614
|
-
- [x] design: array comments `# …` to be ignored
|
|
615
|
-
- [x] frontends: add `--no-report`
|
|
616
|
-
- [x] pr: howto entry about python code
|
|
617
|
-
- [x] pr: update `models/...` to take advantage of multi-comments
|
|
618
|
-
- [x] pr: ask for pause account
|
|
619
|
-
- [x] pr: ship man page with `--doc` option
|
|
620
|
-
- [x] pl-backend: move to subdir + jsb PR update
|
|
621
|
-
- [x] export: simple stuff to python pydantic
|
|
622
|
-
- [x] pr: tuto pydantic export example
|
|
623
|
-
- [x] export: use pydantic predefs and the class syntax
|
|
624
|
-
- [x] pr: readme pydantic export example
|
|
625
|
-
- [x] export: possible generate the root model
|
|
626
|
-
- [x] java-backend: jackson gson ~jsonp moshi~
|
|
627
|
-
see [perfs](https://github.com/fabienrenaud/java-json-benchmark)
|
|
628
|
-
- [x] java-backend: add code generator and runtime, with abstracted json representation
|
|
629
|
-
- [x] java-backend: pass validation tests with jackson
|
|
630
|
-
- [x] java-backend: pass validation tests with gson
|
|
631
|
-
- [x] java-backend: fix `mv-18/dis_0[13]` `mv-19/tag01` `mv-1a/opt_07` GSON/Jackson diff
|
|
632
|
-
- [x] test: enable java tests with pytest
|
|
633
|
-
- [x] command: allow direct java compilation
|
|
634
|
-
- [x] pr: update tuto with some Java
|
|
635
|
-
- [x] command: fix handling of stdin for a model
|
|
636
|
-
- [x] pr: publish pl runtime on cpan
|
|
637
|
-
- [x] java-backend: env `JSON_MODEL_JAVA_JSON_LIB` can control JSON lib selection
|
|
638
|
-
- [x] java-fe: add help stuff
|
|
639
|
-
- [x] java-backend: use package if set
|
|
640
|
-
- [x] sql-backend: handle package as schema name if set
|
|
641
|
-
- [x] java-fe: implement list option
|
|
642
|
-
- [x] pr: add java to docker
|
|
643
|
-
- [x] \*-backend: add `$JSON` predef for all
|
|
644
|
-
- [x] pr: add java to tuto
|
|
645
|
-
- [x] pr: fix java utf8 with docker
|
|
646
|
-
- [x] pl-backend: fix utf8 JSON handling `mv-21/pJSON`
|
|
647
|
-
- [x] pr: docker tuto script fix pull
|
|
648
|
-
- [x] command: add `--jsonl` support
|
|
649
|
-
- [x] pr: java-backend maven packaging and publication
|
|
650
|
-
- [x] pr: update example re in tuto
|
|
651
|
-
- [x] dev: complete publish task in root makefile
|
|
652
|
-
- [x] pr: review readme, what is the introductory story?
|
|
653
|
-
- [x] java-backend: fix `mv-0a/base-18` unique
|
|
654
|
-
- [x] qa: rerun all pytest checks
|
|
655
|
-
- [x] qa: rerun all source checks
|
|
656
|
-
- [x] qa: ensure that full validation runs in docker zx80/jmc
|
|
657
|
-
- [x] src: restructure runtime per language
|
|
658
|
-
- [x] pr: write `everything.model.json` for illustration and test
|
|
659
|
-
- [x] command: add cache management options, eg cleaning, ignore…
|
|
660
|
-
- [x] java-backend: jsonp tested with joy
|
|
661
|
-
- [x] java-backend: jsonp with johnzon, same issues compared to joy…
|
|
662
|
-
- [x] design: check `$BOOL` vs `$BOOLEAN` support
|
|
663
|
-
- [x] pr: complete spec
|
|
664
|
-
- [x] design: force static information on `@` constraints for optimizations
|
|
665
|
-
- [x] pr: howto entry about python dyn code
|
|
666
|
-
- [x] pr: add about project page which include some stats
|
|
667
|
-
- [x] pr: howto entry about python projects
|
|
668
|
-
- [x] pr: restructure web site, avoid some duplication
|
|
669
|
-
- [x] pr: python static api
|
|
670
|
-
- [x] pr: python dynamic api
|
|
671
|
-
- [x] pr: js api
|
|
672
|
-
- [x] pr: c api
|
|
673
|
-
- [x] tests: fix generated json model schema test by switching to jschon
|
|
674
|
-
- [x] pr: plpgsql api
|
|
675
|
-
- [x] pr: perl api
|
|
676
|
-
- [x] pr: java api
|
|
677
|
-
- [x] pr: js howto
|
|
678
|
-
- [x] c-backend: add inlining and branch hints
|
|
679
|
-
- [x] c-frontend: fix --version display
|
|
680
|
-
- [x] py-frontend: fix line display for jsonl and test vectors
|
|
681
|
-
- [x] java-frontend: improve check interface and calls
|
|
682
|
-
- [x] js-frontend: fix line numbering for jsonl
|
|
683
|
-
- [x] py-frontend: fix line numbering for jsonl
|
|
684
|
-
- [x] js-frontend: do several iterations to measure the loop overhead
|
|
685
|
-
- [x] python: fix venv installation issue with `pl/JSON` directory
|
|
686
|
-
- [x] pr: improve tuto docker launch
|
|
687
|
-
- [x] pl-backend: add function declarations, needed for some recursions
|
|
688
|
-
- [x] pl-backend: work around reference issues
|
|
689
|
-
- [x] command: add `--schema-version` to force schema version output
|
|
690
|
-
- [x] pr: remove _wip_ cover page from web site
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
version.py
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.0b48
|
|
@@ -21,7 +21,7 @@ B<jmc> - JSON Model Compiler
|
|
|
21
21
|
[--name NAME] [-[-no]-report] [--none] [--true] [--false] [--test-vector]
|
|
22
22
|
[--map-threshold THRESHOLD] [--map-share] [-[-no]-strcmp-optimize] [--byte-order (le|be)]
|
|
23
23
|
[--may-must-open-threshold THRESHOLD] [--must-only-threshold THRESHOLD]
|
|
24
|
-
[--partition-threshold THRESHOLD] [--or-must-prop THRESHOLD]
|
|
24
|
+
[--partition-threshold THRESHOLD] [--or-must-prop THRESHOLD] [--array-unrolling-size=SIZE]
|
|
25
25
|
[--max-strcmp-cset SIZE] [-[-no]-sort-must] [-[-no]-sort-may] [-[-no]-predef]
|
|
26
26
|
[--op {P,U,J,N,E,C} | --preproc | --dump | --jdump | --nope | --export | --compile]
|
|
27
27
|
[--output OUTPUT] (--model MODEL | MODEL) [VALUES ...]
|
|
@@ -214,6 +214,10 @@ whether to check value contents wrt predef declarations.
|
|
|
214
214
|
|
|
215
215
|
whether to assume that regex are implicitely single line (C<s> option).
|
|
216
216
|
|
|
217
|
+
=item B<--array-unrolling-size SIZE>
|
|
218
|
+
|
|
219
|
+
maximum size of simple array unrolling.
|
|
220
|
+
|
|
217
221
|
=back
|
|
218
222
|
|
|
219
223
|
=head2 C Compilation
|
|
@@ -105,6 +105,8 @@ def _getEffect(op: Jsonable, bool_vars: set[str], reporting: bool) -> Effect:
|
|
|
105
105
|
read, write, value = _getEffect(op["e1"], bool_vars, reporting)
|
|
106
106
|
r, w, v = _getEffect(op["e2"], bool_vars, reporting)
|
|
107
107
|
read |= r; write |= w; value.update(v)
|
|
108
|
+
case "gv":
|
|
109
|
+
read |= {op["var"]}
|
|
108
110
|
case "&"|"|":
|
|
109
111
|
for e in op["exprs"]:
|
|
110
112
|
r, w, v = _getEffect(e, bool_vars, reporting)
|
|
@@ -285,6 +285,7 @@ def java_compile(java_code: str, args):
|
|
|
285
285
|
java_file.unlink()
|
|
286
286
|
assert status == 0, f"Java compilation succeeded: {command}"
|
|
287
287
|
|
|
288
|
+
|
|
288
289
|
#
|
|
289
290
|
# Compiler entry point
|
|
290
291
|
#
|
|
@@ -458,6 +459,8 @@ def jmc_script(xargs: list[str]|None = None) -> int:
|
|
|
458
459
|
help="assume single line regex")
|
|
459
460
|
arg("--no-single-line-regex", "-nslrx", dest="single_line_regex", action="store_false",
|
|
460
461
|
help="do not assume single line regex")
|
|
462
|
+
arg("--array-unrolling-size", "-aus", type=int, default=None,
|
|
463
|
+
help="maximum array unrolling size for simple arrays")
|
|
461
464
|
|
|
462
465
|
# IR optimizations (if simplification, call skipping?)
|
|
463
466
|
arg("--ir-optimize", "-Oir", dest="ir_optimize", action="store_true", default=True,
|
|
@@ -750,6 +753,7 @@ def jmc_script(xargs: list[str]|None = None) -> int:
|
|
|
750
753
|
or_must_prop=args.or_must_prop, comment=args.comment,
|
|
751
754
|
sort_must=args.sort_must, sort_may=args.sort_may,
|
|
752
755
|
max_strcmp_cset=args.max_strcmp_cset,
|
|
756
|
+
array_unrolling_size=args.array_unrolling_size,
|
|
753
757
|
)
|
|
754
758
|
source = str(code)
|
|
755
759
|
|