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.
Files changed (257) hide show
  1. {json_model_compiler-2.0b46/site → json_model_compiler-2.0b48}/BACKLOG.md +1 -3
  2. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/BENCH.md +19 -9
  3. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/DEV.md +3 -2
  4. json_model_compiler-2.0b48/MANIFEST.in +4 -0
  5. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/Makefile +9 -1
  6. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/PKG-INFO +1 -1
  7. {json_model_compiler-2.0b46/site → json_model_compiler-2.0b48}/VERSION.md +165 -120
  8. json_model_compiler-2.0b48/json_model/.gitignore +1 -0
  9. json_model_compiler-2.0b48/json_model/data/VERSION +1 -0
  10. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/jmc.pod +5 -1
  11. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/irep.py +2 -0
  12. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/script.py +4 -0
  13. json_model_compiler-2.0b48/json_model/version.py +2 -0
  14. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/xstatic.py +199 -10
  15. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model_compiler.egg-info/PKG-INFO +1 -1
  16. json_model_compiler-2.0b48/json_model_compiler.egg-info/SOURCES.txt +126 -0
  17. json_model_compiler-2.0b48/json_model_compiler.egg-info/not-zip-safe +1 -0
  18. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/pyproject.toml +14 -5
  19. json_model_compiler-2.0b46/BACKLOG.md +0 -303
  20. json_model_compiler-2.0b46/MANIFEST.in +0 -1
  21. json_model_compiler-2.0b46/VERSION.md +0 -690
  22. json_model_compiler-2.0b46/container/.dockerignore +0 -3
  23. json_model_compiler-2.0b46/container/.gitignore +0 -1
  24. json_model_compiler-2.0b46/container/Makefile +0 -101
  25. json_model_compiler-2.0b46/container/README.md +0 -99
  26. json_model_compiler-2.0b46/container/base.container +0 -96
  27. json_model_compiler-2.0b46/container/jmc +0 -64
  28. json_model_compiler-2.0b46/container/jmc.container +0 -48
  29. json_model_compiler-2.0b46/json_model_compiler.egg-info/SOURCES.txt +0 -250
  30. json_model_compiler-2.0b46/models/ansiblelint-meta.model.json +0 -372
  31. json_model_compiler-2.0b46/models/cypress.model.json +0 -95
  32. json_model_compiler-2.0b46/models/diploma-arrete.model.json +0 -17
  33. json_model_compiler-2.0b46/models/diploma-export.model.json +0 -20
  34. json_model_compiler-2.0b46/models/everything.model.json +0 -206
  35. json_model_compiler-2.0b46/models/fresq.model.json +0 -79
  36. json_model_compiler-2.0b46/models/geo-easy.model.json +0 -74
  37. json_model_compiler-2.0b46/models/geo.model.json +0 -70
  38. json_model_compiler-2.0b46/models/jmc-ir.model.json +0 -138
  39. json_model_compiler-2.0b46/models/json-model-latest.model.json +0 -9
  40. json_model_compiler-2.0b46/models/json-model-moschin.model.json +0 -19
  41. json_model_compiler-2.0b46/models/json-model-no-merge.model.json +0 -14
  42. json_model_compiler-2.0b46/models/json-model-v1.model.json +0 -30
  43. json_model_compiler-2.0b46/models/json-model-v2-en.model.json +0 -16
  44. json_model_compiler-2.0b46/models/json-model-v2.model.json +0 -73
  45. json_model_compiler-2.0b46/models/json-model.model.json +0 -73
  46. json_model_compiler-2.0b46/models/json-schema-draft-01-fuzzy.model.json +0 -12
  47. json_model_compiler-2.0b46/models/json-schema-draft-01-nesting.model.json +0 -12
  48. json_model_compiler-2.0b46/models/json-schema-draft-01.model.json +0 -35
  49. json_model_compiler-2.0b46/models/json-schema-draft-02-fuzzy.model.json +0 -12
  50. json_model_compiler-2.0b46/models/json-schema-draft-02-nesting.model.json +0 -12
  51. json_model_compiler-2.0b46/models/json-schema-draft-02.model.json +0 -37
  52. json_model_compiler-2.0b46/models/json-schema-draft-03-fuzzy.model.json +0 -15
  53. json_model_compiler-2.0b46/models/json-schema-draft-03-nesting.model.json +0 -12
  54. json_model_compiler-2.0b46/models/json-schema-draft-03.model.json +0 -39
  55. json_model_compiler-2.0b46/models/json-schema-draft-04-fuzzy.model.json +0 -15
  56. json_model_compiler-2.0b46/models/json-schema-draft-04-mongodb.model.json +0 -29
  57. json_model_compiler-2.0b46/models/json-schema-draft-04-nesting.model.json +0 -12
  58. json_model_compiler-2.0b46/models/json-schema-draft-04.model.json +0 -46
  59. json_model_compiler-2.0b46/models/json-schema-draft-06-fuzzy.model.json +0 -15
  60. json_model_compiler-2.0b46/models/json-schema-draft-06.model.json +0 -54
  61. json_model_compiler-2.0b46/models/json-schema-draft-07-fuzzy.model.json +0 -15
  62. json_model_compiler-2.0b46/models/json-schema-draft-07.model.json +0 -61
  63. json_model_compiler-2.0b46/models/json-schema-draft-2019-09-fuzzy.model.json +0 -20
  64. json_model_compiler-2.0b46/models/json-schema-draft-2019-09.model.json +0 -97
  65. json_model_compiler-2.0b46/models/json-schema-draft-2020-12-fuzzy.model.json +0 -22
  66. json_model_compiler-2.0b46/models/json-schema-draft-2020-12-tight.model.json +0 -108
  67. json_model_compiler-2.0b46/models/json-schema-draft-2020-12.model.json +0 -99
  68. json_model_compiler-2.0b46/models/json-schema-draft-next-fuzzy.model.json +0 -19
  69. json_model_compiler-2.0b46/models/json-schema-draft-next.model.json +0 -100
  70. json_model_compiler-2.0b46/models/json-schema-draft-tight.model.json +0 -95
  71. json_model_compiler-2.0b46/models/json-schema-draft-tighter-loose.model.json +0 -23
  72. json_model_compiler-2.0b46/models/json-schema-draft-tighter.model.json +0 -83
  73. json_model_compiler-2.0b46/models/json-schema-linter.model.json +0 -83
  74. json_model_compiler-2.0b46/models/jsound.model.json +0 -72
  75. json_model_compiler-2.0b46/models/l10n.model.json +0 -12
  76. json_model_compiler-2.0b46/models/lazygit.model.json +0 -331
  77. json_model_compiler-2.0b46/models/openapi-311-fuzzy.model.json +0 -14
  78. json_model_compiler-2.0b46/models/openapi-311-models.model.json +0 -32
  79. json_model_compiler-2.0b46/models/openapi-311.model.json +0 -291
  80. json_model_compiler-2.0b46/models/person.model.json +0 -6
  81. json_model_compiler-2.0b46/models/person2.model.json +0 -7
  82. json_model_compiler-2.0b46/models/pgxn.model.json +0 -68
  83. json_model_compiler-2.0b46/models/test-schema.model.json +0 -43
  84. json_model_compiler-2.0b46/site/API.md +0 -325
  85. json_model_compiler-2.0b46/site/BENCH.md +0 -123
  86. json_model_compiler-2.0b46/site/DEV.md +0 -69
  87. json_model_compiler-2.0b46/site/DOC.md +0 -25
  88. json_model_compiler-2.0b46/site/HOWTO.md +0 -300
  89. json_model_compiler-2.0b46/site/PUBS.md +0 -66
  90. json_model_compiler-2.0b46/site/README.md +0 -148
  91. json_model_compiler-2.0b46/site/SPEC.md +0 -683
  92. json_model_compiler-2.0b46/site/TUTO.md +0 -837
  93. json_model_compiler-2.0b46/site/benchmarks/2026031000.csv +0 -171
  94. json_model_compiler-2.0b46/site/benchmarks/2026031000.json +0 -296
  95. json_model_compiler-2.0b46/site/benchmarks/2026031000.md +0 -216
  96. json_model_compiler-2.0b46/site/benchmarks/2026031300.csv +0 -171
  97. json_model_compiler-2.0b46/site/benchmarks/2026031300.json +0 -296
  98. json_model_compiler-2.0b46/site/benchmarks/2026031300.md +0 -216
  99. json_model_compiler-2.0b46/site/benchmarks/2026031400.csv +0 -171
  100. json_model_compiler-2.0b46/site/benchmarks/2026031400.json +0 -296
  101. json_model_compiler-2.0b46/site/benchmarks/2026031400.md +0 -216
  102. json_model_compiler-2.0b46/site/benchmarks/2026031900.csv +0 -171
  103. json_model_compiler-2.0b46/site/benchmarks/2026031900.json +0 -296
  104. json_model_compiler-2.0b46/site/benchmarks/2026031900.md +0 -216
  105. json_model_compiler-2.0b46/site/benchmarks/2026032500.csv +0 -171
  106. json_model_compiler-2.0b46/site/benchmarks/2026032500.json +0 -296
  107. json_model_compiler-2.0b46/site/benchmarks/2026032500.md +0 -216
  108. json_model_compiler-2.0b46/site/benchmarks/2026032700.csv +0 -171
  109. json_model_compiler-2.0b46/site/benchmarks/2026032700.json +0 -296
  110. json_model_compiler-2.0b46/site/benchmarks/2026032700.md +0 -216
  111. json_model_compiler-2.0b46/site/benchmarks/2026032801.csv +0 -171
  112. json_model_compiler-2.0b46/site/benchmarks/2026032801.json +0 -296
  113. json_model_compiler-2.0b46/site/benchmarks/2026032801.md +0 -216
  114. json_model_compiler-2.0b46/site/benchmarks/2026040200.csv +0 -171
  115. json_model_compiler-2.0b46/site/benchmarks/2026040200.json +0 -296
  116. json_model_compiler-2.0b46/site/benchmarks/2026040200.md +0 -216
  117. json_model_compiler-2.0b46/site/benchmarks/2026040300.csv +0 -171
  118. json_model_compiler-2.0b46/site/benchmarks/2026040300.json +0 -296
  119. json_model_compiler-2.0b46/site/benchmarks/2026040300.md +0 -216
  120. json_model_compiler-2.0b46/site/benchmarks/2026040400.csv +0 -171
  121. json_model_compiler-2.0b46/site/benchmarks/2026040400.json +0 -296
  122. json_model_compiler-2.0b46/site/benchmarks/2026040400.md +0 -216
  123. json_model_compiler-2.0b46/site/benchmarks/2026040700.csv +0 -171
  124. json_model_compiler-2.0b46/site/benchmarks/2026040700.json +0 -296
  125. json_model_compiler-2.0b46/site/benchmarks/2026040700.md +0 -216
  126. json_model_compiler-2.0b46/site/benchmarks/2026042001.csv +0 -176
  127. json_model_compiler-2.0b46/site/benchmarks/2026042001.json +0 -296
  128. json_model_compiler-2.0b46/site/benchmarks/2026042001.md +0 -221
  129. json_model_compiler-2.0b46/site/benchmarks/2026042400.csv +0 -176
  130. json_model_compiler-2.0b46/site/benchmarks/2026042400.json +0 -296
  131. json_model_compiler-2.0b46/site/benchmarks/2026042400.md +0 -221
  132. json_model_compiler-2.0b46/site/benchmarks/2026042500.csv +0 -176
  133. json_model_compiler-2.0b46/site/benchmarks/2026042500.json +0 -296
  134. json_model_compiler-2.0b46/site/benchmarks/2026042500.md +0 -221
  135. json_model_compiler-2.0b46/site/benchmarks/2026042503.csv +0 -176
  136. json_model_compiler-2.0b46/site/benchmarks/2026042503.json +0 -296
  137. json_model_compiler-2.0b46/site/benchmarks/2026042503.md +0 -221
  138. json_model_compiler-2.0b46/site/benchmarks/2026042700.csv +0 -176
  139. json_model_compiler-2.0b46/site/benchmarks/2026042700.json +0 -296
  140. json_model_compiler-2.0b46/site/benchmarks/2026042700.md +0 -221
  141. json_model_compiler-2.0b46/site/benchmarks/2026042800.csv +0 -176
  142. json_model_compiler-2.0b46/site/benchmarks/2026042800.json +0 -296
  143. json_model_compiler-2.0b46/site/benchmarks/2026042800.md +0 -221
  144. json_model_compiler-2.0b46/site/cover.md +0 -7
  145. json_model_compiler-2.0b46/site/favicon.ico +0 -0
  146. json_model_compiler-2.0b46/site/index.html +0 -181
  147. json_model_compiler-2.0b46/site/json_logo.svg +0 -15
  148. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/.gitignore +0 -0
  149. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/.gitmodules +0 -0
  150. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/API.md +0 -0
  151. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/DESIGN.md +0 -0
  152. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/DOC.md +0 -0
  153. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/HOWTO.md +0 -0
  154. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/INTEGRATION.md +0 -0
  155. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/PUBS.md +0 -0
  156. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/README.md +0 -0
  157. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/SPEC.md +0 -0
  158. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/TUTO.md +0 -0
  159. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/about.sh +0 -0
  160. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/README.md +0 -0
  161. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/__init__.py +0 -0
  162. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/analyze.py +0 -0
  163. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/clang.py +0 -0
  164. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/convert.py +0 -0
  165. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/clang_entry.c +0 -0
  166. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/clang_free.c +0 -0
  167. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/clang_init.c +0 -0
  168. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/clang_pcre2_fun.c +0 -0
  169. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/clang_re2_fun.c +0 -0
  170. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/java_free.java +0 -0
  171. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/java_init.java +0 -0
  172. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/javascript_exe.js +0 -0
  173. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/javascript_foot.js +0 -0
  174. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/javascript_free.js +0 -0
  175. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/javascript_head.js +0 -0
  176. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/javascript_init.js +0 -0
  177. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/javascript_main.js +0 -0
  178. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/perl_entry.pl +0 -0
  179. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/perl_exe.pl +0 -0
  180. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/perl_free.pl +0 -0
  181. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/perl_init.pl +0 -0
  182. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/perl_main.pl +0 -0
  183. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/perl_pkg.pl +0 -0
  184. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/plpgsql_entry.sql +0 -0
  185. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/python_entry.py +0 -0
  186. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/python_exe.py +0 -0
  187. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/python_free.py +0 -0
  188. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/python_init.py +0 -0
  189. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/data/python_main.py +0 -0
  190. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/export.py +0 -0
  191. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/java.py +0 -0
  192. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/javascript.py +0 -0
  193. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/language.py +0 -0
  194. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/model.py +0 -0
  195. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/mtypes.py +0 -0
  196. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/objops.py +0 -0
  197. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/optim.py +0 -0
  198. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/perl.py +0 -0
  199. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/plpgsql.py +0 -0
  200. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/predefs.py +0 -0
  201. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/python.py +0 -0
  202. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/recurse.py +0 -0
  203. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/resolver.py +0 -0
  204. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/Makefile +0 -0
  205. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/__init__.py +0 -0
  206. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/c/Makefile +0 -0
  207. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/c/json-model.c +0 -0
  208. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/c/json-model.h +0 -0
  209. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/c/main.c +0 -0
  210. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/java/.gitignore +0 -0
  211. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/java/Makefile +0 -0
  212. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/java/README.md +0 -0
  213. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/java/env.sh +0 -0
  214. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/java/json_model/Checker.java +0 -0
  215. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/java/json_model/GSON.java +0 -0
  216. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/java/json_model/JSON.java +0 -0
  217. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/java/json_model/JSONP.java +0 -0
  218. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/java/json_model/Jackson.java +0 -0
  219. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/java/json_model/Main.java +0 -0
  220. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/java/json_model/ModelChecker.java +0 -0
  221. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/java/json_model/Path.java +0 -0
  222. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/java/json_model/Report.java +0 -0
  223. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/java/json_model/Runtime.java +0 -0
  224. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/java/pom.xml +0 -0
  225. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/js/README.md +0 -0
  226. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/js/index.js +0 -0
  227. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/js/main.js +0 -0
  228. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/js/package.json +0 -0
  229. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/pl/.gitignore +0 -0
  230. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/pl/Changes +0 -0
  231. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/pl/LICENSE +0 -0
  232. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/pl/MANIFEST +0 -0
  233. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/pl/Makefile.PL +0 -0
  234. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/pl/README +0 -0
  235. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/pl/env.sh +0 -0
  236. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/pl/ignore.txt +0 -0
  237. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/pl/lib/JSON/JsonModel.pm +0 -0
  238. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/pl/t/00-load.t +0 -0
  239. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/pl/t/manifest.t +0 -0
  240. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/pl/t/pod-coverage.t +0 -0
  241. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/pl/t/pod.t +0 -0
  242. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/pl/xt/boilerplate.t +0 -0
  243. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/sql/META.json +0 -0
  244. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/sql/Makefile +0 -0
  245. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/sql/json_model--2.0.sql +0 -0
  246. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/sql/json_model.control +0 -0
  247. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/support.py +0 -0
  248. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/runtime/types.py +0 -0
  249. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/submodel.py +0 -0
  250. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/url_cache.py +0 -0
  251. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model/utils.py +0 -0
  252. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model_compiler.egg-info/dependency_links.txt +0 -0
  253. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model_compiler.egg-info/entry_points.txt +0 -0
  254. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model_compiler.egg-info/requires.txt +0 -0
  255. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/json_model_compiler.egg-info/top_level.txt +0 -0
  256. {json_model_compiler-2.0b46 → json_model_compiler-2.0b48}/package.json +0 -0
  257. {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 what works
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
- but reducing the results significance.
90
- - blaze uses its own special-purpose JSON representation: if interfaced from another
91
- ecosystem, the cost of translating the JSON representation should be taken into account;
92
- jmc uses native JSON representations and generate validation code around it.
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 as more cpu ressources
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. The model used are strictly converted from schemas, native models are not used
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 April 2026, the JSU C implementation is faster than Blaze on about 2/3 of benchmark cases.
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
- - [pyproject](./pyproject.toml)
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
 
@@ -0,0 +1,4 @@
1
+ recursive-exclude tests *
2
+ recursive-exclude site *
3
+ recursive-exclude models *
4
+ recursive-exclude container *
@@ -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 $(MODULE).egg-info build
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,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: json_model_compiler
3
- Version: 2.0b46
3
+ Version: 2.0b48
4
4
  Summary: JSON Model Tools
5
5
  Author: Fabien Coelho, Claire Yannou-Medrala
6
6
  License-Expression: CC0-1.0
@@ -1,6 +1,17 @@
1
1
  # JSON Model Compiler Versions
2
2
 
3
- ## 2.0b46
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
- - [x] static: optimize function mapping by skipping intermediate functions if possible
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
 
@@ -0,0 +1,2 @@
1
+ # this file is automatically generated, do not edit!
2
+ HASH: str = "e0951c4c"