165 Commits

Author SHA1 Message Date
Vadim Godunko
3292b264d3 Use 'Base type to prevent raise of Constraint_Error...
... when read character after end of available data.
2026-01-09 12:34:22 +00:00
Vadim Godunko
60813a81f6 Use text->number conversion from text library. 2025-09-01 15:33:25 +04:00
Vadim Godunko
d4f49abf95 Move text->float conversion into text library. 2025-09-01 15:32:32 +04:00
Vadim Godunko
7856936522 Remove use of not overriding from public API 2025-07-21 17:16:34 +04:00
Vadim Godunko
fef17338f7 Update JSON module. 2025-07-21 15:35:03 +04:00
Vadim Godunko
a6c421c8cd Exit loop on End_Document event. 2025-07-03 19:17:49 +04:00
Vadim Godunko
67c736541c Improve processing of comments by JSON5 parser. 2025-02-18 13:47:01 +04:00
Vadim Godunko
bf12c1c1d8 Provide alternative implementation for 32bit platforms 2024-06-28 19:50:50 +04:00
Vadim Godunko
8a4029f3c7 Drop text data parameter of the Element subprogram. 2024-04-03 15:26:44 +04:00
Vadim Godunko
cb131767ed Update after API changes. 2024-04-03 10:50:59 +04:00
Vadim Godunko
e593ff1f61 Rename package. 2024-04-01 12:00:09 +04:00
Vadim Godunko
08d63a4769 Introduce separate types for constant and variable handlers...
... of the text data.
2024-04-01 11:30:12 +04:00
Vadim Godunko
db9de3b8cb Add "pragma Ada_2022;"...
... to all packages that uses Ada 2022 features.
2023-12-01 16:32:10 +04:00
Vadim Godunko
a75b05156c Move subprograms declarations to workaround compiler's bug. 2023-08-03 13:46:40 +04:00
Vadim Godunko
3a9052515e Workaround GNAT 20230603 bug. 2023-07-31 16:00:50 +04:00
Vadim Godunko
440760123e Buffered_Pull_Reader 2023-07-31 16:00:50 +04:00
Maxim Reznik
d86fa6df99 Move overriding subprograms to visible part
of JSON5 reader package to avoid the GNAT bug.
2023-07-24 16:53:38 +03:00
Vadim Godunko
fce29c3fd2 Use Code_Point_Unit type to store current character.
Reuse character's codes declarations.
2023-07-11 12:51:40 +03:00
Vadim Godunko
78282a2288 Use subprograms to append characters to the text buffer. 2023-07-11 12:14:32 +03:00
Vadim Godunko
f6ec3f1fb5 Move subprogram to public part to workaround compiler's bug. 2023-06-15 19:15:03 +04:00
Vadim Godunko
6962b085fa Rename Key to Key_Name to sync with element kind name. 2023-06-15 18:38:18 +04:00
Vadim Godunko
d46a9b17eb Subprogram to obtain current element of JSON stream. 2023-06-15 18:35:52 +04:00
Vadim Godunko
e11eb668bc Merge almost duplicate declarations of JSON_Event_Kind...
... and provide interface type for cursor on JSON stream.
2023-06-15 16:56:42 +04:00
Vadim Godunko
4eaca985aa Code refactoring: reuse At_End 2023-05-29 17:10:10 +04:00
Vadim Godunko
cd3aa16ce9 Code refactoring: reuse parse stack management subprograms. 2023-05-29 17:10:10 +04:00