evaluator: add simple no-op evaluator and tests
This commit is contained in:
3
src/Phsyche.package/Phsyche.class/instance/eval..st
Normal file
3
src/Phsyche.package/Phsyche.class/instance/eval..st
Normal file
@@ -0,0 +1,3 @@
|
||||
as yet unclassified
|
||||
eval: expression
|
||||
^ self eval: expression in: nil
|
3
src/Phsyche.package/Phsyche.class/instance/eval.in..st
Normal file
3
src/Phsyche.package/Phsyche.class/instance/eval.in..st
Normal file
@@ -0,0 +1,3 @@
|
||||
as yet unclassified
|
||||
eval: expression in: anEnvironment
|
||||
^ expression
|
@@ -0,0 +1,3 @@
|
||||
as yet unclassified
|
||||
parseAndEval: anExpression
|
||||
^ self eval: (self parse: anExpression)
|
Reference in New Issue
Block a user