Skip to main content

Module fallback_parser

Module fallback_parser 

Source
Expand description

Lightweight fallback parser for emerging language support.

This parser is intentionally heuristic-based (line scanner + simple token rules) so Arbor can provide useful symbol indexing for languages that are not yet wired to a full Tree-sitter grammar in every runtime path.

Constants§

FALLBACK_EXTENSIONS
Extra language extensions indexed into the code graph via fallback parsing.
MARKDOWN_EXTENSIONS
Markdown extensions, parsed into Section nodes for document graphs.

Functions§

is_fallback_supported_extension
is_markdown_extension
Whether this extension is parsed as prose rather than code.
parse_fallback_source