Types
JoyListType = List[JoyType]
- Source Edit
JoyMapType = Map[string, JoyListType]
- Source Edit
JoyState = tuple[stack: JoyListType, expression: JoyListType]
- Source Edit
JoyTypeType = enum joyAtom, joyFalse, joyInt, joyList, joyParseError, joyTrue
- Source Edit
JoyType = ref object case kind*: JoyTypeType of joyAtom: atomVal*: string of joyFalse, joyTrue: nil of joyInt: intVal*: BigInt of joyList: listVal*: JoyListType of joyParseError: errorMessage*: string
- Source Edit