Vadim Godunko
e0d8fa3dbd
Remove pragmas unnecessary due to upgrade to GCC 12.
2022-08-30 07:04:21 +03:00
Maxim Reznik
cdda8554fe
Change license header to Apache 2.0
2022-06-21 10:14:14 +03:00
Maxim Reznik
e359b859df
JSON Schema. Fix compilation on GCC 11.2.
...
For V601-009
2022-06-01 16:26:18 +03:00
Maxim Reznik
c7170f0e7a
JSON Schema. Update README.md
...
For V601-009
2022-06-01 16:26:18 +03:00
Maxim Reznik
682abdac0a
JSON Schema. Fix reading of string_or_integer type
...
V601-009
2022-06-01 16:26:18 +03:00
Maxim Reznik
e582f63cef
JSON Schema. Take Holders into account
...
when generating I/O code.
For V601-009
2022-06-01 16:26:18 +03:00
Maxim Reznik
6105dd22c4
JSON Schema. Add a way to break circular
...
dependencies in manual mode. Introduce a new command-line switch
`--handler <type:property>` to mark properties where a wrapper type
(Type_Handler) should be used instead of property's type. Several
such switches could be specified at once.
For V601-009
2022-06-01 16:26:18 +03:00
Maxim Reznik
29f0cbcca6
JSON Schema. Generate input code for anyOf schemas
...
V601-009
2022-06-01 16:26:18 +03:00
Maxim Reznik
3fb68a367a
JSON Schema. Generate output code for anyOf schemas
...
For V601-009
2022-06-01 16:26:18 +03:00
Maxim Reznik
393aa98c49
JSON Schema. Generate discriminanted record types
...
for `anyOf` schema.
* Create T_Varian enumeration type for each such type. Take variants
from `const` string property of corresponding nexted type
* Create `type T(Kind : T_Variant) is record case Kind ...`
* Generate a Type_<variant> if nested schema isn't a reference
(anonymous nested schema)
See metaModel.schema.json for LSP as input example.
V601-009
2022-06-01 16:26:18 +03:00
Maxim Reznik
de2965e532
JSON Schema. Add Is_True and If_False
...
predicates for Schema type. For V601-009
2022-06-01 16:26:18 +03:00
Maxim Reznik
fcebe2146c
JSON Schema. Pull up Write_Value subprogram
...
for reuse it latter. V601-009
2022-06-01 16:26:18 +03:00
Maxim Reznik
5ca2f9c72b
JSON Schema. Include more items reserved word list.
...
For V601-009
2022-06-01 16:26:18 +03:00
Maxim Reznik
0b67b8bf69
JSON Schema. Implement I/O for const properties.
...
For V601-009
2022-06-01 16:26:18 +03:00
Maxim Reznik
393c039507
Update JSON Schema to Draft 7
...
Introduce Draft 7 version. Change Schema type according to Draft 7.
Fix schema reader.
For V601-009
2022-06-01 16:26:18 +03:00
Maxim Reznik
238f985eae
JSON Schema. Add lost default property
...
For V601-009
2022-06-01 16:26:18 +03:00
Maxim Reznik
048135cf20
Update JSON Schema to Draft 6
...
Add support for several versions of JSON Schema. Introduce Draft 6
version. Change Schema type according to Draft 6. Fix schema reader
and code generator.
For V601-009
2022-06-01 16:26:18 +03:00
Jesper Quorning
56b200f930
Typo: Parse
2022-05-16 00:33:38 +03:00
Jesper Quorning
35bc649ea9
Typo: collisions
2022-05-16 00:33:38 +03:00
Jesper Quorning
2f1d0a878f
Typo: decomposition
2022-05-16 00:33:38 +03:00
Jesper Quorning
2bac3947c3
Typo: enumeration
2022-05-16 00:33:38 +03:00
Jesper Quorning
4fb709a2f5
Typo: specification
2022-05-16 00:33:38 +03:00
Jesper Quorning
7e194ebe26
Typo: beginning
2022-05-16 00:33:38 +03:00
Jesper Quorning
3c1055e95c
Typo: information
2022-05-16 00:33:38 +03:00
Jesper Quorning
43f02e01d3
Typo: algorithms
2022-05-16 00:33:38 +03:00