Skip to content

Add grammar/parser implementation #22

Open
@adamchristiansen

Description

@adamchristiansen

The lexer (#17) was designed to operate with lalrpop. Use lalrpop to implement the parser.

A hand-rolled parser will be implemented based on the AST proposed in #43 and the new lexer interface proposed in #44. This will likely be a recursive descent parser (possibly extended with a Pratt parser for operators).

Since the compiler will be bootstrapped (#47), we will use lalrpop.

Metadata

Metadata

Labels

No labels
No labels

Projects

Status

In progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions