Skip to main content

Crate haskelujah_parser

Crate haskelujah_parser 

Source
Expand description

§haskelujah-parser-chirho

Full recursive-descent parser for Haskell source files with layout rule support. The main entry point is cst_parser_chirho::ParserChirho which produces a lossless green CST. lower_chirho::lower_module_chirho converts the CST to an AST. A lightweight scan_module_header_chirho scanner is also provided for quick module-name extraction without full parsing.

Modules§

cst_parser_chirho
CST Parser — recursive-descent parser producing a lossless green tree
layout_chirho
Haskell 2010 Layout Rule
lexer_chirho
Lexer for Haskell source code
lower_chirho
CST → AST lowering

Structs§

ParsedModuleChirho

Constants§

DEFAULT_MODULE_NAME_CHIRHO

Functions§

scan_module_header_chirho
Scan a Haskell source file for its module … where header line.