X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;f=src%2Febisp%2Fparser.h;h=0dcad5116cb3be7e07c9e07a4a79cbe2ec845eeb;hb=57aef9ef5f83554be0bd7b65c8e6b4187d5bcb6a;hp=9f72a2bbd21cf80faf416d471302042e3864179d;hpb=870088fae4dcf06ee10ce370fa0bd9137ae581a3;p=nothing.git diff --git a/src/ebisp/parser.h b/src/ebisp/parser.h index 9f72a2bb..0dcad511 100644 --- a/src/ebisp/parser.h +++ b/src/ebisp/parser.h @@ -21,11 +21,12 @@ struct ParseResult parse_success(struct Expr expr, struct ParseResult parse_failure(const char *error, const char *end); -// TODO: parse does not support quasiquote syntax struct ParseResult read_expr_from_string(Gc *gc, const char *str); struct ParseResult read_all_exprs_from_string(Gc *gc, const char *str); + struct ParseResult read_expr_from_file(Gc *gc, const char *filename); +struct ParseResult read_all_exprs_from_file(Gc *gc, const char *filename); void print_parse_error(FILE *stream, const char *str,