Skip to content

Prototype for all values #83

Description

@71104

All Lambda values must have a prototype, not just objects and something else. The prototype will be empty for some values, namely undefined and null.

The behavior of some let statements will change. For example, the following statement:

let x = 5 in
let x.x = 6 in
x

currently yields an object with only one field; the name of the field is x and the value is 6.

After this feature is implemented, the above will yield a number (5) whose context is augmented with an extra field x whose value is 6.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions