interpl

Experiments with intepreters in Prolog
git clone https://ccx.te2000.cz/git/interpl
Log | Files | Refs | README

commit 3da1eefff8ab0d6aafdb5d4073540bbb1bd901d8
parent 7b73996cc58b87c021407333c7a9d0a6d09364e6
Author: Jan Pobrislo <ccx@te2000.cz>
Date:   Sat, 31 May 2025 01:41:00 +0000

Clean up some more.

Diffstat:
Minterpreter.pl | 2--
1 file changed, 0 insertions(+), 2 deletions(-)

diff --git a/interpreter.pl b/interpreter.pl @@ -39,7 +39,6 @@ self_evaluating(Exp) :- string(Exp). %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% Quoted expressions -quoted([quote|Rest], Rest). %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% %% Variables and environment @@ -110,7 +109,6 @@ is_eval_special(if). is_eval_special(cond). is_eval_special('set!'). - interp_eval_(Expression, Expression, Env, Env) :- self_evaluating(Expression), !. interp_eval_([quote, Text], Text, Env, Env) :- !.