Skip to content

Multi parser setup V2#17

Open
AntoineBastide47 wants to merge 10 commits into
mainfrom
multi-parser-setup-2
Open

Multi parser setup V2#17
AntoineBastide47 wants to merge 10 commits into
mainfrom
multi-parser-setup-2

Conversation

@AntoineBastide47
Copy link
Copy Markdown
Contributor

@AntoineBastide47 AntoineBastide47 commented May 5, 2026

This PR upgrades the multi parser setup and add more QoL functionalities:

  1. Adding a new supported language is easier, just add a new entry in LanguageData.hpp (the parser still needs to be written)
  2. All detected languages are parsed in repositories by finding all file extensions and checking if a language is present
  3. Single language parsing is still available using --language <language>, and custom file extensions can also be passed --extensions <ext1,ext2,...>
  4. Added a proper usage string to the parser cli.
  5. Moved all logged statistics to markdown files in result/<repo_path>/ and added per language stats in result/<repo_path>/<language>/

P.S: The first version of the multi parser still needs to be commited so this is currently a draft, do not review

@AntoineBastide47 AntoineBastide47 self-assigned this May 5, 2026
@AntoineBastide47 AntoineBastide47 marked this pull request as ready for review May 8, 2026 12:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant