Add assignment 4

This commit is contained in:
Seungmin Jeon
2022-09-15 21:58:55 +09:00
parent 27f0b78a2c
commit 8e5abc7048
11 changed files with 509 additions and 1 deletions

View File

@@ -0,0 +1,19 @@
//! Parser.
use super::syntax::*;
use anyhow::Result;
#[allow(missing_docs)]
#[allow(missing_debug_implementations)]
mod inner {
use pest_derive::*;
#[derive(Parser)]
#[grammar = "assignments/assignment04/syntax.pest"]
pub(crate) struct SyntaxParser;
}
/// Parses command.
pub fn parse_command(line: &str) -> Result<Command> {
todo!("fill here")
}