From d043036c61fe592bed9c0048d06f8a7c168943c8 Mon Sep 17 00:00:00 2001 From: greg Date: Thu, 11 Jul 2019 10:06:07 -0700 Subject: [PATCH] Starting visitor again --- schala-lang/language/src/lib.rs | 1 + schala-lang/language/src/visitor.rs | 7 +++++++ 2 files changed, 8 insertions(+) create mode 100644 schala-lang/language/src/visitor.rs diff --git a/schala-lang/language/src/lib.rs b/schala-lang/language/src/lib.rs index 8afe164..5bd39b4 100644 --- a/schala-lang/language/src/lib.rs +++ b/schala-lang/language/src/lib.rs @@ -34,6 +34,7 @@ mod symbol_table; mod builtin; mod reduced_ast; mod eval; +mod visitor; mod schala; diff --git a/schala-lang/language/src/visitor.rs b/schala-lang/language/src/visitor.rs new file mode 100644 index 0000000..6fc14c0 --- /dev/null +++ b/schala-lang/language/src/visitor.rs @@ -0,0 +1,7 @@ +use std::error::Error; + +pub type VResult = Result>; + +pub trait Visitor { + +}