Prepare parser for function definitions
This commit is contained in:
parent
86006933d7
commit
9a1bb92dfe
4 changed files with 22 additions and 2 deletions
11
src/parser/func_defs.rs
Normal file
11
src/parser/func_defs.rs
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
use chumsky::prelude::*;
|
||||
|
||||
use crate::ast::{Expr, FuncDef};
|
||||
|
||||
use super::basic::Error;
|
||||
|
||||
pub fn func_def(
|
||||
expr: impl Parser<char, Expr, Error = Error>,
|
||||
) -> BoxedParser<'static, char, FuncDef, Error> {
|
||||
todo().boxed()
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue