diff options
author | Matthias Beyer <mail@beyermatthias.de> | 2017-10-22 12:45:50 +0200 |
---|---|---|
committer | Matthias Beyer <mail@beyermatthias.de> | 2017-10-22 12:45:50 +0200 |
commit | 4e2dc0a0728b280d2ff01da452eea319b660187c (patch) | |
tree | 30abce078e8e6992350d196998512a5f07501289 /src/parser.rs | |
parent | 84c575097f3e57198fe4f20d5e31d605109c2a35 (diff) |
Initial import for parser
Diffstat (limited to 'src/parser.rs')
-rw-r--r-- | src/parser.rs | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/parser.rs b/src/parser.rs new file mode 100644 index 0000000..83c05a1 --- /dev/null +++ b/src/parser.rs @@ -0,0 +1,20 @@ +//! The definition of the "kairos" syntax, for parsing user input into TimeType objects +//! +//! The syntax itself is described in the grammar.rustpeg file. +//! Here goes a documentation on the syntax +//! +//! # Syntax +//! +//! +//! +//! +//! +//! +//! +//! +//! + +mod grammar { + include!(concat!(env!("OUT_DIR"), "/grammar.rs")); +} + |