crisp 0.2.1

A small, expressive Lisp-inspired programming language.
Documentation
1
2
3
4
5
6
7
8
9
10
use pest::iterators::Pair;

use crate::parsing::{Rule, ast::nodes::Node};

pub mod nodes;
pub mod validation;

pub fn cst_to_ast<'a>(pair: Pair<'a, Rule>, path: &'static str) -> Node {
    Node::from_pair(pair, path)
}