Saturday, July 20, 2013

Sym Object Model

Might be a good idea to use the Javascript Object[1] for Sym's internal structure:
  • A JavaScript object is an unordered collection of properties.
  • Properties consist of a name and a value.
  • Objects can be declared using object literals.
  • Top-level variables are properties of window.
Imagine what it would be like if we can easily construct a Sym object simply using JSON notation.

Source:
  1. JQuery in Action