On Sat, Jul 14, 2012 at 12:36 AM, Kartik Agaram <a...@akkartik.com> wrote:
> I just found out about this list (thanks Alan!) and am going to go
> read through the archives. In the meanwhile I wanted to share the
> whitespace-sensitive lisp I've been working on. You can read about the
> design choices I made at:
>
>   http://github.com/akkartik/wart#readme
>
> I'd love feedback and reactions, whether it's something that makes you
> go "yuck!" or something unclear in the description.

Hmm, did a once-through read.  I think the whitespace-significant
stuff in wart is a little complicated, especially with rules regarding
"indent by one space", which continues the line, and "indent by two
spaces", which creates a sublist.

So far, in sweet-expressions, once inside a ( [ or { indentation is
ignored, and is only noticed again upon exiting the } ] ).

Also, using keywords seems to require parentheses.  Our current
solution (going through some serious debate) is to allow a syntactic
symbol that basically says "pretend we indented here, so ignore the
spaces after this point", currently proposed to use \ (or . or group).
 So your "if :else" example could be rendered as:

if
. {1 iso {x % 2}}
. \ 'odd
. :else
. \ 'even

which doesn't need parentheses, either.

Sincerely,
AmkG

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Readable-discuss mailing list
Readable-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/readable-discuss

Reply via email to