Skip to content

Add More Languages / Features #7

@bionicles

Description

@bionicles

TODO Features

  • timeouts for all the regex
  • timeout for into_rich_tree
  • struct and/or class fields / enum variants in c
  • add a --json flag for structured output
  • add filters like --filter "def foo" to limit output to key components

TODO Languages

  • Metal
  • WGSL
  • Agda
  • Delphi
  • Groovy
  • Coq
  • f-star
  • f-sharp
  • ocaml
  • tcl
  • ??? (Your idea here, please feel welcome to comment)

TODO Databases

  • PostgreSQL
  • MySQL
  • Redis / Valkey

Someday / Maybe

  • Rewrite it in Rust
  • Refactor regex to a "proper" parser where needed

Workflow:

  • Add a test file
  • Add a test expectation to tests/test_more_languages.py
  • Add a parse_XYZ(contents: str) -> list[str]: function to src/parse_file.py
  • Invoke parse_XYZ from the main reducer function atop src/parse_file.py
  • Run make debug and debug the new test until it works

Note: currently occupied on another project but will revisit this when it's done (hopefully soon).

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions