bb9b5b04c6
Added ignore for generated files.
2023-06-29 22:54:50 -04:00
14f3f84cd4
remvoing generated file (shouldn't be tracked)
2023-06-29 22:50:08 -04:00
257e9ebf11
Removed incremental API, fixes for operator__validation
, added formatting pass on generated files
...
Decided not to support the incremental API, its not necessary as the ergonomics are not that big a deal.
Got operators to pass the sanity base cases, which means now all upfront constructors pass the base cases!
Next up is getting it to pass the array container generation.
2023-06-29 22:48:47 -04:00
19e58fea30
Readmes: Partial fix for trailing spaces removed by editor...
2023-06-29 01:45:56 -04:00
2da78e67d8
Update readmes. Some minor changes to the API.
2023-06-29 01:37:42 -04:00
7f645c7357
Finished sanity suite except for operators.
...
Adjusted upfront api a bit, def_using no longer handles the namespace case, a sepearate function: def_using_namespace now does.
Mostly fixes to the seralization as I generate more cases to find the bugs.
2023-06-29 00:20:23 -04:00
44ab1c2fc3
More fixes while completing sanity check for enums
...
Typepunning failed, didn't know about the difference between C/C++ with strict aliasing in this specific case...
2023-06-28 21:20:29 -04:00
0192cd49ef
Started sanity test suite (Non-parsed api)
...
Made some fixes based on errors found while iterating on first generation
2023-06-28 14:43:21 -04:00
e74b498686
Removed the DSL macros, More fixes related to memory.
...
I commented out stuff related to type caching, I may not be using it. Depends on whether I want to keep the parent member in the ast.
DSL macros were removed, I want to keep the macros minimum for the api.
The varadic macros for the body may be problomatic if there is some bs vendor's are doing with memory layouts of structs that are not necessarily POD but only have the assignment operator overloaded.
Worst case I'll have to remove them.
Memory should be fine now to start doing iterations on the array test.
Parser constructors have been on hold for a while. They'll problably not be done until sometime in June.
2023-05-09 21:54:54 -04:00
d00de42969
Started to fix some runtime bugs.
2023-05-08 20:54:24 -04:00
59042a162c
Setup workaround with type casting for POD with assignment overload restriction on varadic args.
2023-05-07 15:46:28 -04:00
0de0e1632b
Fixed compiler errors with the incremetnal constructors
2023-05-07 15:14:07 -04:00
00b4220333
Got it to compile (without Incremental, parsing, editor, scanner)
2023-05-07 15:03:24 -04:00
74c5736f59
Finished array test (parsed/nonparsed)
...
In the future I will have tests in a parsed and non-parsed variants.
2023-05-06 18:35:11 -04:00
75588f5227
Finished porting zpl_string impl to gen's String def
2023-05-06 17:23:17 -04:00
312bcafa23
Converting api to use custom string types.
2023-05-06 16:15:49 -04:00
e34b3694da
WIP: Converting api to use custom String types
2023-05-06 15:49:43 -04:00
e8264c560f
Updated AST::to_string to latest api changes with modules and attributes.
2023-05-06 00:18:44 -04:00
0edc3c57b6
Finished updating implementation for new attribute/module usage for everything but the parsing constructors and AST::to_string
2023-05-05 18:10:03 -04:00
9a6deb12cc
More design/major changes
...
Found flaws with design while the parser
If I want to support modules I needed to add separaration from the usual specifiers. Same with attributes, decided to minimize my parsing complexity of attributes.
Added a banned header (will not have that be there for the release version
2023-05-01 14:12:07 -04:00
38a60e4b91
Somehow overlooked unions... More stuff on parser constructors
2023-04-23 22:53:30 -04:00
d541b33b22
Added extern linkage bodies to upfront constructors, more work on parsing constructors
...
- Made some more parsing helper functions
- Got initial prototype of parse_friend done
- getting ready to complete prototype of parse_function
2023-04-23 19:04:43 -04:00
e50e9e094e
Made the parse definitions for variable, typedef, using more complete.
...
Fixed issues seen with expression token parsing
Moved array expression parsing outside of type parsing. Its only done with variable, typdef, and using declarations.
Added parsing of attributes, I'm going to make them separate from the regular specifiers as they are complicated.
2023-04-23 14:33:37 -04:00
09491be375
Finished to_string initial impl
2023-04-23 00:43:31 -04:00
7ba474069c
Docs update, parser impl design changes, AST::add fleshed out.
2023-04-22 22:24:55 -04:00
4c4fe98e7e
More fixes for zpl update...
2023-04-19 16:57:59 -04:00
69e26bbdf8
Updated zpl to latest refactor convention
2023-04-19 15:40:23 -04:00
4adb4654e9
Updated parsing constructors with impl to use the lexer.
2023-04-19 00:56:43 -04:00
86cd0e1fb7
WIP: Fleshing out parsing constructor
...
This code commit will compile just backing up stuff before I switch the functions to use the lexer instead of manually sifting through the string.
2023-04-18 22:47:59 -04:00
eec93cee78
Finished fleshing out incrementals, started to flesh out parsing
2023-04-12 01:24:43 -04:00
d167f74243
Finished implementing the Upfront construcotrs, started to flesh out the incremental constructors.
2023-04-11 22:18:02 -04:00
6ca30828c0
Upfront constructors almost completely fleshed out.
2023-04-10 21:33:06 -04:00
03d37d614b
Updated Project configuration with various editors
2023-04-10 17:55:09 -04:00
dfa01221d4
added execution code type, gutted functions with only char const* for name + more
2023-04-10 00:38:47 -04:00
f3b5e90ddc
Gutting test code, going to be just doing it proeprly when the library upfornt api is done.
2023-04-09 14:51:37 -04:00
56d7aa1d72
Changed zpl implemenation based on latest refactor script I use, refactored code to changes.
2023-04-09 13:59:39 -04:00
642fb16d4f
Removing c99 header gen code, going to use the scanner implementation when its done.
2023-04-09 13:59:07 -04:00
d5e6421b03
Updated readme.
2023-04-09 13:58:46 -04:00
3647cdefd1
Readme : Updated usage.
2023-04-08 02:16:25 -04:00
1ba187e3d5
Didn't push everything.
2023-04-08 01:43:37 -04:00
5bdebee404
Updated readme again.
2023-04-08 01:43:09 -04:00
81744a5709
Updated readme.
2023-04-08 00:56:59 -04:00
5e03643d52
FInalized the design, I really hope this time.
2023-04-08 00:29:09 -04:00
f5fe30e7cb
Design: Added additional keywords to specifiers, added def_friend. Fleshed out scanner.
2023-04-07 12:31:50 -04:00
fcf037d50f
Design finished all thats left is implementation.
...
If any changes need to occur design wise at this point, its feature removal for mvp.
2023-04-06 19:19:11 -04:00
47c15e7af2
WIP : Design for V1 finalization
...
There shouldn't be much more changes design wise.
Anything else is based on what needs to be done for it to work.
2023-04-06 02:21:23 -04:00
a4cb0c12ef
WIP: Design is almost done, impl this weekend.
2023-04-05 03:03:56 -04:00
d93fd462e1
Update gen.hpp and editor config
2023-04-04 16:18:30 -04:00
eb4f95b84e
Update editrconfig and readme
2023-04-04 16:13:48 -04:00
2e8d4a3d93
WIP: Still reworking based on design changes.
2023-04-04 15:53:29 -04:00