parser: add simple parser and tests
This commit is contained in:
1
src/Phsyche.package/Phsyche.class/README.md
Normal file
1
src/Phsyche.package/Phsyche.class/README.md
Normal file
@@ -0,0 +1 @@
|
||||
I’m a simple Lisp interpreter.
|
4
src/Phsyche.package/Phsyche.class/instance/parse..st
Normal file
4
src/Phsyche.package/Phsyche.class/instance/parse..st
Normal file
@@ -0,0 +1,4 @@
|
||||
as yet unclassified
|
||||
parse: aProgramString
|
||||
aProgramString ifEmpty: [ ^ #() ].
|
||||
^ (Scanner new scanTokens: aProgramString) first
|
14
src/Phsyche.package/Phsyche.class/properties.json
Normal file
14
src/Phsyche.package/Phsyche.class/properties.json
Normal 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" }
|
Reference in New Issue
Block a user