-
Notifications
You must be signed in to change notification settings - Fork 8
Feature/c manifest #134
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Feature/c manifest #134
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
LeBoufty
added a commit
that referenced
this pull request
May 30, 2025
* Feature/c header resolver (#127) * Added C parser * Update package-lock.json * Added C components to export * Export parent classes of nested classes (#126) * Types * JSDoc comments * First shot at parsing * Why doesn't my autoformatter work anymore * Added .c test file management * Fixed property name * Fixed property name * First round of tests * Fixed disastrous spelling mistake * Feature/c symbol registry (#129) * Added macros to header resolution * Added safety for unnamed structs * Typedef handling * Handling of struct declaration inside a typedef * Refactored tests * Symbol registry * New test file * Added tests for registry * Feature/c include resolver (#130) * Include resolver * Added tests to include resolver * Tests for several internal includes * Feature/c invocation resolver (#131) * Removed (useless) specifier checking for symbols * Invocation resolver * Added definitionPath to functions * Added getInvocationsForSymbol * Added registration of undeclared functions such as main * Tests for invocation resolver * Feature/c manifest (#134) * Dependency formatter * Added tests to formatter * C Manifest generation * Added C function to handler * Changed logic for function name resolution * Added C to languages * Fixed macro content not being parsed * Improved include path logic * Prevented overwriting of structs in header resolution * Recursively looks through inclusions * Changed standard inclusion data type * Safer query for typedef double-definitions * Updated JSDoc for header query * Separated function definition and signature * Emergency include resolution * Update crashcases.h * added metrics * added metrics to manifest * back merge main in to branch (#135) * back merge main in to branch * Fixed deno-exclusive errors * Fixed lint --------- Co-authored-by: LeBoufty <[email protected]> * Feature/c extractor (#137) * Update .gitignore * Added test:watch task to cli * Update deno.lock * Added typedefs to datatypes' invocations * Added C file content map to test files * Added .napirc to C test files * C Extractor * C Extraction binding * Class diagram * Fixed formatting * Feature/c warnings (#138) * Forced datatypes to have names * New test file * Warning manager * Added warnings to manifest generation * Added enum member management * Added support for unnamed enums * Removed unnamed enums from diagnostics * Fix/c manifest and extraction (#139) * Fixed definesToKeep can have undefined * Gave signature/definition linking responsibility to includeResolver * Removed leftover logging * Added caching to include resolution * Changed internal inclusion structure * Changed structure for included symbols * Switched invocations to IncludedSymbol * Added first-level include recursion management * Removed includes for deleted files * Includedirs and compaction * Extraction refinement * Fixed bad handling of typedefs with same name * Improved recursive inclusion resolution * Added credits --------- Co-authored-by: Florian <[email protected]>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Type of change
not work as expected)
Description
Added manifest generation and metrics to the C module