From 9083d5843f5a39fafacde81242b817021f9cb818 Mon Sep 17 00:00:00 2001 From: Mike Buland Date: Thu, 11 Jun 2026 15:20:49 -0700 Subject: Halfway there. About half the code is going away. I'm learning better how to take advantage of features of rust to simplify the code a lot. It's actually really cool. --- src/lexer.rs | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/lexer.rs') diff --git a/src/lexer.rs b/src/lexer.rs index 2bf7e9e..afff5a8 100644 --- a/src/lexer.rs +++ b/src/lexer.rs @@ -16,15 +16,17 @@ pub enum SymbolType<'a> { StartPoint, EndFlat, EndPoint, + View, Output, Show, Loop, - Equals, - Period, If, ElIf, Else, + + Equals, + Period, Token(&'a str), Literal(&'a str), Text(&'a str), -- cgit v1.2.3