aleparser 0.1.4

Aleph Parser : generate Aleph Syntax Tree.
Documentation

aleparser

Parses Aleph source code into an AlephTree. Built with LALRPOP.

Installation

[dependencies]

aleparser = "0.1"

Usage

let ast = aleparser::parse("3 + 4".to_string());

Example

Input:

let x = 42
x + 1

Produces an AlephTree::Stmts containing a Let binding followed by an Add expression.

Related