clarkduvall / JSOL

JSON programming language
Apache License 2.0
74 stars 5 forks source link

nor printing as expected #6

Open joecabezas opened 3 years ago

joecabezas commented 3 years ago

I tried this simple JSOL program:

{
  "documents": {"lit": {"a": 1}},
  "f": {
    "params": [],
    "def": [
      [
        "println",
        "documents"
      ]
    ]
  },
  "main": {
    "def": [
      [
        "f"
      ]
    ]
  }
}

but the output is:

{u'a': }

I expected to be:

{u'a': 1 }

I used the evaluator in http://www.jsol.org/