6 #include "script/expr.h"
7 #include "script/tokenizer.h"
15 const char *error_message;
19 struct ParseResult parse_success(struct Expr expr,
21 struct ParseResult parse_failure(const char *error,
24 // TODO(#361): parser does not parse negative numbers
25 struct ParseResult read_expr_from_string(Gc *gc, const char *str);
26 struct ParseResult read_expr_from_file(Gc *gc, const char *filename);
28 void print_parse_error(FILE *stream,
30 struct ParseResult result);