Skip to main content

Crate bhc_parser

Crate bhc_parser 

Source
Expand description

Parser for Haskell 2026 source code.

This crate provides a recursive descent parser that produces an AST from a token stream.

Structs§

Parser
A parser for Haskell 2026 source code.

Enums§

ParseError
Parser error type.

Functions§

parse_expr
Parse an expression from source code.
parse_import_decl
Parse a single import declaration from source code.
parse_module
Parse a module from source code.

Type Aliases§

ParseResult
The result of parsing.