From cd68a2880db1400ae09ce0df64994b2bae33a3c1 Mon Sep 17 00:00:00 2001 From: Joel Kronqvist Date: Wed, 30 Jul 2025 17:27:15 +0300 Subject: Implemented evaluation according to tests. Quite a bit of changes were required, see rest of commit message. SExp::Quote was added to let the interpreter know whether a list should be evaluated or treated as a literal list. It still needs code to be added for parsing it successfully. Some utility functions were needed: * SExp::is_value * SExp::consists_of_values * SExp::into_vec --- src/parse/parsetree.rs | 1 - 1 file changed, 1 deletion(-) (limited to 'src/parse/parsetree.rs') diff --git a/src/parse/parsetree.rs b/src/parse/parsetree.rs index 560ebe7..031902a 100644 --- a/src/parse/parsetree.rs +++ b/src/parse/parsetree.rs @@ -4,7 +4,6 @@ use nom::{ Parser, branch::alt, multi::many0, - combinator::all_consuming, bytes::complete::{tag, take_while1}, character::complete::multispace1, }; -- cgit v1.2.3