ca7ff99a79
Code type coercion for builder_print in C11 library using generic selector.
2024-12-17 10:03:50 -05:00
08dcc3152f
Testing c-library with Cuik parsing...
2024-12-16 18:28:26 -05:00
6689235691
minor updates for better unused code cleanup in the c_library
2024-12-16 17:18:52 -05:00
e4f564b165
Tok_Capture_* -> Tok_Paren_*
...
Was not a correct name for it
2024-12-15 23:28:44 -05:00
5d8883ec45
trying diff splash
2024-12-15 23:02:32 -05:00
c90c210e04
fixes for c library
2024-12-15 22:53:32 -05:00
967a044637
Got .lib and .dlls setup for the C11 library
2024-12-14 00:10:07 -05:00
b5cf633e98
Updated c_library generation to support latest changes with context struct (also prepped for static/dynamic linkage)
2024-12-13 22:09:43 -05:00
401f85f673
corrections to c_library.cpp, package_release.ps1 working for all zips
2024-12-11 02:04:22 -05:00
44d0a9cf9d
c_library compiles
2024-12-10 23:35:47 -05:00
c8d6c27f07
singleheader compiles again
2024-12-10 22:20:40 -05:00
aecc2c59dd
segemented builds
2024-12-10 21:59:13 -05:00
0e32838da1
base works
2024-12-10 21:35:46 -05:00
ef78772278
work on gettings things compiling again after restructuring
2024-12-10 20:45:00 -05:00
8e3e66b3c1
Updates to docs and scripts
2024-12-10 16:38:01 -05:00
2c51a2f9c8
WIP: Restructuring project
2024-12-10 16:13:14 -05:00
0046c4a223
c_library refacotring works, and compiles with all content from the base project.
...
I need to make the refactor step happen before formatting with clang-format in the metaprogram instead of calling it from powershell
2024-12-10 13:56:56 -05:00
451b71884c
WIP: Broken af
2024-12-07 17:17:02 -05:00
4d638a7255
borken : lots of stuff changed, explaining in later commit...v
2024-12-07 00:21:09 -05:00
266163557f
Finished draft pass verifying containers.array.hpp is equivalent to container.hpp's array.
...
gen_generic_selection_function_macro now works generically
Imprvoed _Generic function overloading examples
2024-12-05 21:01:04 -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
3a55af9ce4
WIP(broken): Converting base library to use c-linkage symbols only
2024-12-04 11:01:53 -05:00
80cb3f4eca
Significant progress reducing c++ feature usage in the library.
2024-12-01 18:50:37 -05:00
fbdb870986
Finished first pass reviewing memory.hpp for C lib generation
2024-11-30 23:38:27 -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
5527a27f7b
prepare c_library meta-program a bit
2024-11-30 16:54:03 -05:00
c1878265c8
Minimizing reformatting of generated library files
2024-10-27 20:01:54 -04:00
d89c9a6072
de-hardcode target_arch.psm1 import
2024-10-25 13:11:21 -04:00
6aa99ac1d5
change how path_root is resolved so it works when cloned into another repository
2024-10-25 13:07:39 -04:00
f90c0a59b6
inital implemention of UE library variant generator completed
2024-10-25 05:01:37 -04:00
0542204b35
progress on unreal variant generator
2024-10-25 03:00:07 -04:00
3319bfcaa9
Updates to test and workspace
...
Added a more granular test using the original library files. Already helped me identify a bug.
2023-11-21 20:03:51 -05:00
919166efa1
fix for build script
2023-10-25 23:55:29 -04:00
d0f3b6187e
Added initial support for comma-separated variable declaration lists.
2023-10-25 00:25:35 -04:00
d5a4b77033
Some initial boostrapping of new visual ast aux project
2023-10-24 03:14:20 -04:00
eaba60f80b
Updated build scripts to latest setup used with HandmadeHero repo
2023-10-24 01:40:21 -04:00
a8708abf8b
WIP : Various changes to project before small hiatus. (Broken)
...
I need to manually review these as the changes have various errors that are difficult to diagnose why.
I took a break to do handmade hero and now a bit rusty.
2023-09-25 12:12:11 -04:00
2200bcde9a
Improved singleheader test
...
Need to make the debug_str provided by the AST type aware to provide as much contextual information as possible (finally got to this point with validation).
Singleheader test now directly calls clang-format to cleanup the reconstructed copy of the singleheader. Its needed to remove any sort of formatting discrepancies found by the parser since its sensistive to that for new-lines, etc.
2023-09-05 13:36:59 -04:00
49a2cd7b2c
Uncomment formatting comments in build script (forgot to after completing fixes)
2023-08-22 02:17:28 -04:00
c4846dad26
Formatting fixes
2023-08-22 01:51:59 -04:00
a42e241afb
Got rid of the temp compoonent files, they are now generated via bootstrapping.
...
This isn't the last step though everything in the main project directory that isn't md files needs to be generated only.
Can't do that till testing is robust enough...
2023-08-21 23:28:39 -04:00
9f64760b7a
Commenting out includes to diagnose...
2023-08-21 21:20:29 -04:00
050b00f28a
WIP - Broken Compile : Added pragma once and includes to all files + Parser fixes, and String improvements
...
Adding the pragma once and includes the files broke compilation, still diagnosing why.
- Some string functions were moved to the cpp, still need to do some more evaluation of it and the containers...
- Added support for forceinline and neverinline to parsing (untested)
- Added support for specifiers in operator cast such as explicit, inline/forceinline/neverinline, etc.
- Before it only support const.
- Still need to support volatile.
- Forceinline was not supported at all for tokenization, fixed that.
2023-08-21 20:30:13 -04:00
7d1c499e7b
Build script improvements
...
Made sure devshell only loads up the msvc env once.
2023-08-20 22:39:46 -04:00
05fa62eced
Test building & generation fixed with altest scripts
2023-08-20 15:45:06 -04:00
2f7836b191
Fixes to buildscript
2023-08-20 13:18:09 -04:00
f574a9ba9a
Further improvements to build script
...
test is failing to complete properly, need to debug...
2023-08-20 13:02:50 -04:00
a6bf60a51e
Simpilication of build script, added initial support for tests
2023-08-20 12:31:28 -04:00
c5afede7b5
Reorganization of files, refactors, doc updates (WIP)
...
Removing the gen. namespace from the files for components, dependencies, and file_processors.
They are only necessary if the include directory is transparent, and in my case those are not.
Made a docs directory. I'm offloading information from the main readme to there along with additional informationn I end up elaborating on down the line.
Enum tables were moved to their own directory (project/enums).
Library will not compile for now. Major refactor occuring with parsing related components.
2023-07-29 05:52:06 -04:00
d1c061769c
GlobalAllocator fixes
...
- Made a gen script (does full build and test) build just builds gencpp now.
2023-07-19 00:49:54 -04:00