Module Parsing.Lex_and_parse

val parse_program : Stdlib.Lexing.lexbuf -> Parsed_ast.program Core.Or_error.t

Given a lex buffer to read a bolt program from, parse the program and return the AST if successful

val pprint_parsed_ast : Stdlib.Format.formatter -> Parsed_ast.program -> unit

Given a formatter and parsed AST, pretty-print the AST - useful for debugging