{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":237559200,"defaultBranch":"master","name":"chapi","ownerLogin":"phodal","currentUserCanPush":false,"isFork":false,"isEmpty":false,"createdAt":"2020-02-01T04:03:53.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/472311?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1706623221.0","currentOid":""},"activityList":{"items":[{"before":"6f772ae2feef8a9c27bff0ec9f3ce8ba9e449200","after":"39562227fda0cc7ae66fa767ccbdf99843108cba","ref":"refs/heads/master","pushedAt":"2024-02-14T02:03:43.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"phodal","name":"Fengda Huang","path":"/phodal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/472311?s=80&v=4"},"commit":{"message":"feat(chapi-ast-cpp): add support for importing C++ headers\n\nThis commit adds support for importing C++ headers in the CPPBasicIdentListener class. The includes are extracted from the code using a regular expression and added to the CodeContainer as CodeImport objects. This allows for better analysis of C++ code that relies on external headers.","shortMessageHtmlLink":"feat(chapi-ast-cpp): add support for importing C++ headers"}},{"before":"49fdc47cfce54a7f1a09e0f977d34ea7063e001f","after":"6f772ae2feef8a9c27bff0ec9f3ce8ba9e449200","ref":"refs/heads/master","pushedAt":"2024-02-14T01:32:17.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"phodal","name":"Fengda Huang","path":"/phodal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/472311?s=80&v=4"},"commit":{"message":"chore(chapi-ast-c): update kotlinx-coroutines-core version\n\nUpdate the kotlinx-coroutines-core version from 1.8.0-RC2 to 1.7.3 in the build.gradle.kts file of chapi-ast-c module.","shortMessageHtmlLink":"chore(chapi-ast-c): update kotlinx-coroutines-core version"}},{"before":"e1cda08149f490b0a668add153d379259531896d","after":"49fdc47cfce54a7f1a09e0f977d34ea7063e001f","ref":"refs/heads/master","pushedAt":"2024-02-04T00:41:03.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"phodal","name":"Fengda Huang","path":"/phodal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/472311?s=80&v=4"},"commit":{"message":"feat(docs): add links and code example to usecases and quick-start\n\nAdded links to ArchGuard, UnitGen, and ChocolateFactory in the usecases.md file to provide more information about these tools. Also, added a code example in the quick-start.md file to demonstrate how to use the AST in Java.","shortMessageHtmlLink":"feat(docs): add links and code example to usecases and quick-start"}},{"before":"903396e2ee3f89e1909eadc545858fa75cfe8067","after":"e1cda08149f490b0a668add153d379259531896d","ref":"refs/heads/master","pushedAt":"2024-02-03T02:05:21.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"phodal","name":"Fengda Huang","path":"/phodal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/472311?s=80&v=4"},"commit":{"message":"feat(c): add support for parsing #include directives\n\nThis commit adds support for parsing #include directives in C code. The `CAnalyser` class now uses a regular expression to extract the included file paths and stores them in the `includesDirective` property. This allows for better analysis of code dependencies. Additionally, a test case in `CFullIdentListenerTest` has been updated to reflect the new behavior.","shortMessageHtmlLink":"feat(c): add support for parsing #include directives"}},{"before":"229a430e3dd7cd8e8cb3c36b27878f8b6be74e32","after":"903396e2ee3f89e1909eadc545858fa75cfe8067","ref":"refs/heads/master","pushedAt":"2024-02-02T09:48:25.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"phodal","name":"Fengda Huang","path":"/phodal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/472311?s=80&v=4"},"commit":{"message":"feat(README): update architecture matrix\n\n- Updated the architecture matrix in the README.md file.\n- Added support for function call and arch/package.\n- Improved coverage for real world scenarios.","shortMessageHtmlLink":"feat(README): update architecture matrix"}},{"before":"dfa0c0fd62707acac09d0c88c3f38622d1c96e27","after":"229a430e3dd7cd8e8cb3c36b27878f8b6be74e32","ref":"refs/heads/master","pushedAt":"2024-02-02T09:46:58.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"phodal","name":"Fengda Huang","path":"/phodal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/472311?s=80&v=4"},"commit":{"message":"chore(readme): fix typo and update language support\n\n- Fix a typo in the pronunciation of \"Chapi\" in the README.md file.\n- Update the language support table to include C++ and Rust for syntax parsing.\n- Update the language support table to include C and Scala for architecture/packages.\n- Add a link to the Wikipedia page on first-class functions in the README.md file.\n- Remove the `:chapi-ast-scala` dependency from the Goovy file.\n- Add the `:chapi-ast-scala` dependency to the Goovy file.\n- Add the `:chapi-ast-c` dependency to the Goovy file.\n- Add a section on C issues in the README.md file.\n- Add information on using macros in C code in the README.md file.\n- Add a link to the jcpp library for C pre-processing in the README.md file.\n\nRefs: [Tea if by sea, cha if by land](https://qz.com/1176962/map-how-the-word-tea-spread-over-land-and-sea-to-conquer-the-world/)\n\nLanguage Family [wiki](https://en.wikipedia.org/wiki/First-class_function)","shortMessageHtmlLink":"chore(readme): fix typo and update language support"}},{"before":"15097bddecee0f9ab81c2789bc0cfb6fc4d8f2f1","after":"dfa0c0fd62707acac09d0c88c3f38622d1c96e27","ref":"refs/heads/master","pushedAt":"2024-02-01T15:02:00.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"phodal","name":"Fengda Huang","path":"/phodal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/472311?s=80&v=4"},"commit":{"message":"docs: update relase note","shortMessageHtmlLink":"docs: update relase note"}},{"before":"6bbba23ca5b112cb790c56282d5ff5a2cee7161a","after":"15097bddecee0f9ab81c2789bc0cfb6fc4d8f2f1","ref":"refs/heads/master","pushedAt":"2024-02-01T15:01:38.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"phodal","name":"Fengda Huang","path":"/phodal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/472311?s=80&v=4"},"commit":{"message":"feat: add preprocessofr for cpp","shortMessageHtmlLink":"feat: add preprocessofr for cpp"}},{"before":"51cf9c8ab62a9810de7d9520861cfcba05df11cb","after":"6bbba23ca5b112cb790c56282d5ff5a2cee7161a","ref":"refs/heads/master","pushedAt":"2024-02-01T14:33:49.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"phodal","name":"Fengda Huang","path":"/phodal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/472311?s=80&v=4"},"commit":{"message":"chore: release to 2.3.4","shortMessageHtmlLink":"chore: release to 2.3.4"}},{"before":"199ba073de0101d4f823ad5f9125c3c194e7fb1a","after":"51cf9c8ab62a9810de7d9520861cfcba05df11cb","ref":"refs/heads/master","pushedAt":"2024-02-01T14:31:07.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"phodal","name":"Fengda Huang","path":"/phodal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/472311?s=80&v=4"},"commit":{"message":"docs(c): add support for parsing C header files #24\n\nThis commit adds support for parsing C header files in the `Analyser` interface. The `addSource` function now accepts C header files and adds them to the program. This allows for more comprehensive analysis of C code.","shortMessageHtmlLink":"docs(c): add support for parsing C header files #24"}},{"before":"ee4e5f370612bff3c0b340757a175331bd987135","after":"199ba073de0101d4f823ad5f9125c3c194e7fb1a","ref":"refs/heads/master","pushedAt":"2024-02-01T13:53:40.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"phodal","name":"Fengda Huang","path":"/phodal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/472311?s=80&v=4"},"commit":{"message":"feat(c): add support for preprocessing C code #24\n\nThis commit adds support for preprocessing C code using the `org.anarres.cpp` library. It introduces a new `CAnalyser` class that initializes a `Preprocessor` object and adds features and warnings. The `addSource` method is added to add source code to the program. The `analysis` method now preprocesses the code using the `Preprocessor` object and then parses the resulting output. The `CParser.g4` file is modified to include support for type keywords and pointers. The `CFullIdentListenerTest.kt` file is modified to update the test cases. The `build.gradle.kts` file is modified to include the `org.anarres:jcpp` dependency.","shortMessageHtmlLink":"feat(c): add support for preprocessing C code #24"}},{"before":"cd59c581565bac0ba5a9c6d7048b590038148922","after":"ee4e5f370612bff3c0b340757a175331bd987135","ref":"refs/heads/master","pushedAt":"2024-02-01T13:21:04.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"phodal","name":"Fengda Huang","path":"/phodal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/472311?s=80&v=4"},"commit":{"message":"refactor(c): try for jcpp","shortMessageHtmlLink":"refactor(c): try for jcpp"}},{"before":"8eedc7e69099d94f76d9a6d264e7bfee561e4197","after":"cd59c581565bac0ba5a9c6d7048b590038148922","ref":"refs/heads/master","pushedAt":"2024-02-01T10:17:34.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"phodal","name":"Fengda Huang","path":"/phodal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/472311?s=80&v=4"},"commit":{"message":"feat(docs): add C Macro library recommendation #24\n\nAdd a recommendation for a C Macro library in the README.md file. The library is called jcpp and can be found at [https://github.com/shevek/jcpp](https://github.com/shevek/jcpp). This library is useful for parsing C code that requires pre-processing.","shortMessageHtmlLink":"feat(docs): add C Macro library recommendation #24"}},{"before":"9f764e72d1e5a829d00643d4ad196b34cc1b32d5","after":"8eedc7e69099d94f76d9a6d264e7bfee561e4197","ref":"refs/heads/master","pushedAt":"2024-02-01T10:14:35.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"phodal","name":"Fengda Huang","path":"/phodal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/472311?s=80&v=4"},"commit":{"message":"refactor(chapi-ast-c): refactor preprocessor directives #24\n\nRefactor the `OnPreprocessorDirectiveIfdef` and `OnPreprocessorDirectiveIfndef` methods in `CPreprocessorParserBase.java` to remove unnecessary code. Also, update the `CLexer.g4` and `CPreprocessorParser.g4` files to use more descriptive names for the preprocessor directives.","shortMessageHtmlLink":"refactor(chapi-ast-c): refactor preprocessor directives #24"}},{"before":"ce75abdcfc0a5049ff95bf42b2c0f7c267ca1287","after":"9f764e72d1e5a829d00643d4ad196b34cc1b32d5","ref":"refs/heads/master","pushedAt":"2024-02-01T09:41:20.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"phodal","name":"Fengda Huang","path":"/phodal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/472311?s=80&v=4"},"commit":{"message":"fix: fix test","shortMessageHtmlLink":"fix: fix test"}},{"before":"efe7163ef2f79232bf7b676a478a1ee127f9adf7","after":"ce75abdcfc0a5049ff95bf42b2c0f7c267ca1287","ref":"refs/heads/master","pushedAt":"2024-02-01T09:40:31.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"phodal","name":"Fengda Huang","path":"/phodal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/472311?s=80&v=4"},"commit":{"message":"refactor(c): update to lexer #24","shortMessageHtmlLink":"refactor(c): update to lexer #24"}},{"before":"a7e7b72d03a98b7a01d1fdfbe98037ffe6ebcd44","after":"efe7163ef2f79232bf7b676a478a1ee127f9adf7","ref":"refs/heads/master","pushedAt":"2024-02-01T09:20:16.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"phodal","name":"Fengda Huang","path":"/phodal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/472311?s=80&v=4"},"commit":{"message":"feat(c): add support for parsing #include directives\n\nThis commit adds support for parsing #include directives in the CAnalyser and CFullIdentListener classes. The includesDirective variable is used to store the list of included files, which is then passed to the CFullIdentListener constructor. The CFullIdentListener class now iterates over the includes list and adds CodeImport objects to the codeContainer.Imports list for each included file. This allows for better analysis of C code that includes other files.","shortMessageHtmlLink":"feat(c): add support for parsing #include directives"}},{"before":"2cbf67d04bebd078432883f7090d162fad4a12f1","after":"a7e7b72d03a98b7a01d1fdfbe98037ffe6ebcd44","ref":"refs/heads/master","pushedAt":"2024-02-01T08:19:51.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"phodal","name":"Fengda Huang","path":"/phodal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/472311?s=80&v=4"},"commit":{"message":"fix(chapi-ast-c): enable CFullIdentListenerTest ignored tests\n\nThis commit enables the ignored tests in CFullIdentListenerTest, which were previously disabled. The tests include shouldSupportForMacroConcat, shouldHandleMacroInStructure, shouldHandleMacroInFunc, shouldHandleForMacroForBrokenCondition, and should","shortMessageHtmlLink":"fix(chapi-ast-c): enable CFullIdentListenerTest ignored tests"}},{"before":"5c4668e178853e4f02a6595a2f5210a441cb1ab1","after":"2cbf67d04bebd078432883f7090d162fad4a12f1","ref":"refs/heads/master","pushedAt":"2024-02-01T08:15:26.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"phodal","name":"Fengda Huang","path":"/phodal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/472311?s=80&v=4"},"commit":{"message":"feat(chapi-ast-c): update grammar for CParser.g4\n\nThis commit updates the grammar in CParser.g4 file to improve support for built-in functions and macro expressions.","shortMessageHtmlLink":"feat(chapi-ast-c): update grammar for CParser.g4"}},{"before":"5ab0852893c6ca4e600982aaa41624b4dd85180c","after":"5c4668e178853e4f02a6595a2f5210a441cb1ab1","ref":"refs/heads/master","pushedAt":"2024-02-01T08:07:27.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"phodal","name":"Fengda Huang","path":"/phodal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/472311?s=80&v=4"},"commit":{"message":"fix(chapi-ast-c): fix comparison and assignment operators #24\n\n- Modified the grammar file to fix the comparison and assignment operators.\n- Replaced \"Equal\" with \"OP_EQ\" for assignmentOperator and initDeclarator.\n- Replaced \"Equal\" with \"OP_EQ\" for enumerator and designation.\n- Replaced \"Equal\" with \"Assign\" for designation.","shortMessageHtmlLink":"fix(chapi-ast-c): fix comparison and assignment operators #24"}},{"before":"936af71d6e67cd27bf32f533c125451970260c99","after":"5ab0852893c6ca4e600982aaa41624b4dd85180c","ref":"refs/heads/master","pushedAt":"2024-02-01T07:40:22.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"phodal","name":"Fengda Huang","path":"/phodal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/472311?s=80&v=4"},"commit":{"message":"refactor(c): update processor defign to logic #24","shortMessageHtmlLink":"refactor(c): update processor defign to logic #24"}},{"before":"7661e25cdacd8a6ce330ec2a33ab020358bac899","after":"936af71d6e67cd27bf32f533c125451970260c99","ref":"refs/heads/master","pushedAt":"2024-02-01T06:39:07.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"phodal","name":"Fengda Huang","path":"/phodal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/472311?s=80&v=4"},"commit":{"message":"refactor(c): init c preprocessor #24","shortMessageHtmlLink":"refactor(c): init c preprocessor #24"}},{"before":"86edfbe1331b9643a68624e6772b25a1a0a80487","after":"7661e25cdacd8a6ce330ec2a33ab020358bac899","ref":"refs/heads/master","pushedAt":"2024-02-01T05:47:40.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"phodal","name":"Fengda Huang","path":"/phodal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/472311?s=80&v=4"},"commit":{"message":"refactor(c): clean old code for new design\n\nAdd CPreprocessorParseBase class to chapi-ast-c module for preprocessing C code. This class extends Parser and provides necessary functionality for parsing C code with preprocessor directives.","shortMessageHtmlLink":"refactor(c): clean old code for new design"}},{"before":"262dd0ed1bf000a50a86a3edafb471984f59b150","after":"86edfbe1331b9643a68624e6772b25a1a0a80487","ref":"refs/heads/master","pushedAt":"2024-02-01T04:05:25.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"phodal","name":"Fengda Huang","path":"/phodal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/472311?s=80&v=4"},"commit":{"message":"feat(csharp): add support for parsing C# code and extracting function information\n\nThis commit adds support for parsing C# code and extracting function information using the CSharpAnalyser class. It also includes a reference to the source used for parsing and collecting tokens.","shortMessageHtmlLink":"feat(csharp): add support for parsing C# code and extracting function…"}},{"before":"09758240630eeda73f53ca6b460a5adf0b1aed11","after":"262dd0ed1bf000a50a86a3edafb471984f59b150","ref":"refs/heads/master","pushedAt":"2024-02-01T03:46:17.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"phodal","name":"Fengda Huang","path":"/phodal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/472311?s=80&v=4"},"commit":{"message":"feat(csharp): add support for conditional compilation\n\nAdd support for conditional compilation in the CSharpAstListenerTest class. This allows for different code blocks to be compiled based on the DEBUG flag.","shortMessageHtmlLink":"feat(csharp): add support for conditional compilation"}},{"before":"6cb14b45a3a10c275c988250d5b4e41c1335ea53","after":"09758240630eeda73f53ca6b460a5adf0b1aed11","ref":"refs/heads/master","pushedAt":"2024-02-01T03:39:25.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"phodal","name":"Fengda Huang","path":"/phodal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/472311?s=80&v=4"},"commit":{"message":"feat(csharp): add test case for macro preprocessor\n\nAdd a new test case to `CSharpAstListenerTest` to test the macro preprocessor functionality. The test code includes a sample C# code with preprocessor directives. The test verifies that the analysis correctly identifies the data structures in the code.","shortMessageHtmlLink":"feat(csharp): add test case for macro preprocessor"}},{"before":"c10a798845f40fda9b4a4e9d854345ffe008412a","after":"6cb14b45a3a10c275c988250d5b4e41c1335ea53","ref":"refs/heads/master","pushedAt":"2024-02-01T03:15:46.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"phodal","name":"Fengda Huang","path":"/phodal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/472311?s=80&v=4"},"commit":{"message":"feat(c): add support for parsing #include statements #24\n\nThis commit adds support for parsing #include statements in C code. It extracts the included file name and adds it to the list of imports in the code container.","shortMessageHtmlLink":"feat(c): add support for parsing #include statements #24"}},{"before":"450c631d876511642b38f4550b448e3353ca5695","after":"c10a798845f40fda9b4a4e9d854345ffe008412a","ref":"refs/heads/master","pushedAt":"2024-02-01T02:54:51.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"phodal","name":"Fengda Huang","path":"/phodal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/472311?s=80&v=4"},"commit":{"message":"chore(chapi-ast-c): update C.g4 and CFullIdentListenerTest.kt, remove @Ignore\n\n- Update C.g4 to comment out Directive rule\n- Remove @Ignore annotation from CFullIdentListenerTest.kt\n- Update README.md with test results and known issues","shortMessageHtmlLink":"chore(chapi-ast-c): update C.g4 and CFullIdentListenerTest.kt, remove @…"}},{"before":"89e20820f4950ae104a9e91dee9b665043915b5e","after":"450c631d876511642b38f4550b448e3353ca5695","ref":"refs/heads/master","pushedAt":"2024-02-01T02:44:30.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"phodal","name":"Fengda Huang","path":"/phodal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/472311?s=80&v=4"},"commit":{"message":"chore: release to 2.3.3","shortMessageHtmlLink":"chore: release to 2.3.3"}},{"before":"6f160bbd08de6298f4c06c67a21f39d431337419","after":"89e20820f4950ae104a9e91dee9b665043915b5e","ref":"refs/heads/master","pushedAt":"2024-02-01T02:42:09.000Z","pushType":"push","commitsCount":4,"pusher":{"login":"phodal","name":"Fengda Huang","path":"/phodal","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/472311?s=80&v=4"},"commit":{"message":"fix(chapi-ast-c): modify grammar rules for single line macro declarations #24\n\nThis commit modifies the grammar rules for single line macro declarations in the chapi-ast-c project. The changes include adding support for various types of macro declarations and expressions. The modifications aim to improve the parsing of macros in the code.","shortMessageHtmlLink":"fix(chapi-ast-c): modify grammar rules for single line macro declarat…"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"djE6ks8AAAAD-hhDcgA","startCursor":null,"endCursor":null}},"title":"Activity · phodal/chapi"}