4 ms·
Or better yet, how about something like: [ "jexpr", [ "function", "arg1", "arg2", ["Complex", "argument"]]] Which
by emeraldd 12y ago
Or better yet, how about something like:
[ "jexpr",
[ "function",
"arg1",
"arg2",
["Complex", "argument"]]]
Which wouldn't break the spec either. It also happens to pretty closely match an S-Expression.
- dugmartin 12y agoIf you made simple strings atoms and a "'triple quoted'" strings (or substrings) a string then you could implement a simple Lisp in it by replacing the parse() function in https://www.hackerschool.com/blog/21-little-lisp-interpreter https://www.hackerschool.com/blog/21-little-lisp-interpreter. Might be an interesting way to expose an api.