Commit Graph

  • a8708abf8b WIP : Various changes to project before small hiatus. (Broken) Ed_ 2023-09-25 12:12:11 -04:00
  • 4b48b96a79 WIP : better AST::debug_str() Ed_ 2023-09-11 23:22:53 -04:00
  • 9495fc2985 Updates to documentation Ed_ 2023-09-11 18:34:37 -04:00
  • 378de73a7d Merge branch 'main' of https://github.com/Ed94/gencpp v0.11-Alpha Ed_ 2023-09-08 15:15:13 -04:00
  • 35ac0c1048 Fix compile-error for singleheader found with scanner's scan_file. Ed_ 2023-09-08 15:14:43 -04:00
  • 2c893d5e35
    Merge pull request #34 from Ed94/dev v0.10-Alpha Ed_ 2023-09-07 23:06:02 -04:00
  • 6ea40094ee More fixes from clang warnings. Parser::lex prep for changes Ed_ 2023-09-07 22:51:15 -04:00
  • 0a8d3bfc6a Added fixed arenas (just ergonomics) Ed_ 2023-09-07 22:29:04 -04:00
  • 212b4e6d16 Fixes for compiling with clang Ed_ 2023-09-07 21:11:57 -04:00
  • d606c790ca Added a new AST member NextVar to be used for comma separated variable support. Ed_ 2023-09-06 03:06:30 -04:00
  • 2bfbef1d0c strip_formatting : Remove code thats no longer needed. Ed_ 2023-09-06 02:09:26 -04:00
  • f1fb75cc1c Progress on strip_formatting function, support for multi-dimentional array variables and typenames. Ed_ 2023-09-06 00:30:34 -04:00
  • 2200bcde9a Improved singleheader test Ed_ 2023-09-05 13:36:59 -04:00
  • 3e249d9bc5 Reorganization of parser, refactor of parse_type( bool* ) and progression of parser docs Ed_ 2023-09-05 01:44:04 -04:00
  • 3868e1e811 Added cursed typedef Ed_ 2023-09-04 12:32:31 -04:00
  • 543427dfe5 Fixes to parsing for validation Ed_ 2023-09-03 23:36:51 -04:00
  • f2d4ec96f0 Dumb fix for name check on parameters Ed_ 2023-09-03 20:34:27 -04:00
  • 1076818250 Got whitepace stripping properly working (AFAICT) for parse_define() Ed_ 2023-09-03 20:29:45 -04:00
  • c4c308c8ba Fixes for auxilary code + typo fix in ast.cpp Ed_ 2023-08-29 00:03:08 -04:00
  • a4d9a63d71 Updated single-header based on last cs and also docs Ed_ 2023-08-28 23:52:44 -04:00
  • 0197afd543 Changed how editor intellisense directives are handled for compoenents and dependencies Ed_ 2023-08-28 23:46:50 -04:00
  • 7249a7317d Added space stripping during for content of various ASTs Ed_ 2023-08-26 11:55:05 -04:00
  • abf51e4aa9 Adjustment to AST::is_equal based on issues found with last CS. Ed_ 2023-08-25 18:57:53 -04:00
  • 9b6dc3cbd8 Work on AST::is_equal. Ed_ 2023-08-25 18:40:13 -04:00
  • 9edcbad907 Fixes to parsing marco content, progress on validation test (single-header) Ed_ 2023-08-23 21:19:31 -04:00
  • a6766cf0b1 Singleheader validation test got through ast reconstruction, failed to validate the reconstructed AST. Ed_ 2023-08-23 18:16:45 -04:00
  • 8635b0fd1b doc update for parampack typename Ed_ 2023-08-23 13:17:30 -04:00
  • 30eec99628 Changes to include usage, starting to attempt singleheader automated verification Ed_ 2023-08-23 13:17:22 -04:00
  • f9117a2353 Added zpl's ivrtual memory to dependencies (unused for now) Ed_ 2023-08-23 11:05:49 -04:00
  • c81f4b34ee Cleanup and doc updates Ed_ 2023-08-23 02:17:47 -04:00
  • c97762ac16 Added support for inline comments Ed_ 2023-08-23 00:05:58 -04:00
  • 5e79e8ba65 Started to setup for codebase validation tests. Ed_ 2023-08-22 16:01:50 -04:00
  • 49a2cd7b2c Uncomment formatting comments in build script (forgot to after completing fixes) v0.9-Alpha Ed_ 2023-08-22 02:17:28 -04:00
  • a6c6574390 More formatting fixes Ed_ 2023-08-22 02:09:20 -04:00
  • c4846dad26 Formatting fixes Ed_ 2023-08-22 01:51:59 -04:00
  • a61a28b778 Fixx to bitfield variables Ed_ 2023-08-22 00:40:38 -04:00
  • d0c995893d Lower inital memory allocation amounts. (Lower latency iteration for running generator) Ed_ 2023-08-21 23:49:23 -04:00
  • a42e241afb Got rid of the temp compoonent files, they are now generated via bootstrapping. Ed_ 2023-08-21 23:28:39 -04:00
  • 6d85dd8fe8 Update vcproj Ed_ 2023-08-21 23:09:40 -04:00
  • db6e8b33eb got intellisense working for the most part... Ed_ 2023-08-21 23:02:20 -04:00
  • 7be3617083 Runtime fixed Ed_ 2023-08-21 22:48:05 -04:00
  • 5c47777972 compiles agian... Ed_ 2023-08-21 21:40:23 -04:00
  • 4a2ed6de4e another vs code automated edit... Ed_ 2023-08-21 21:40:05 -04:00
  • 9f64760b7a Commenting out includes to diagnose... Ed_ 2023-08-21 21:20:29 -04:00
  • 68f34e6fab gitignore update for vc140.pdb Ed_ 2023-08-21 21:12:52 -04:00
  • 1f9bbddbb7 vs setting update Ed_ 2023-08-21 21:12:25 -04:00
  • 050b00f28a WIP - Broken Compile : Added pragma once and includes to all files + Parser fixes, and String improvements Ed_ 2023-08-21 20:30:13 -04:00
  • 1241f44fd4 scan_file function can auto skips pragma once and includes Ed_ 2023-08-21 20:27:00 -04:00
  • 7d1c499e7b Build script improvements Ed_ 2023-08-20 22:39:46 -04:00
  • b3f0c2734f Merge remote-tracking branch 'origin/main' into dev Ed_ 2023-08-20 18:04:51 -04:00
  • eaeb8acee4 Remove Some vcproj changes, removal of the rogue vc140.pdb Ed_ 2023-08-20 18:04:35 -04:00
  • 12bf878cb3
    Merge pull request #23 from Ed94/dev Ed_ 2023-08-20 17:55:35 -04:00
  • 52ae431ad6 Made clean script remove the gen dir now from test dir. Ed_ 2023-08-20 15:51:51 -04:00
  • 05fa62eced Test building & generation fixed with altest scripts Ed_ 2023-08-20 15:45:06 -04:00
  • 2f7836b191 Fixes to buildscript Ed_ 2023-08-20 13:18:09 -04:00
  • f574a9ba9a Further improvements to build script Ed_ 2023-08-20 13:02:50 -04:00
  • a6bf60a51e Simpilication of build script, added initial support for tests Ed_ 2023-08-20 12:31:24 -04:00
  • 37d9782cf2 Singleheader now compiles with new build script on both clang & msvc Ed_ 2023-08-20 10:17:55 -04:00
  • 11679ba8b4 New build script works for clang and msvc! Ed_ 2023-08-19 21:33:01 -04:00
  • 8985f0a4d9 MSVC in latest script works Ed_ 2023-08-19 17:08:13 -04:00
  • 32a910515e More refactoring, getting rid of meson in favor of just powershell scripts Ed_ 2023-08-19 08:21:28 -04:00
  • aa928ff446 Scripting updates, some refactors.. Ed_ 2023-08-09 18:47:59 -04:00
  • 5aff89262b Fixes (Doc typos, pragma once worng type, non-debug fatal compile fail) Ed_ 2023-08-09 09:50:12 -04:00
  • b5fa864318 Fixes and improvements to serialization. v0.8-Alpha Ed_ 2023-08-08 22:14:58 -04:00
  • bb35444be9 Fix for log_failure macro expansion in helper.hpp: CodeBody gen_ast_inlines() Ed_ 2023-08-08 15:53:10 -04:00
  • 67d02c1f62 Fix for wrong tokens for GNU/MSVC attribute captures (parse_attributes) Ed_ 2023-08-08 15:35:06 -04:00
  • c7647ab00f Updated docs v0.7-Alpha Ed_ 2023-08-08 11:56:42 -04:00
  • d2fc1d0a56 Converted log_failure and fatal to macros (fixes GEN_PANIC not determining correct line or file) Ed_ 2023-08-08 09:48:50 -04:00
  • ed3246c6b0 Fixes for typedef serialization of functions.. Ed_ 2023-08-07 20:16:04 -04:00
  • c4d5637a64 Fixes to single header generation (bad parsing adt/csv injection in wrong place) Ed_ 2023-08-07 14:52:26 -04:00
  • c2f8c8aeb1 Added constructor and destructor supported (UNTESTED) Ed_ 2023-08-07 03:10:45 -04:00
  • c2319b9651 Fixes for test.singleheader_ast.cpp, also added a bench for it. Ed_ 2023-08-06 17:46:17 -04:00
  • a4f9596d3b Fixes to serialization, reduced Define_CodeType macro Ed_ 2023-08-06 17:19:57 -04:00
  • 97750388ad No longer using components/temp/ast_inlines (switched to helper function to avoid macro usage) Ed_ 2023-08-06 14:58:43 -04:00
  • 00f6c45f15 Fixes for serializations found with last commit's test. Ed_ 2023-08-06 13:28:19 -04:00
  • 34f286d218 Library can now construct into AST and serialization itself (singleheader). Ed_ 2023-08-04 16:12:13 -04:00
  • d36c3fa847 Single header generates again, some more cleanup. Ed_ 2023-08-03 23:18:33 -04:00
  • 5d7dfaf666 Heavy refactor.. Ed_ 2023-08-03 11:01:43 -04:00
  • 114f678f1b
    Merge pull request #9 from Ed94/Preprocessor_support Ed_ 2023-08-02 16:04:57 -04:00
  • a8a9b681f0 test completes singleheader ast construction and serailizes with corruption preprocessor_support Ed_ 2023-08-02 14:01:56 -04:00
  • b96b0821c1 Fixes towards parsing (getting to line 12575 now of the singleheader. Ed_ 2023-08-02 12:39:35 -04:00
  • 4c8a0f0005 Iterations on serialization improvements. Ed_ 2023-08-01 20:56:00 -04:00
  • 684569750d first serialization of singlehearder without asserts. (Still failing after around 4k lines. Ed_ 2023-08-01 16:07:47 -04:00
  • 0f16d1131e Got past parsing, fixing serialization Ed_ 2023-08-01 14:02:54 -04:00
  • 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