parser: add simple parser and tests

This commit is contained in:
2018-04-30 16:33:57 +02:00
parent f76a6c756b
commit 90603a9bb5
16 changed files with 66 additions and 0 deletions

View File

@@ -0,0 +1 @@
Im a simple Lisp interpreter.

View File

@@ -0,0 +1,4 @@
as yet unclassified
parse: aProgramString
aProgramString ifEmpty: [ ^ #() ].
^ (Scanner new scanTokens: aProgramString) first

View File

@@ -0,0 +1,14 @@
{
"category" : "Phsyche",
"classinstvars" : [
],
"classvars" : [
],
"commentStamp" : "VeitHeller 4/30/2018 16:32",
"instvars" : [
"env" ],
"name" : "Phsyche",
"pools" : [
],
"super" : "Object",
"type" : "normal" }