A syntax for IRON (by )

In memory, IRON objects are also tagged with linearity information.

Also, I've not considered how to represent the dynamic types. Eg, an in-memory set or queue or deque might be represented in written form just as a list. I'm currently thinking that such things would be written #deque(a b c ...), but perhaps I need a more general syntax for "instance of class", like YAML's ! declarations. I'd also like to represent things like closures similarly, but I need to read up a bit more on serialising closures first!

Clearly, in CHROME, everything evaluates to itself apart from symbols and records. Records are treated like lists are in Lisp - as either macro invocations or function applications. I eschew dirtying my syntax with such shorthands as 'foo, which is identical to (quote foo) in Lisp systems; instead I use [' foo] which is quite bearable but does not require hacking things into the syntax which are only useful in limited application domains.

Pages: 1 2

No Comments

No comments yet.

RSS feed for comments on this post.

Leave a comment

WordPress Themes

Creative Commons Attribution-NonCommercial-ShareAlike 2.0 UK: England & Wales
Creative Commons Attribution-NonCommercial-ShareAlike 2.0 UK: England & Wales