From f264a289fe0d504a99c01d5787edb92af8f6ca91 Mon Sep 17 00:00:00 2001 From: bnewbold Date: Sun, 18 Sep 2016 14:24:44 -0700 Subject: work on a minimal modelica parser+ast --- src/lib.rs | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'src/lib.rs') diff --git a/src/lib.rs b/src/lib.rs index 4859ded..22e9af3 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,2 +1,9 @@ -pub mod pascal; +pub mod modelica_parser; +pub mod modelica_ast; + +#[test] +fn parse_integer() { + assert_eq!(&format!("{}", modelica_parser::parse_integer("+123").unwrap()), + "123"); +} -- cgit v1.2.3