diff options
Diffstat (limited to 'crates')
| -rw-r--r-- | crates/sloth/src/main.rs | 1 | ||||
| -rw-r--r-- | crates/sloth/src/parser/expr.rs | 1 | ||||
| -rw-r--r-- | crates/sloth/src/parser/mod.rs | 2 | ||||
| -rw-r--r-- | crates/sloth/src/parser/stmt.rs | 1 |
4 files changed, 4 insertions, 1 deletions
diff --git a/crates/sloth/src/main.rs b/crates/sloth/src/main.rs index 1bffa73..46621eb 100644 --- a/crates/sloth/src/main.rs +++ b/crates/sloth/src/main.rs @@ -33,4 +33,3 @@ fn main() { // TODO: Write a parser } - diff --git a/crates/sloth/src/parser/expr.rs b/crates/sloth/src/parser/expr.rs new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/crates/sloth/src/parser/expr.rs @@ -0,0 +1 @@ + diff --git a/crates/sloth/src/parser/mod.rs b/crates/sloth/src/parser/mod.rs index 851c0bc..f74a3d7 100644 --- a/crates/sloth/src/parser/mod.rs +++ b/crates/sloth/src/parser/mod.rs @@ -1 +1,3 @@ pub mod ast; +pub mod expr; +pub mod stmt; diff --git a/crates/sloth/src/parser/stmt.rs b/crates/sloth/src/parser/stmt.rs new file mode 100644 index 0000000..8b13789 --- /dev/null +++ b/crates/sloth/src/parser/stmt.rs @@ -0,0 +1 @@ + |
