summaryrefslogtreecommitdiff
path: root/src/parser.rs
diff options
context:
space:
mode:
authorJJ2023-04-06 22:55:54 +0000
committerJJ2023-04-06 22:55:54 +0000
commit5e09660164f7749eb73c133deea718bacdfe6ac6 (patch)
treea3008b330829722748c5fa0fe83855b5591574b4 /src/parser.rs
parenta5c2add97c11237b3f0a224b1ec90dcf447cc2b5 (diff)
begin bidirectional implementation
Diffstat (limited to 'src/parser.rs')
-rw-r--r--src/parser.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/parser.rs b/src/parser.rs
index ef7e28d..917df66 100644
--- a/src/parser.rs
+++ b/src/parser.rs
@@ -92,6 +92,7 @@ pub fn parse_str(input: &str) -> Result<Expression, peg::error::ParseError<peg::
}
/// Parses a Nim-like language into an AST.
+#[allow(unused_variables)]
pub fn parse_file(path: &str) -> Vec<Expression> {
todo!();
}