3c17e71b63
Make sure we have item, and don't continue after we delete it.
starseeker2022-02-26 15:35:35 -05:00
1d46986e80
Passing back the internal pointer to a std::string is evidently a Bad Idea - just send back a std::string.
starseeker2022-02-26 15:34:12 -05:00
ca1d62719a
If we need to allocate an EntityNode, clean it up.
starseeker2022-02-26 15:28:37 -05:00
a6bea3572e
Delete temporary element after use
starseeker2022-02-26 15:25:52 -05:00
ae933edba5
Add destructor, use array delete
starseeker2022-02-26 15:24:28 -05:00
65e0f704fd
Using newer standards, remove sc_stdbool.h
starseeker2022-06-11 10:14:11 -04:00
d36c0dde5b
Add initializers for TYPEis entities
starseeker2022-02-26 16:17:37 -05:00
8ed3d2fe33
Fix output for SC_TRACE_FPRINTF option (used for debugging - reports where generated code in exp2cxx output comes from.)
starseeker2022-02-26 16:14:50 -05:00
61d34a352c
Add some default initializers in the generated C++ code.
starseeker2022-02-26 16:11:26 -05:00
6c9a2582c6
Use calloc to initialize the names array.
starseeker2022-02-26 15:05:02 -05:00
0fd354cb39
Make sure BUFSIZ buffers have room for NULL
starseeker2022-02-26 14:25:49 -05:00
fd8b7e3a6b
exp2py: reduce TYPE output to class level pass statement for simple types
Chris HORLER2022-03-22 22:16:44 +00:00
70b5d0d0af
exp2py: expressions are held in a 2-tree, processed recursively * set OP_UNKNOWN on LHS * test for OP_DOT and OP_GROUP when processing identifier_
Chris HORLER2022-03-15 22:48:08 +00:00
06ee050fb2
exp2py: add "property" to reserved words
Chris HORLER2022-02-26 22:46:13 +00:00
472bd4cb12
exp2py: fix some indentation errors found in for and while loops
Chris HORLER2022-02-26 20:19:08 +00:00
fed696dc63
exp2py: raise NotImplementedError when appropriate
Chris HORLER2022-02-26 20:11:59 +00:00
35da61660b
exp2py: update repo gitignore to ignore all __pycache__ folders
Chris HORLER2022-02-26 13:27:35 +00:00
0ef7755151
exp2py: first steps to fix output order and dependency logic
Chris HORLER2022-02-26 13:23:38 +00:00
7aa4309848
exp2py: use relative imports for SCL library
Chris HORLER2022-02-26 13:19:35 +00:00
3c21bf00ac
Part21 Legacy Parser * optimisations - remove list copy and try clauses - stop using token iterator - tab modules (for ply optimised mode) - add missing t_error function (for ply optimised mode) * useability - add option to only parse the header then exit * fixes - fix ComplexEntity creation, and simpify / correct AST creation
Chris HORLER2020-03-23 07:36:59 +00:00
0f303d5c06
Part21 alternative Lexer / Parser specification populates an sqlite database
Chris HORLER2020-03-23 12:57:23 +00:00
cfbd07306d
prototype re2c based LL(3) Part21 parser
Chris HORLER2020-04-24 17:51:47 +01:00
cd8efa604f
exploration of sqlite3 plugin (based on json1.c) for allowing high performance predicates, intended as a layer between ORM and direct database manipulation
Chris HORLER2020-04-01 00:27:25 +01:00
af637a28d8
remove unitary_schemas, these should be dynamically generated
Chris HORLER2022-06-08 20:19:39 +01:00
0cefcae153
fixup: python SCL standardise all class declarations (remove object base)
Chris HORLER2021-11-21 12:03:13 +00:00
b42a909e65
python SCL standardise all class declarations (remove object base)
Chris HORLER2021-11-21 12:01:08 +00:00
dace0f70ef
Simplified setup.cfg package search to use explicit package listing.
Chris HORLER2021-11-20 20:26:31 +00:00