JSONLang is a programming language written in JSON format.
Using Python Implement:
$ cd python
$ python jsonlang.py
>> exit
Type exit
to quit.
>> {"$if": true, "$then": 1, "$else": 2 }
1
>> {"$empty": "A" }
True
>> {"$assign": "A", "$to", 1}
1
>> {"$empty": "A"}
False
>> {"$eq": "A", "$to": 1}
True
>> {"$if": {"$eq": "A", "$to": 1}, "$then": {"$assign": "A", "$to": 2}}
2
>> {"$eq": "A", "$to": 2}
True
>> {"$not": {"$empty": "A"}}
True