Page Menu
Home
Phorge
Search
Configure Global Search
Log In
Files
F4500713
types.ts
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
571 B
Referenced Files
None
Subscribers
None
types.ts
View Options
export
enum
LispNode
{
APPLY
,
WORD
,
ATOM
,
STRING
}
export
type
Env
=
Record
<
string
,
LispValue
>
;
export
type
Leaf
=
[
LispNode
,
string
|
number
];
export
type
Expr
=
Leaf
|
Expr
[];
export
type
LispValue
=
number
|
string
|
LispValue
[]
|
LispFn
;
export
type
LispFn
=
(
args
:
Expr
[],
env
:
Env
)
=>
LispValue
;
export
const
Leaf
=
{
apply
:
(
value
:
string
)
:
Leaf
=>
[
LispNode
.
APPLY
,
value
],
word
:
(
value
:
string
)
:
Leaf
=>
[
LispNode
.
WORD
,
value
],
atom
:
(
value
:
number
)
:
Leaf
=>
[
LispNode
.
ATOM
,
value
],
string
:
(
value
:
string
)
:
Leaf
=>
[
LispNode
.
STRING
,
value
]
};
File Metadata
Details
Attached
Mime Type
application/javascript
Expires
Sun, May 3, 8:28 AM (13 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
539176
Default Alt Text
types.ts (571 B)
Attached To
Mode
rANT Ant
Attached
Detach File
Event Timeline
Log In to Comment