Artifact Content
Not logged in

Artifact 34785dddb366db4875598b06f54737507a4bca5a


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 21:12:49 2010