]> git.lizzy.rs Git - nothing.git/blobdiff - src/script/parser.h
TODO(#330)
[nothing.git] / src / script / parser.h
index 01b0b672ef9b0061489e57c65a36441c2d801c24..21247dae5757a019dac8a1f8e0c4a192557ef6fe 100644 (file)
@@ -21,7 +21,8 @@ struct ParseResult parse_success(struct Expr expr,
 struct ParseResult parse_failure(const char *error,
                                  const char *end);
 
-struct ParseResult parse_expr(struct Token token);
+struct ParseResult read_expr_from_string(Gc *gc, const char *str);
+struct ParseResult read_expr_from_file(Gc *gc, const char *filename);
 
 void print_parse_error(FILE *stream,
                        const char *str,