Artifact Content
Not logged in

Artifact 9601d3816a1aa4af20973237bfe760fc000582e4


polemy.value

polemy.value

Authors:
k.inaba

License:
NYSL 0.9982 http://www.kmonos.net/nysl/

Runtime data structures for Polemy programming language.

abstract class Value ;
Runtime values of Polemy

class IntValue : polemy.value.Value;


class StrValue : polemy.value.Value;


class UndefinedValue : polemy.value.Value;


abstract class FunValue : polemy.value.Value;


class Table : polemy.value.Value;
Context (variable environment) Simlar to prototype chain of ECMAScript etc. But extended with the notion of "Layer"

bool empty ();
Is this an empty table?

bool isList ();
Can be seen as a cons-list?

Value[] toList ();
Regard table as a cons-list and convert to an array

Page was generated with on Wed Nov 24 20:33:10 2010