Probably a more usable language would be arrived upon via some extensions to 
JSON. May I recommend OMetaJS? :)

The lack of a unique atomic symbolic literal as distinct from a string is one 
of the things I'm grappling with right now. To get that I'd need to intern the 
atoms. Jury's out whether it's a good idea to try to used JS typed arrays to 
implement the symbol interning or to use an under the hood "tag" on the string 
at the intermediate level to distinguish them (hidden from the programmer who 
just sees a Lisp alike.)

On Jul 21, 2013, at 1:45 PM, John Carlson <[email protected]> wrote:

> Or numbers for pointers...
> 
> On Jul 21, 2013 3:43 PM, "John Carlson" <[email protected]> wrote:
> I think what would be more difficult would be identifying what is persistent 
> and what is runtime values.  Also, JSON doesn't contain pointers, so one 
> would have to use strings for pointers.
> 
> On Jul 21, 2013 3:22 PM, "James McCartney" <[email protected]> wrote:
> 
> I thought about this briefly. One issue is how to distinguish literal strings 
> from identifiers.
> 
> On Sun, Jul 21, 2013 at 10:28 AM, John Carlson <[email protected]> wrote:
> Hmm.  I've been thinking about creating a macro language written in JSON that 
> operates on JSON structures.  Has someone done similar work?  Should I just 
> create a JavaScript AST in JSON? Or should I create an AST specifically for 
> JSON manipulation?
> 
> Thanks,
> 
> John
> 
> 
> _______________________________________________
> fonc mailing list
> [email protected]
> http://vpri.org/mailman/listinfo/fonc
> 
> 
> 
> 
> -- 
> --- james mccartney 
> _______________________________________________
> fonc mailing list
> [email protected]
> http://vpri.org/mailman/listinfo/fonc
> 
> _______________________________________________
> fonc mailing list
> [email protected]
> http://vpri.org/mailman/listinfo/fonc
_______________________________________________
fonc mailing list
[email protected]
http://vpri.org/mailman/listinfo/fonc

Reply via email to