This website requires JavaScript.
528ef72a51
More progress on parsing
ed
2023-08-01 05:17:24 -04:00
21a8f3bb39
WIP: It can parse to around ~2k lines. Need to improve its ability to detect when a forward declare of a class/enum/struct/union..
ed
2023-08-01 00:42:08 -04:00
2b63fc27cd
Progress toward preprocessor parsing, lexing works, parsing does not.
ed
2023-07-30 18:55:57 -04:00
bfbfae466f
Naive preprocessor support initial implementation (compiles and runs, not heavily tested)
ed
2023-07-30 01:21:04 -04:00
3d7cb85e71
Merge pull request #8 from Ed94/parser_context_stack
v0.6-Alpha
ed
2023-07-29 17:16:04 -04:00
03df940085
Improved parser scope errors.
parser_context_stack
ed
2023-07-29 17:14:02 -04:00
b9064fba9d
renamed parsed and upfront dirs to lowercase
ed
2023-07-29 16:27:36 -04:00
4e8d6456cb
Merge branch 'parser_context_stack' of https://github.com/Ed94/gencpp into parser_context_stack
ed
2023-07-29 16:25:50 -04:00
d704f11c81
renamed Docs to lowercase
ed
2023-07-29 16:24:07 -04:00
50a10c901f
renamed Docs to lowercase
ed
2023-07-29 16:24:07 -04:00
0a5885495f
got old tests working (test.parsing.cpp and test.upfront.cpp)
ed
2023-07-29 16:00:06 -04:00
f09bb99fdf
Fixes for test generation (sanity, soa).
ed
2023-07-29 13:15:53 -04:00
108b16739f
bootstrap and singleheader compile and generate.
ed
2023-07-29 12:25:38 -04:00
689646c393
Finished iniital refactor pass. Comples, but has runtime issues.
ed
2023-07-29 06:32:16 -04:00
c5afede7b5
Reorganization of files, refactors, doc updates (WIP)
ed
2023-07-29 05:52:06 -04:00
31e1c38c18
Started to implement context stack for parser.
ed
2023-07-28 21:44:31 -04:00
3f0b7e7fc6
Update to scripts, readme
ed
2023-07-28 03:15:50 -04:00
d977c82f37
Fixes from latest refactor of toktype enum.
v0.5-alpha
ed
2023-07-27 17:12:58 -04:00
b00c1ae522
ECode, ESpecifier, and ETokType are now all generated.
ed
2023-07-27 02:51:36 -04:00
cf65638979
Started to generate the enums from csv (ECode, EOperator, ESpecifier).
ed
2023-07-26 14:21:20 -04:00
8232e79aac
Adding pragma regions to all dependency components
ed
2023-07-25 23:00:57 -04:00
a11117c97c
Fixes to the parsing constructors
ed
2023-07-25 19:23:21 -04:00
cd9b393790
Fixes to bootstrap and singleheader generation
ed
2023-07-25 17:46:00 -04:00
62b0ed2112
Finished initial implmentation bootstrap generation and singleheader implementation.
ed
2023-07-25 15:12:51 -04:00
ebe049d3a0
Added refactor.ps1 script, fixed the gencpp.refactor script (missing commas)
ed
2023-07-24 23:47:04 -04:00
88d36f5d06
Update readme and scripts
ed
2023-07-24 23:10:10 -04:00
9c81504178
Progress towards bootstrap/singleheader generation
ed
2023-07-24 22:19:21 -04:00
387787b88d
Formatting fixes
ed
2023-07-24 20:59:20 -04:00
4a87a42db0
Fixes + more setup, added more directories to clean script.
ed
2023-07-24 18:56:15 -04:00
b5cad6e8a1
some cleanup of unused macros in test files, preparing bootstrap and single header code + scripts
ed
2023-07-24 18:51:49 -04:00
49ef1a2e87
gen.deps.cpp "componentized"
ed
2023-07-24 18:35:16 -04:00
5aa334237a
gen.dep.hpp "componentization"
ed
2023-07-24 18:19:37 -04:00
74ea502de5
"compentiazation" of gen.hpp and gen.cpp
ed
2023-07-24 17:45:27 -04:00
fcca15b4b9
Making new files, preparing to offload code to them.
ed
2023-07-24 14:30:57 -04:00
88a43cb11f
namespace macro unused in gen.dep.cpp, updates to readme.
ed
2023-07-24 14:30:35 -04:00
39390535ce
Support for interfaces in class/struct.
ed
2023-07-24 13:44:19 -04:00
d4c2cdf30e
Added varadic parameter support (upfront and parsing)
ed
2023-07-24 11:20:13 -04:00
1d3050f157
Update readme todo (remove trailing specifiers task)
ed
2023-07-24 00:28:23 -04:00
cee55ad080
Suppeort for trailing specifiers for member functions, operators, and operator type casts (Untested)
ed
2023-07-24 00:27:13 -04:00
5df21998ef
Should support parsing full definitions within typedef... (need to make tests)
ed
2023-07-23 23:28:21 -04:00
80b5c9768d
Adding tuning macros for memory usage of the library, fixes.
ed
2023-07-23 23:11:53 -04:00
5ce8bfa259
Added macros to make the gen namespace optional.
ed
2023-07-23 22:25:19 -04:00
e7374ec328
Support for module and attribute parsing ( untested )
ed
2023-07-23 22:14:48 -04:00
b1de5b1ac7
Fixed swap fn
v0.4-Alpha
ed
2023-07-21 01:40:45 -04:00
a37c3f63c2
Update to readme, update CodePool_NumBlocks to 64k
ed
2023-07-21 01:12:38 -04:00
efd7af9f96
Added ability for a CodeBody to append another
ed
2023-07-20 23:51:56 -04:00
8bb0db8145
Moved the indentation for the library over
ed
2023-07-19 23:42:28 -04:00
d1c061769c
GlobalAllocator fixes
ed
2023-07-19 00:49:54 -04:00
1488aeb188
update todo
ed
2023-07-19 00:24:00 -04:00
db584d8fe6
Removed GEN_FEATURE_PARSING macro, fixes to readme
ed
2023-07-19 00:14:15 -04:00
4d2f6a6315
Refactor Test gen_time to GEN_TIME
ed
2023-07-19 00:13:12 -04:00
231ae5f5d6
Some refactors (see description)
ed
2023-07-18 23:33:00 -04:00
e501941c5c
Fix for sanity test...
ed
2023-07-17 23:40:28 -04:00
9a784fe92f
Preparing to implement ADT for csv functions.
ed
2023-07-17 20:17:19 -04:00
2a319ed6db
Additions and fixes based off genc repo
ed
2023-07-16 23:18:00 -04:00
41dc0e3fbb
Bad ifdef for benchmark in gen_dep.
ed
2023-07-16 18:06:43 -04:00
98b776d66e
Small correction to test comment.
V0.3-Alpha
ed
2023-07-16 18:01:22 -04:00
7634aeb34c
Fixes to memory mangment, library is much faster now.
ed
2023-07-16 18:00:07 -04:00
b544f24015
Moved dependencies back to their own files (gen_dep.hpp/cpp)
ed
2023-07-16 12:08:57 -04:00
8879b757ed
Readme update
V0.2-Alpha
V0.1-Alpha
ed
2023-07-16 03:26:07 -04:00
1f77e39694
Minor refactor, added optional recursive dups for ast, ...
ed
2023-07-16 02:26:55 -04:00
79c3459f08
Updated readmes
designchanges_to_bettercodetypes
ed
2023-07-15 23:38:53 -04:00
805e69bb40
Parsing constructors work, finally reached parity.
ed
2023-07-15 23:07:30 -04:00
1e79c9190e
Upfront constructors work again (test case wise)
ed
2023-07-15 22:27:38 -04:00
ade4c3345d
removed vs build log
ed
2023-07-15 20:58:55 -04:00
0241979085
WIP, updates to vs solution, got natvis working again. serializations still bugged
ed
2023-07-15 20:56:27 -04:00
947b4e3615
Finished refactoring tests, compiles, but does not generate
ed
2023-07-15 16:13:44 -04:00
8f4a94545c
Finished refactoring library, still working on cleaning up tests.
ed
2023-07-15 15:20:55 -04:00
9ce859ec64
WIP Ended up using new layout, made major changes to how asts are interacted with an iterated.
ed
2023-07-15 00:03:14 -04:00
7133dc0a95
WIP doing the massive refactor... also started setup an experimental new layout for the AST..
ed
2023-07-14 01:37:22 -04:00
7a2e20bcdb
WIP Change to code types [ Broken ]
ed
2023-07-13 23:01:20 -04:00
a86d6fa0ee
Some general refactors to dependency side of the library
ed
2023-07-13 19:28:25 -04:00
30381648b2
Updates to readme, small fixes to code and organizational refactors
ed
2023-07-13 15:00:05 -04:00
4e61fefc55
Updated readme, added def_body and AST::validate_body
ed
2023-07-12 15:59:47 -04:00
128b0e17fe
Readme updates, Updated tests to use args macro more.
ed
2023-07-12 03:41:16 -04:00
b17c094cd2
Removed thirdparty dir, updated docs, removed banned.define/undef files
ed
2023-07-12 03:15:52 -04:00
6ae23e4da0
Got rid of the bloat.hpp/cpp, code was moved into gen.hpp/cpp
ed
2023-07-12 02:37:51 -04:00
8eea2d1f05
First complete pass of removing zpl include (still alot todo)
ed
2023-07-12 02:18:08 -04:00
7828e6d2ea
More dependency movement from zpl, incremental design improvements.
ed
2023-07-12 01:33:11 -04:00
20d307759b
Started to move over zpl depndencies and use templated containers.
ed
2023-07-11 18:29:45 -04:00
661630a88f
Merge branch 'main' of https://github.com/Ed94/gencpp
ed
2023-07-11 03:10:29 -04:00
f9085d4b6f
Parser constructor passes all current tests...
ed
2023-07-11 03:10:20 -04:00
6ceb1e413e
Create LICENSE
ed
2023-07-11 01:18:58 -04:00
ddb3244467
array.Parsed.hpp passed test!
ed
2023-07-11 01:09:50 -04:00
1fb3db379c
Fixed regression with non-parsed code due to new global allocator setup
ed
2023-07-10 22:56:59 -04:00
1c5881c5a3
Update readmes
ed
2023-07-10 22:22:32 -04:00
14568d512e
Parsing constructors passed the sanity test!
ed
2023-07-10 22:14:41 -04:00
ed6a1d0f95
Templates, test changes (prob not working), progress on parsing bodies and operators.
ed
2023-07-10 01:15:25 -04:00
9df177edf4
WIP: getting function parameter parse to work
ed
2023-07-09 13:07:30 -04:00
6da615e6da
Alot (see description)
ed
2023-07-09 12:35:48 -04:00
855ba5a965
Base case for friend parse working.
ed
2023-07-08 23:56:37 -04:00
472189a322
Base case for extern link parse working.
ed
2023-07-08 23:29:18 -04:00
41f0e49cb0
enum base case parsing api passed
ed
2023-07-08 19:13:52 -04:00
a8e03aa7ba
Parsing base case for class works!
ed
2023-07-08 18:49:49 -04:00
498a51c899
parse_typedef works (sanity test case)
ed
2023-07-08 17:14:05 -04:00
b360cf3024
Setup testing and library for getting the parse api done.
ed
2023-07-08 14:11:41 -04:00
a0250d1109
Removed readonly ast option. Removed indentation from serialization. Updates to readme.
ed
2023-07-08 12:21:26 -04:00
4db9aadea7
HashTable non-parsed implemented.
ed
2023-07-01 00:23:40 -04:00
ef790fdda5
Began to work on the non-parsed ring implementation
ed
2023-06-30 15:11:49 -04:00
fc8239ad8d
Non parsed buffer implemented.
ed
2023-06-30 13:56:31 -04:00