cd7548c3d4
parser finally compiles
2024-12-09 22:51:24 -05:00
79a1951861
more prep for parser.cpp for c-library gen
2024-12-09 20:01:46 -05:00
e786d7c3b6
prepped lexer and parser for c-library generation
2024-12-09 16:45:18 -05:00
e6f30c7e1d
TokType compiles for c lbirary
2024-12-09 15:23:47 -05:00
a3407c14d5
First compiling version of operator overloading for C! (on both msvc and clang using -std=c11 flag, using _Generic selection with some helper macros)
...
Extremely satsified with how unofuscated the generated code is for _Generic.
Still fixing up the templated container code though in the c-codegen
2024-12-05 17:04:17 -05:00
a3e7ec4c72
successful compile of c_library for: platform, macros, basic_types, debug, and memory headers (and newly generated c-code)
2024-12-05 00:40:51 -05:00
cae1555b11
wip having nasty parser issue (fixed nasty lexer bug)
2024-12-04 15:00:37 -05:00
f7709bb64e
more progress
2024-12-04 11:30:54 -05:00
3a55af9ce4
WIP(broken): Converting base library to use c-linkage symbols only
2024-12-04 11:01:53 -05:00
ba1dd1894a
WIP (Broken): Major changes to handling Strings in ast (StringCached defined as StrC)
2024-12-03 18:47:12 -05:00
c6fba23173
reduce ESpecifier to c-compatiable enum
2024-12-03 13:14:14 -05:00
d45908fb32
reduce TokType enum to c-compatiable
2024-12-03 09:50:30 -05:00
a7c9dad9fd
cpp feature reduction usage in parser
2024-12-03 09:31:27 -05:00
63ebd0d094
removed reference type usage in components/lexer.cpp, looking into resolving 'using namespace' usage
2024-12-03 01:44:01 -05:00
2fe708e4be
Began to reduce cpp feature usage in lexer and parser
2024-12-02 22:25:39 -05:00
f9c21ebc04
progress
2024-12-01 23:35:58 -05:00
fec709cc76
Progresss
2024-12-01 21:59:43 -05:00
80cb3f4eca
Significant progress reducing c++ feature usage in the library.
2024-12-01 18:50:37 -05:00
e5acac1d18
String member definitions not longer used in the base project
2024-12-01 03:06:30 -05:00
0b4ccac8f9
Removed usage of hashtable member procs
2024-12-01 01:39:21 -05:00
6d04165b96
Reduce cpp freatures usage of Array container.
...
Almost ready to be inter-operable with C
2024-11-30 18:54:19 -05:00
e5616c5879
generated code update + reverting some fixes for now...
2024-10-25 02:59:56 -04:00
b8e1aa6eb7
WIP : Fixes and other changes
...
* Number literals weren't getting properly lexed
* Fixes for compiler errors with Unreal Engine configuration.
* Support for "post-name" macros in parameters
* Support for variables initializing directly using constructor syntax.
* Explicitly added inline keyword to header inlines for compiling compile library in multiple translation units.
2024-10-25 01:04:17 -04:00
e1592ba410
Bug fixes and updates to package_release.ps1
...
- Incrased size of the defines_map_arena to 256KB
- Various fixes for the parser
- Various fixes for code serialization
- Fix for is_equal member func in Code types
- Fixes for hasthable container
- Added are_equal static func to String type for use against StrC
- Added starts_with functions to String type
- package_release.ps1 now packages all docs (forgot to update it with last release)
2024-05-05 21:53:22 -04:00
36260f6edb
Updated gencpp with latest fixes used in other projects.
...
This variant can support parsing some Unreal Engine files!!
2024-04-17 17:40:32 -04:00
91a3250d4c
Finished current iteration of parser_algo docs and parser.cpp inline comment docs
...
Added some todos and prep for upcoming changes
2023-11-22 14:23:21 -05:00
772db608be
Added support for predefining preprocessor defines before parsing strings of code.
...
This prevents issues for preprocessor defines not getting treated properly for specific circumstances (such as macro wrappers for specifiers).
2023-11-21 20:09:14 -05:00
9d27c7d37e
Lexer improvement prep, segmentation of lexer and parser.
2023-11-20 21:24:27 -05:00