json-model-compiler 2.0b42__tar.gz → 2.0b44__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.0b42/site → json_model_compiler-2.0b44}/BACKLOG.md +68 -64
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/BENCH.md +2 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/Makefile +26 -6
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/PKG-INFO +1 -1
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/optim.py +1 -1
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/runtime/pl/Changes +2 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/runtime/pl/Makefile.PL +1 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/script.py +15 -15
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model_compiler.egg-info/PKG-INFO +1 -1
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model_compiler.egg-info/SOURCES.txt +7 -1
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/pyproject.toml +1 -1
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44/site}/BACKLOG.md +68 -64
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/BENCH.md +2 -0
- json_model_compiler-2.0b44/site/benchmarks/2026042001.csv +176 -0
- json_model_compiler-2.0b44/site/benchmarks/2026042001.json +296 -0
- json_model_compiler-2.0b44/site/benchmarks/2026042001.md +221 -0
- json_model_compiler-2.0b44/site/benchmarks/2026042400.csv +176 -0
- json_model_compiler-2.0b44/site/benchmarks/2026042400.json +296 -0
- json_model_compiler-2.0b44/site/benchmarks/2026042400.md +221 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/.gitignore +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/.gitmodules +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/API.md +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/DESIGN.md +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/DEV.md +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/DOC.md +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/HOWTO.md +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/INTEGRATION.md +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/MANIFEST.in +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/PUBS.md +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/README.md +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/SPEC.md +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/TUTO.md +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/about.sh +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/container/.dockerignore +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/container/.gitignore +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/container/Makefile +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/container/README.md +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/container/base.container +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/container/jmc +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/container/jmc.container +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/README.md +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/__init__.py +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/analyze.py +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/clang.py +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/convert.py +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/data/clang_entry.c +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/data/clang_free.c +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/data/clang_init.c +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/data/clang_pcre2_fun.c +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/data/clang_re2_fun.c +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/data/java_free.java +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/data/java_init.java +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/data/javascript_exe.js +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/data/javascript_foot.js +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/data/javascript_free.js +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/data/javascript_head.js +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/data/javascript_init.js +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/data/javascript_main.js +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/data/jmc.pod +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/data/perl_entry.pl +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/data/perl_exe.pl +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/data/perl_free.pl +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/data/perl_init.pl +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/data/perl_main.pl +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/data/perl_pkg.pl +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/data/plpgsql_entry.sql +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/data/python_entry.py +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/data/python_exe.py +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/data/python_free.py +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/data/python_init.py +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/data/python_main.py +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/export.py +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/irep.py +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/java.py +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/javascript.py +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/language.py +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/model.py +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/mtypes.py +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/objops.py +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/perl.py +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/plpgsql.py +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/predefs.py +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/python.py +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/recurse.py +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/resolver.py +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/runtime/Makefile +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/runtime/__init__.py +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/runtime/c/Makefile +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/runtime/c/json-model.c +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/runtime/c/json-model.h +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/runtime/c/main.c +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/runtime/java/.gitignore +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/runtime/java/Makefile +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/runtime/java/README.md +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/runtime/java/env.sh +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/runtime/java/json_model/Checker.java +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/runtime/java/json_model/GSON.java +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/runtime/java/json_model/JSON.java +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/runtime/java/json_model/JSONP.java +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/runtime/java/json_model/Jackson.java +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/runtime/java/json_model/Main.java +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/runtime/java/json_model/ModelChecker.java +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/runtime/java/json_model/Path.java +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/runtime/java/json_model/Report.java +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/runtime/java/json_model/Runtime.java +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/runtime/java/pom.xml +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/runtime/js/README.md +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/runtime/js/index.js +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/runtime/js/main.js +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/runtime/js/package.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/runtime/pl/.gitignore +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/runtime/pl/LICENSE +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/runtime/pl/MANIFEST +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/runtime/pl/README +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/runtime/pl/env.sh +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/runtime/pl/ignore.txt +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/runtime/pl/lib/JSON/JsonModel.pm +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/runtime/pl/t/00-load.t +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/runtime/pl/t/manifest.t +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/runtime/pl/t/pod-coverage.t +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/runtime/pl/t/pod.t +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/runtime/pl/xt/boilerplate.t +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/runtime/sql/META.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/runtime/sql/Makefile +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/runtime/sql/json_model--2.0.sql +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/runtime/sql/json_model.control +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/runtime/support.py +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/runtime/types.py +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/submodel.py +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/url_cache.py +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/utils.py +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model/xstatic.py +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model_compiler.egg-info/dependency_links.txt +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model_compiler.egg-info/entry_points.txt +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model_compiler.egg-info/requires.txt +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model_compiler.egg-info/top_level.txt +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/ansiblelint-meta.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/cypress.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/diploma-arrete.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/diploma-export.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/everything.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/fresq.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/geo-easy.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/geo.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/jmc-ir.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/json-model-latest.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/json-model-moschin.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/json-model-no-merge.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/json-model-v1.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/json-model-v2-en.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/json-model-v2.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/json-model.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/json-schema-draft-01-fuzzy.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/json-schema-draft-01-nesting.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/json-schema-draft-01.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/json-schema-draft-02-fuzzy.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/json-schema-draft-02-nesting.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/json-schema-draft-02.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/json-schema-draft-03-fuzzy.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/json-schema-draft-03-nesting.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/json-schema-draft-03.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/json-schema-draft-04-fuzzy.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/json-schema-draft-04-mongodb.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/json-schema-draft-04-nesting.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/json-schema-draft-04.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/json-schema-draft-06-fuzzy.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/json-schema-draft-06.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/json-schema-draft-07-fuzzy.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/json-schema-draft-07.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/json-schema-draft-2019-09-fuzzy.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/json-schema-draft-2019-09.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/json-schema-draft-2020-12-fuzzy.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/json-schema-draft-2020-12-tight.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/json-schema-draft-2020-12.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/json-schema-draft-next-fuzzy.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/json-schema-draft-next.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/json-schema-draft-tight.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/json-schema-draft-tighter-loose.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/json-schema-draft-tighter.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/json-schema-linter.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/jsound.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/l10n.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/lazygit.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/openapi-311-fuzzy.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/openapi-311-models.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/openapi-311.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/person.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/person2.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/pgxn.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/models/test-schema.model.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/package.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/setup.cfg +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/API.md +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/DEV.md +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/DOC.md +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/HOWTO.md +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/PUBS.md +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/README.md +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/SPEC.md +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/TUTO.md +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/benchmarks/2026030700.csv +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/benchmarks/2026030700.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/benchmarks/2026030700.md +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/benchmarks/2026030703.csv +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/benchmarks/2026030703.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/benchmarks/2026030703.md +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/benchmarks/2026030901.csv +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/benchmarks/2026030901.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/benchmarks/2026030901.md +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/benchmarks/2026031000.csv +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/benchmarks/2026031000.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/benchmarks/2026031000.md +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/benchmarks/2026031300.csv +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/benchmarks/2026031300.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/benchmarks/2026031300.md +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/benchmarks/2026031400.csv +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/benchmarks/2026031400.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/benchmarks/2026031400.md +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/benchmarks/2026031900.csv +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/benchmarks/2026031900.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/benchmarks/2026031900.md +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/benchmarks/2026032500.csv +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/benchmarks/2026032500.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/benchmarks/2026032500.md +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/benchmarks/2026032700.csv +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/benchmarks/2026032700.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/benchmarks/2026032700.md +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/benchmarks/2026032801.csv +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/benchmarks/2026032801.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/benchmarks/2026032801.md +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/benchmarks/2026040200.csv +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/benchmarks/2026040200.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/benchmarks/2026040200.md +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/benchmarks/2026040300.csv +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/benchmarks/2026040300.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/benchmarks/2026040300.md +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/benchmarks/2026040400.csv +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/benchmarks/2026040400.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/benchmarks/2026040400.md +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/benchmarks/2026040700.csv +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/benchmarks/2026040700.json +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/benchmarks/2026040700.md +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/cover.md +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/favicon.ico +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/index.html +0 -0
- {json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/site/json_logo.svg +0 -0
|
@@ -2,69 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
## Current Tasks
|
|
4
4
|
|
|
5
|
-
- [x]
|
|
6
|
-
- [x]
|
|
7
|
-
- [
|
|
8
|
-
- [
|
|
9
|
-
- [x] perf: add speed in lines per µs which seems more significant
|
|
10
|
-
- [x] command: add `-mtune=native` to C compilation
|
|
11
|
-
- [x] optim: simplify _&_ with same props and regs plus optional wildcards
|
|
12
|
-
- [x] optim: simplify _X & Y_ to _X_ when _X_ is a submodel of _Y_
|
|
13
|
-
- [x] py-backend: add predefs IP4 IP6 HOST
|
|
14
|
-
- [x] \*-backend: use a common predef for RFC3339 DURATION UUID EMAIL JSONPT
|
|
15
|
-
- [x] \*-backend: add approximated backup regex for predefs when not implemented by runtime
|
|
16
|
-
- [x] predefs: add `$__EXTENSION_COLOR`
|
|
17
|
-
- [x] predefs: refactor multiple instances in the sources into `predefs.py`
|
|
18
|
-
- [x] predefs: add `$ETH` for ethernet (mac) addresses
|
|
19
|
-
- [x] static: recognize and generate better code for typed _not_: _"" ^ "xxx"_
|
|
20
|
-
- [x] ir: add forward substitution between assignments when used once
|
|
21
|
-
- [x] py-backend: filter out zone id suffix from ip6
|
|
22
|
-
- [x] predefs: add `$CARD` for 16 digits credit card numbers with Luhn's checksum
|
|
23
|
-
- [x] predefs: add `$CARD` to js, perl, java and sql runtime.
|
|
24
|
-
- [x] predefs: filter predef extensions with `--extend`
|
|
25
|
-
- [x] ~static: if only one open prop, just look for it~ depends on language and costs
|
|
26
|
-
- [x] ir: improve forward subs, move bool decl to first assignment in seq
|
|
27
|
-
- [x] static: use combined assignment and test if possible on discriminator extraction
|
|
28
|
-
- [x] static: fix any-by-one pattern on string predefs
|
|
29
|
-
- [x] py-runtime: allow lowercase tz in datetime
|
|
30
|
-
- [x] py-runtime: add workarounds for leap seconds and other intricacies
|
|
31
|
-
- [x] predefs: add `$__EXTENSION_REL_JSONPT` as a regex
|
|
32
|
-
- [x] predefs: distinguish simple time and time with mandatory tz for jsu `time` format
|
|
33
|
-
- [x] static: avoid double type checks on or with predefs (java, sql, perl)
|
|
34
|
-
- [x] ~ir: remove simple redundant checks _(X && (X && Z) || (X && Y))_ is _X && (Z || Y)_~ (see previous)
|
|
35
|
-
- [x] c-backend: simple regex compiler for special character classes and repeat
|
|
36
|
-
- [x] c-backend: simple regex compiler cache is okay with existing regex cache
|
|
37
|
-
- [x] c-backend: add custom character classes based on benchmarks (ident, space, up/low/hexa/num/…)
|
|
38
|
-
- [x] optim: `/.+/` is `/./`, `/(.+)/`, `/(.*)/`
|
|
39
|
-
- [x] optim: remove unescaped `.*` at end of regex, also `.+/` is `./`
|
|
40
|
-
- [x] c-backend: normalize before character class matching
|
|
41
|
-
- [x] c-backend: extend simple regex with constant prefix
|
|
42
|
-
- [x] c-backend: extend simple regex without end-of-text (`$`)
|
|
43
|
-
- [x] optim: apply simpler re to property names
|
|
44
|
-
- [x] optim: improve model intersection to simplify `&` in more cases
|
|
45
|
-
- [x] optim: improve intersect on single open constraint object case
|
|
46
|
-
- [x] optim: avoid reference expansion in and combine optimization
|
|
47
|
-
- [x] c-backend: optimize special regex `/./` `/./s` `/^.*$/` `/^.+$/`
|
|
48
|
-
- [x] static: detect or of any-but-some type to generate a not instead, beware of looseness
|
|
49
|
-
- [x] static: do not create a separate function for an basic object check
|
|
50
|
-
- [x] static: generate messages in newly added shortcuts
|
|
51
|
-
- [x] c-backend: regex list of words to enum?
|
|
52
|
-
- [x] c-backend: fast ic str comparison by switching to _lower char_ with a set test?
|
|
53
|
-
- [x] c-backend: improve regex opt cset prettyprinting
|
|
54
|
-
- [x] c-backend: extend simple regex to sequences of prefix/chars/repeats
|
|
55
|
-
- [x] c-backend: add custom char class `[A-Za-z0-9_\\-:]` `[1-9]`
|
|
56
|
-
- [x] container: separate base from specific installs to improve cache/no-cache build
|
|
57
|
-
- [x] static: improve pattern matching for starts with/ends with/eq regex optim
|
|
58
|
-
- [x] static: improve endswith pattern recognition with escapes, eg `/\\.js$/`
|
|
59
|
-
- [x] c-backend: improve startwith code with fast str eq when string is a function call
|
|
60
|
-
- [x] c-backend: improve `str_cmp` with fast str eq when string is a function call
|
|
61
|
-
- [x] c-backend: check str cmp optims with utf8 strings
|
|
62
|
-
- [x] static: preserve prop order by default
|
|
63
|
-
- [x] c-backend: add custom character classes `[-a-z0-9_]` variants
|
|
64
|
-
- [x] c-backend: use counter for multithreaded tests
|
|
65
|
-
- [x] c-backend: fix multiple brace repeats in simple regex optimization
|
|
66
|
-
- [x] model: add option to `s` on regex? else `.` is any but `\n` and sometimes `\r`
|
|
67
|
-
- [x] optim: `/^.{1,256}$/`? only under `/s` though…
|
|
5
|
+
- [x] optim: override simpler regex props if stricter
|
|
6
|
+
- [x] front: allow to call script as a function
|
|
7
|
+
- [ ] perl-backend: do not import RE2 unless required in generated script
|
|
8
|
+
- [ ] perl-backend: improve resilience to missing dependencies, eg `Algorithm::LUHN`.
|
|
68
9
|
- [ ] perf: show schema to model conversion times
|
|
69
10
|
- [ ] js-backend: remove useless braces
|
|
70
11
|
- [ ] c-backend: use str cmp for ends with optimization as well
|
|
@@ -884,4 +825,67 @@
|
|
|
884
825
|
- [x] command: show runtime directory with `--runtime`
|
|
885
826
|
- [x] optim: better merge `&` list when possible, including regex prefix incompatibilities
|
|
886
827
|
- [x] js-backend: export model map
|
|
887
|
-
- [x] pl-backend: add and export `
|
|
828
|
+
- [x] pl-backend: add and export `mapper` function
|
|
829
|
+
- [x] \*-backend: remove `--jsonschema-benchmark` handling as it is moved to this repo
|
|
830
|
+
- [x] command: add `--no-comment` option not to generate comments in source code
|
|
831
|
+
- [x] \*-backend: support for embedded nul characters in strings, when possible (not SQL nor C)
|
|
832
|
+
- [x] ir: use json name instead of python type names
|
|
833
|
+
- [x] perf: add speed in lines per µs which seems more significant
|
|
834
|
+
- [x] command: add `-mtune=native` to C compilation
|
|
835
|
+
- [x] optim: simplify _&_ with same props and regs plus optional wildcards
|
|
836
|
+
- [x] optim: simplify _X & Y_ to _X_ when _X_ is a submodel of _Y_
|
|
837
|
+
- [x] py-backend: add predefs IP4 IP6 HOST
|
|
838
|
+
- [x] \*-backend: use a common predef for RFC3339 DURATION UUID EMAIL JSONPT
|
|
839
|
+
- [x] \*-backend: add approximated backup regex for predefs when not implemented by runtime
|
|
840
|
+
- [x] predefs: add `$__EXTENSION_COLOR`
|
|
841
|
+
- [x] predefs: refactor multiple instances in the sources into `predefs.py`
|
|
842
|
+
- [x] predefs: add `$ETH` for ethernet (mac) addresses
|
|
843
|
+
- [x] static: recognize and generate better code for typed _not_: _"" ^ "xxx"_
|
|
844
|
+
- [x] ir: add forward substitution between assignments when used once
|
|
845
|
+
- [x] py-backend: filter out zone id suffix from ip6
|
|
846
|
+
- [x] predefs: add `$CARD` for 16 digits credit card numbers with Luhn's checksum
|
|
847
|
+
- [x] predefs: add `$CARD` to js, perl, java and sql runtime.
|
|
848
|
+
- [x] predefs: filter predef extensions with `--extend`
|
|
849
|
+
- [x] ~static: if only one open prop, just look for it~ depends on language and costs
|
|
850
|
+
- [x] ir: improve forward subs, move bool decl to first assignment in seq
|
|
851
|
+
- [x] static: use combined assignment and test if possible on discriminator extraction
|
|
852
|
+
- [x] static: fix any-by-one pattern on string predefs
|
|
853
|
+
- [x] py-runtime: allow lowercase tz in datetime
|
|
854
|
+
- [x] py-runtime: add workarounds for leap seconds and other intricacies
|
|
855
|
+
- [x] predefs: add predef `EXTENSION_REL_JSONPT` as a regex
|
|
856
|
+
- [x] predefs: distinguish simple time and time with mandatory tz for jsu `time` format
|
|
857
|
+
- [x] static: avoid double type checks on or with predefs (java, sql, perl)
|
|
858
|
+
- [x] ~ir: remove simple redundant checks _(X && (X && Z) || (X && Y))_ is _X && (Z || Y)_~ (see previous)
|
|
859
|
+
- [x] c-backend: simple regex compiler for special character classes and repeat
|
|
860
|
+
- [x] c-backend: simple regex compiler cache is okay with existing regex cache
|
|
861
|
+
- [x] c-backend: add custom character classes based on benchmarks (ident, space, up/low/hexa/num/…)
|
|
862
|
+
- [x] optim: `/.+/` is `/./`, `/(.+)/`, `/(.*)/`
|
|
863
|
+
- [x] optim: remove unescaped `.*` at end of regex, also `.+/` is `./`
|
|
864
|
+
- [x] c-backend: normalize before character class matching
|
|
865
|
+
- [x] c-backend: extend simple regex with constant prefix
|
|
866
|
+
- [x] c-backend: extend simple regex without end-of-text (`$`)
|
|
867
|
+
- [x] optim: apply simpler re to property names
|
|
868
|
+
- [x] optim: improve model intersection to simplify `&` in more cases
|
|
869
|
+
- [x] optim: improve intersect on single open constraint object case
|
|
870
|
+
- [x] optim: avoid reference expansion in and combine optimization
|
|
871
|
+
- [x] c-backend: optimize special regex `/./` `/./s` `/^.*$/` `/^.+$/`
|
|
872
|
+
- [x] static: detect or of any-but-some type to generate a not instead, beware of looseness
|
|
873
|
+
- [x] static: do not create a separate function for an basic object check
|
|
874
|
+
- [x] static: generate messages in newly added shortcuts
|
|
875
|
+
- [x] c-backend: regex list of words to enum?
|
|
876
|
+
- [x] c-backend: fast ic str comparison by switching to _lower char_ with a set test?
|
|
877
|
+
- [x] c-backend: improve regex opt cset prettyprinting
|
|
878
|
+
- [x] c-backend: extend simple regex to sequences of prefix/chars/repeats
|
|
879
|
+
- [x] c-backend: add custom char class `[A-Za-z0-9_\\-:]` `[1-9]`
|
|
880
|
+
- [x] container: separate base from specific installs to improve cache/no-cache build
|
|
881
|
+
- [x] static: improve pattern matching for starts with/ends with/eq regex optim
|
|
882
|
+
- [x] static: improve endswith pattern recognition with escapes, eg `/\\.js$/`
|
|
883
|
+
- [x] c-backend: improve startwith code with fast str eq when string is a function call
|
|
884
|
+
- [x] c-backend: improve `str_cmp` with fast str eq when string is a function call
|
|
885
|
+
- [x] c-backend: check str cmp optims with utf8 strings
|
|
886
|
+
- [x] static: preserve prop order by default
|
|
887
|
+
- [x] c-backend: add custom character classes `[-a-z0-9_]` variants
|
|
888
|
+
- [x] c-backend: use counter for multithreaded tests
|
|
889
|
+
- [x] c-backend: fix multiple brace repeats in simple regex optimization
|
|
890
|
+
- [x] model: add option to `s` on regex? else `.` is any but `\n` and sometimes `\r`
|
|
891
|
+
- [x] optim: `/^.{1,256}$/`? only under `/s` though…
|
|
@@ -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
|
+
- [2026042400](benchmarks/2026042400.md) clang, no predefs, jsu 0.9.4/jmc 2.0b43 vs sbc 15.0.0, 11 runs, 1000 iterations.
|
|
13
|
+
- [2026042001](benchmarks/2026042001.md) clang, no predefs, jsu 0.9.3/jmc 2.0b42 vs sbc 14.20.2, 11 runs, 1000 iterations.
|
|
12
14
|
- [2026040700](benchmarks/2026040700.md) clang, no predefs, jsu 0.9.2/jmc 2.0b41 vs sbc 14.20.2, 11 runs, 1000 iterations.
|
|
13
15
|
- [2026040400](benchmarks/2026040400.md) clang, no predefs, jsu 0.9.2/jmc 2.0b41 vs sbc 14.19.0, 11 runs, 1000 iterations.
|
|
14
16
|
- [2026040300](benchmarks/2026040300.md) clang, no predefs, jsu 0.9.2/jmc 2.0b41 vs sbc 14.18.0, 11 runs, 1000 iterations.
|
|
@@ -1,6 +1,10 @@
|
|
|
1
1
|
SHELL = /bin/bash
|
|
2
2
|
.ONESHELL:
|
|
3
3
|
|
|
4
|
+
#
|
|
5
|
+
# SETUP DEV ENVIRONMENT
|
|
6
|
+
#
|
|
7
|
+
|
|
4
8
|
MODULE = json_model
|
|
5
9
|
|
|
6
10
|
ifndef PYTHON
|
|
@@ -33,26 +37,41 @@ dev.js: node_modules
|
|
|
33
37
|
node_modules:
|
|
34
38
|
npm install
|
|
35
39
|
|
|
40
|
+
# FIXME get jar dependencies? rely on mvn?
|
|
36
41
|
.PHONY: dev.java
|
|
37
42
|
dev.java:
|
|
38
43
|
$(MAKE) -C json_model/runtime/java jar
|
|
39
44
|
|
|
45
|
+
#
|
|
46
|
+
# CLEANUP
|
|
47
|
+
#
|
|
48
|
+
|
|
40
49
|
.PHONY: clean
|
|
41
50
|
clean: clean.site
|
|
42
|
-
$(RM)
|
|
43
|
-
$(RM) -r .pytest_cache/ .ruff_cache/ dist/
|
|
44
|
-
find . -type d -name __pycache__ | xargs $(RM) -r
|
|
51
|
+
$(RM) *~ jmc.1
|
|
45
52
|
$(MAKE) -C tests clean
|
|
46
53
|
$(MAKE) -C json_model/runtime clean
|
|
47
54
|
|
|
55
|
+
.PHONY: clean.js
|
|
56
|
+
clean.js:
|
|
57
|
+
$(RM) package-lock.json
|
|
58
|
+
$(RM) -r node_modules
|
|
59
|
+
|
|
48
60
|
.PHONY: clean.site
|
|
49
61
|
clean.site:
|
|
50
62
|
$(RM) site/MODELS.md site/JMC.md site/ABOUT.md
|
|
51
63
|
|
|
64
|
+
.PHONY: clean.py
|
|
65
|
+
clean.py:
|
|
66
|
+
$(RM) -r .pytest_cache .ruff_cache dist venv $(MODULE).egg-info build
|
|
67
|
+
find . -type d -name __pycache__ | xargs $(RM) -r
|
|
68
|
+
|
|
52
69
|
.PHONY: clean.dev
|
|
53
|
-
clean.dev: clean
|
|
54
|
-
|
|
55
|
-
|
|
70
|
+
clean.dev: clean clean.js clean.site clean.py
|
|
71
|
+
|
|
72
|
+
#
|
|
73
|
+
# CHECK
|
|
74
|
+
#
|
|
56
75
|
|
|
57
76
|
.PHONY: check.src
|
|
58
77
|
check.src: check.ruff check.pyright
|
|
@@ -97,6 +116,7 @@ site/MODELS.md: Makefile models/
|
|
|
97
116
|
done
|
|
98
117
|
} > $@
|
|
99
118
|
|
|
119
|
+
# pod2markdown: libpod-markdown-perl
|
|
100
120
|
site/JMC.md: json_model/data/jmc.pod
|
|
101
121
|
pod2markdown $< > $@
|
|
102
122
|
|
|
@@ -873,7 +873,7 @@ def simpler_regex(jm: JsonModel) -> bool:
|
|
|
873
873
|
for p in list(model):
|
|
874
874
|
if p and p[0] == "/":
|
|
875
875
|
pp = _simpler_regex(p)
|
|
876
|
-
if pp != p and pp not in model:
|
|
876
|
+
if pp != p and (pp not in model or pp in model and model[pp] == "$ANY"):
|
|
877
877
|
changes += 1
|
|
878
878
|
model[pp] = model[p]
|
|
879
879
|
del model[p]
|
|
@@ -277,7 +277,7 @@ def java_compile(java_code: str, args):
|
|
|
277
277
|
java_file.unlink()
|
|
278
278
|
assert status == 0, f"Java compilation succeeded: {command}"
|
|
279
279
|
|
|
280
|
-
def jmc_script():
|
|
280
|
+
def jmc_script(xargs: list[str]|None = None) -> int:
|
|
281
281
|
|
|
282
282
|
import argparse
|
|
283
283
|
|
|
@@ -484,15 +484,15 @@ def jmc_script():
|
|
|
484
484
|
arg("--model", dest="model_option", type=str, help="JSON model as an option")
|
|
485
485
|
arg("model", nargs="?", help="JSON model source (file or url or \"-\" for stdin)")
|
|
486
486
|
arg("values", nargs="*", help="JSON values to testing")
|
|
487
|
-
args = ap.parse_args()
|
|
487
|
+
args = ap.parse_args(xargs)
|
|
488
488
|
|
|
489
489
|
if args.version:
|
|
490
490
|
print(pkg_version("json_model_compiler"))
|
|
491
|
-
|
|
491
|
+
return 0
|
|
492
492
|
|
|
493
493
|
if args.runtime:
|
|
494
494
|
print(files("json_model.runtime"))
|
|
495
|
-
|
|
495
|
+
return 0
|
|
496
496
|
|
|
497
497
|
# POD - Plain Old Documentation
|
|
498
498
|
if args.doc:
|
|
@@ -504,7 +504,7 @@ def jmc_script():
|
|
|
504
504
|
v = "2" if args.doc == "man" else "1" if args.doc == "help" else "0"
|
|
505
505
|
f = "Pod::Text::Termcap" if args.doc == "man" else "Pod::Text"
|
|
506
506
|
subprocess.run(["pod2usage", "-v", v, "-formatter", f], input=pod.encode("utf8"))
|
|
507
|
-
|
|
507
|
+
return 0
|
|
508
508
|
|
|
509
509
|
# manage model option vs model parameter
|
|
510
510
|
if args.model_option is None:
|
|
@@ -570,7 +570,7 @@ def jmc_script():
|
|
|
570
570
|
stem = Path(args.output).stem
|
|
571
571
|
if "-" in stem:
|
|
572
572
|
log.error(f"java class files cannot contain '-': {args.output}")
|
|
573
|
-
|
|
573
|
+
return 1
|
|
574
574
|
args.entry = args.entry or Path(args.output).stem.replace("-", "_")
|
|
575
575
|
elif args.output.endswith(".schema.json"):
|
|
576
576
|
args.format = args.format or "json"
|
|
@@ -607,28 +607,28 @@ def jmc_script():
|
|
|
607
607
|
args.format = args.format or "json"
|
|
608
608
|
if args.format not in ("json", "yaml"):
|
|
609
609
|
log.error(f"unexpected format {args.format} for operation {args.op}")
|
|
610
|
-
|
|
610
|
+
return 1
|
|
611
611
|
elif args.op == "E":
|
|
612
612
|
args.format = args.format or "json"
|
|
613
613
|
if args.format not in ("json", "yaml", "py"):
|
|
614
614
|
log.error(f"unexpected format {args.format} for operation {args.op}")
|
|
615
|
-
|
|
615
|
+
return 1
|
|
616
616
|
elif args.op == "C":
|
|
617
617
|
args.format = args.format or "py"
|
|
618
618
|
if args.format not in LANG:
|
|
619
619
|
log.error(f"unexpected format {args.format} for operation {args.op}")
|
|
620
|
-
|
|
620
|
+
return 1
|
|
621
621
|
else: # pragma: no cover
|
|
622
622
|
log.error(f"unexpected operation {args.op}")
|
|
623
|
-
|
|
623
|
+
return 1
|
|
624
624
|
|
|
625
625
|
if args.values and (args.op != "C" or args.format != "py"):
|
|
626
626
|
log.error(f"Testing JSON values requires -C for Python: {args.op} {args.format}")
|
|
627
|
-
|
|
627
|
+
return 1
|
|
628
628
|
if args.gen == "source" and (args.op != "C" or args.format not in LANG):
|
|
629
629
|
log.error("Showing code requires -C for C, Java, JavaScript, Perl, Python and PL/pgSQL: "
|
|
630
630
|
f"{args.op} {args.format}")
|
|
631
|
-
|
|
631
|
+
return 1
|
|
632
632
|
|
|
633
633
|
# strict/loose numbers
|
|
634
634
|
if args.loose_number is not None:
|
|
@@ -656,7 +656,7 @@ def jmc_script():
|
|
|
656
656
|
cache_ignore=args.cache_ignore)
|
|
657
657
|
if args.cache_clear:
|
|
658
658
|
resolver.clear()
|
|
659
|
-
|
|
659
|
+
return 0
|
|
660
660
|
|
|
661
661
|
log.info(f"processing {args.model}")
|
|
662
662
|
|
|
@@ -673,7 +673,7 @@ def jmc_script():
|
|
|
673
673
|
raise
|
|
674
674
|
else:
|
|
675
675
|
log.error(f"invalid model {args.model}")
|
|
676
|
-
|
|
676
|
+
return 2
|
|
677
677
|
|
|
678
678
|
# NOTE preprocessing already done in create_model
|
|
679
679
|
# TODO check why iterating changes things (eg ref to predefs substitions)
|
|
@@ -847,4 +847,4 @@ def jmc_script():
|
|
|
847
847
|
log.debug(e, exc_info=args.verbose)
|
|
848
848
|
print(f"{fn}: ERROR")
|
|
849
849
|
|
|
850
|
-
|
|
850
|
+
return 4 if nerrors > 0 else 0
|
{json_model_compiler-2.0b42 → json_model_compiler-2.0b44}/json_model_compiler.egg-info/SOURCES.txt
RENAMED
|
@@ -236,4 +236,10 @@ site/benchmarks/2026040400.json
|
|
|
236
236
|
site/benchmarks/2026040400.md
|
|
237
237
|
site/benchmarks/2026040700.csv
|
|
238
238
|
site/benchmarks/2026040700.json
|
|
239
|
-
site/benchmarks/2026040700.md
|
|
239
|
+
site/benchmarks/2026040700.md
|
|
240
|
+
site/benchmarks/2026042001.csv
|
|
241
|
+
site/benchmarks/2026042001.json
|
|
242
|
+
site/benchmarks/2026042001.md
|
|
243
|
+
site/benchmarks/2026042400.csv
|
|
244
|
+
site/benchmarks/2026042400.json
|
|
245
|
+
site/benchmarks/2026042400.md
|
|
@@ -20,7 +20,7 @@ readme = "README.md"
|
|
|
20
20
|
requires-python = ">=3.12" # for "type"
|
|
21
21
|
license = "CC0-1.0"
|
|
22
22
|
classifiers = [ "Topic :: Software Development" ]
|
|
23
|
-
version = "2.
|
|
23
|
+
version = "2.0b44"
|
|
24
24
|
# NOTE this mixes dependencies for the compiler and the runtime, which overlap
|
|
25
25
|
dependencies = [
|
|
26
26
|
"requests", "google-re2", "pyyaml", "validators", "fqdn",
|
|
@@ -2,69 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
## Current Tasks
|
|
4
4
|
|
|
5
|
-
- [x]
|
|
6
|
-
- [x]
|
|
7
|
-
- [
|
|
8
|
-
- [
|
|
9
|
-
- [x] perf: add speed in lines per µs which seems more significant
|
|
10
|
-
- [x] command: add `-mtune=native` to C compilation
|
|
11
|
-
- [x] optim: simplify _&_ with same props and regs plus optional wildcards
|
|
12
|
-
- [x] optim: simplify _X & Y_ to _X_ when _X_ is a submodel of _Y_
|
|
13
|
-
- [x] py-backend: add predefs IP4 IP6 HOST
|
|
14
|
-
- [x] \*-backend: use a common predef for RFC3339 DURATION UUID EMAIL JSONPT
|
|
15
|
-
- [x] \*-backend: add approximated backup regex for predefs when not implemented by runtime
|
|
16
|
-
- [x] predefs: add `$__EXTENSION_COLOR`
|
|
17
|
-
- [x] predefs: refactor multiple instances in the sources into `predefs.py`
|
|
18
|
-
- [x] predefs: add `$ETH` for ethernet (mac) addresses
|
|
19
|
-
- [x] static: recognize and generate better code for typed _not_: _"" ^ "xxx"_
|
|
20
|
-
- [x] ir: add forward substitution between assignments when used once
|
|
21
|
-
- [x] py-backend: filter out zone id suffix from ip6
|
|
22
|
-
- [x] predefs: add `$CARD` for 16 digits credit card numbers with Luhn's checksum
|
|
23
|
-
- [x] predefs: add `$CARD` to js, perl, java and sql runtime.
|
|
24
|
-
- [x] predefs: filter predef extensions with `--extend`
|
|
25
|
-
- [x] ~static: if only one open prop, just look for it~ depends on language and costs
|
|
26
|
-
- [x] ir: improve forward subs, move bool decl to first assignment in seq
|
|
27
|
-
- [x] static: use combined assignment and test if possible on discriminator extraction
|
|
28
|
-
- [x] static: fix any-by-one pattern on string predefs
|
|
29
|
-
- [x] py-runtime: allow lowercase tz in datetime
|
|
30
|
-
- [x] py-runtime: add workarounds for leap seconds and other intricacies
|
|
31
|
-
- [x] predefs: add `$__EXTENSION_REL_JSONPT` as a regex
|
|
32
|
-
- [x] predefs: distinguish simple time and time with mandatory tz for jsu `time` format
|
|
33
|
-
- [x] static: avoid double type checks on or with predefs (java, sql, perl)
|
|
34
|
-
- [x] ~ir: remove simple redundant checks _(X && (X && Z) || (X && Y))_ is _X && (Z || Y)_~ (see previous)
|
|
35
|
-
- [x] c-backend: simple regex compiler for special character classes and repeat
|
|
36
|
-
- [x] c-backend: simple regex compiler cache is okay with existing regex cache
|
|
37
|
-
- [x] c-backend: add custom character classes based on benchmarks (ident, space, up/low/hexa/num/…)
|
|
38
|
-
- [x] optim: `/.+/` is `/./`, `/(.+)/`, `/(.*)/`
|
|
39
|
-
- [x] optim: remove unescaped `.*` at end of regex, also `.+/` is `./`
|
|
40
|
-
- [x] c-backend: normalize before character class matching
|
|
41
|
-
- [x] c-backend: extend simple regex with constant prefix
|
|
42
|
-
- [x] c-backend: extend simple regex without end-of-text (`$`)
|
|
43
|
-
- [x] optim: apply simpler re to property names
|
|
44
|
-
- [x] optim: improve model intersection to simplify `&` in more cases
|
|
45
|
-
- [x] optim: improve intersect on single open constraint object case
|
|
46
|
-
- [x] optim: avoid reference expansion in and combine optimization
|
|
47
|
-
- [x] c-backend: optimize special regex `/./` `/./s` `/^.*$/` `/^.+$/`
|
|
48
|
-
- [x] static: detect or of any-but-some type to generate a not instead, beware of looseness
|
|
49
|
-
- [x] static: do not create a separate function for an basic object check
|
|
50
|
-
- [x] static: generate messages in newly added shortcuts
|
|
51
|
-
- [x] c-backend: regex list of words to enum?
|
|
52
|
-
- [x] c-backend: fast ic str comparison by switching to _lower char_ with a set test?
|
|
53
|
-
- [x] c-backend: improve regex opt cset prettyprinting
|
|
54
|
-
- [x] c-backend: extend simple regex to sequences of prefix/chars/repeats
|
|
55
|
-
- [x] c-backend: add custom char class `[A-Za-z0-9_\\-:]` `[1-9]`
|
|
56
|
-
- [x] container: separate base from specific installs to improve cache/no-cache build
|
|
57
|
-
- [x] static: improve pattern matching for starts with/ends with/eq regex optim
|
|
58
|
-
- [x] static: improve endswith pattern recognition with escapes, eg `/\\.js$/`
|
|
59
|
-
- [x] c-backend: improve startwith code with fast str eq when string is a function call
|
|
60
|
-
- [x] c-backend: improve `str_cmp` with fast str eq when string is a function call
|
|
61
|
-
- [x] c-backend: check str cmp optims with utf8 strings
|
|
62
|
-
- [x] static: preserve prop order by default
|
|
63
|
-
- [x] c-backend: add custom character classes `[-a-z0-9_]` variants
|
|
64
|
-
- [x] c-backend: use counter for multithreaded tests
|
|
65
|
-
- [x] c-backend: fix multiple brace repeats in simple regex optimization
|
|
66
|
-
- [x] model: add option to `s` on regex? else `.` is any but `\n` and sometimes `\r`
|
|
67
|
-
- [x] optim: `/^.{1,256}$/`? only under `/s` though…
|
|
5
|
+
- [x] optim: override simpler regex props if stricter
|
|
6
|
+
- [x] front: allow to call script as a function
|
|
7
|
+
- [ ] perl-backend: do not import RE2 unless required in generated script
|
|
8
|
+
- [ ] perl-backend: improve resilience to missing dependencies, eg `Algorithm::LUHN`.
|
|
68
9
|
- [ ] perf: show schema to model conversion times
|
|
69
10
|
- [ ] js-backend: remove useless braces
|
|
70
11
|
- [ ] c-backend: use str cmp for ends with optimization as well
|
|
@@ -884,4 +825,67 @@
|
|
|
884
825
|
- [x] command: show runtime directory with `--runtime`
|
|
885
826
|
- [x] optim: better merge `&` list when possible, including regex prefix incompatibilities
|
|
886
827
|
- [x] js-backend: export model map
|
|
887
|
-
- [x] pl-backend: add and export `
|
|
828
|
+
- [x] pl-backend: add and export `mapper` function
|
|
829
|
+
- [x] \*-backend: remove `--jsonschema-benchmark` handling as it is moved to this repo
|
|
830
|
+
- [x] command: add `--no-comment` option not to generate comments in source code
|
|
831
|
+
- [x] \*-backend: support for embedded nul characters in strings, when possible (not SQL nor C)
|
|
832
|
+
- [x] ir: use json name instead of python type names
|
|
833
|
+
- [x] perf: add speed in lines per µs which seems more significant
|
|
834
|
+
- [x] command: add `-mtune=native` to C compilation
|
|
835
|
+
- [x] optim: simplify _&_ with same props and regs plus optional wildcards
|
|
836
|
+
- [x] optim: simplify _X & Y_ to _X_ when _X_ is a submodel of _Y_
|
|
837
|
+
- [x] py-backend: add predefs IP4 IP6 HOST
|
|
838
|
+
- [x] \*-backend: use a common predef for RFC3339 DURATION UUID EMAIL JSONPT
|
|
839
|
+
- [x] \*-backend: add approximated backup regex for predefs when not implemented by runtime
|
|
840
|
+
- [x] predefs: add `$__EXTENSION_COLOR`
|
|
841
|
+
- [x] predefs: refactor multiple instances in the sources into `predefs.py`
|
|
842
|
+
- [x] predefs: add `$ETH` for ethernet (mac) addresses
|
|
843
|
+
- [x] static: recognize and generate better code for typed _not_: _"" ^ "xxx"_
|
|
844
|
+
- [x] ir: add forward substitution between assignments when used once
|
|
845
|
+
- [x] py-backend: filter out zone id suffix from ip6
|
|
846
|
+
- [x] predefs: add `$CARD` for 16 digits credit card numbers with Luhn's checksum
|
|
847
|
+
- [x] predefs: add `$CARD` to js, perl, java and sql runtime.
|
|
848
|
+
- [x] predefs: filter predef extensions with `--extend`
|
|
849
|
+
- [x] ~static: if only one open prop, just look for it~ depends on language and costs
|
|
850
|
+
- [x] ir: improve forward subs, move bool decl to first assignment in seq
|
|
851
|
+
- [x] static: use combined assignment and test if possible on discriminator extraction
|
|
852
|
+
- [x] static: fix any-by-one pattern on string predefs
|
|
853
|
+
- [x] py-runtime: allow lowercase tz in datetime
|
|
854
|
+
- [x] py-runtime: add workarounds for leap seconds and other intricacies
|
|
855
|
+
- [x] predefs: add predef `EXTENSION_REL_JSONPT` as a regex
|
|
856
|
+
- [x] predefs: distinguish simple time and time with mandatory tz for jsu `time` format
|
|
857
|
+
- [x] static: avoid double type checks on or with predefs (java, sql, perl)
|
|
858
|
+
- [x] ~ir: remove simple redundant checks _(X && (X && Z) || (X && Y))_ is _X && (Z || Y)_~ (see previous)
|
|
859
|
+
- [x] c-backend: simple regex compiler for special character classes and repeat
|
|
860
|
+
- [x] c-backend: simple regex compiler cache is okay with existing regex cache
|
|
861
|
+
- [x] c-backend: add custom character classes based on benchmarks (ident, space, up/low/hexa/num/…)
|
|
862
|
+
- [x] optim: `/.+/` is `/./`, `/(.+)/`, `/(.*)/`
|
|
863
|
+
- [x] optim: remove unescaped `.*` at end of regex, also `.+/` is `./`
|
|
864
|
+
- [x] c-backend: normalize before character class matching
|
|
865
|
+
- [x] c-backend: extend simple regex with constant prefix
|
|
866
|
+
- [x] c-backend: extend simple regex without end-of-text (`$`)
|
|
867
|
+
- [x] optim: apply simpler re to property names
|
|
868
|
+
- [x] optim: improve model intersection to simplify `&` in more cases
|
|
869
|
+
- [x] optim: improve intersect on single open constraint object case
|
|
870
|
+
- [x] optim: avoid reference expansion in and combine optimization
|
|
871
|
+
- [x] c-backend: optimize special regex `/./` `/./s` `/^.*$/` `/^.+$/`
|
|
872
|
+
- [x] static: detect or of any-but-some type to generate a not instead, beware of looseness
|
|
873
|
+
- [x] static: do not create a separate function for an basic object check
|
|
874
|
+
- [x] static: generate messages in newly added shortcuts
|
|
875
|
+
- [x] c-backend: regex list of words to enum?
|
|
876
|
+
- [x] c-backend: fast ic str comparison by switching to _lower char_ with a set test?
|
|
877
|
+
- [x] c-backend: improve regex opt cset prettyprinting
|
|
878
|
+
- [x] c-backend: extend simple regex to sequences of prefix/chars/repeats
|
|
879
|
+
- [x] c-backend: add custom char class `[A-Za-z0-9_\\-:]` `[1-9]`
|
|
880
|
+
- [x] container: separate base from specific installs to improve cache/no-cache build
|
|
881
|
+
- [x] static: improve pattern matching for starts with/ends with/eq regex optim
|
|
882
|
+
- [x] static: improve endswith pattern recognition with escapes, eg `/\\.js$/`
|
|
883
|
+
- [x] c-backend: improve startwith code with fast str eq when string is a function call
|
|
884
|
+
- [x] c-backend: improve `str_cmp` with fast str eq when string is a function call
|
|
885
|
+
- [x] c-backend: check str cmp optims with utf8 strings
|
|
886
|
+
- [x] static: preserve prop order by default
|
|
887
|
+
- [x] c-backend: add custom character classes `[-a-z0-9_]` variants
|
|
888
|
+
- [x] c-backend: use counter for multithreaded tests
|
|
889
|
+
- [x] c-backend: fix multiple brace repeats in simple regex optimization
|
|
890
|
+
- [x] model: add option to `s` on regex? else `.` is any but `\n` and sometimes `\r`
|
|
891
|
+
- [x] optim: `/^.{1,256}$/`? only under `/s` though…
|
|
@@ -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
|
+
- [2026042400](benchmarks/2026042400.md) clang, no predefs, jsu 0.9.4/jmc 2.0b43 vs sbc 15.0.0, 11 runs, 1000 iterations.
|
|
13
|
+
- [2026042001](benchmarks/2026042001.md) clang, no predefs, jsu 0.9.3/jmc 2.0b42 vs sbc 14.20.2, 11 runs, 1000 iterations.
|
|
12
14
|
- [2026040700](benchmarks/2026040700.md) clang, no predefs, jsu 0.9.2/jmc 2.0b41 vs sbc 14.20.2, 11 runs, 1000 iterations.
|
|
13
15
|
- [2026040400](benchmarks/2026040400.md) clang, no predefs, jsu 0.9.2/jmc 2.0b41 vs sbc 14.19.0, 11 runs, 1000 iterations.
|
|
14
16
|
- [2026040300](benchmarks/2026040300.md) clang, no predefs, jsu 0.9.2/jmc 2.0b41 vs sbc 14.18.0, 11 runs, 1000 iterations.
|