Function bf::ast::parse_program[][src]

pub fn parse_program(input: &[u8]) -> BfResult<Box<Program>>

Parses Brainfuck concrete syntax into an abstract syntax tree.

Errors

Unmatched square brackets will result in an Err return. See common::Error.