> ... then you should put each long branch in its own word.

I knew someone would say that.

Since no one else sees a compelling reason for this syntax, I'll back  
off on using it. The code is trivial enough if anyone else wants to  
screw around with it:

--8<--
: ;; ( -- * ) ";; can only be used in [[ ]] , {{ }} , or H{{ }}  
blocks" throw ;
DEFER: ]] delimiter
DEFER: }} delimiter

: [[ \ ]] [ { POSTPONE: ;; } split [ >quotation ] map ] parse- 
literal ; parsing
: {{ \ }} [ { POSTPONE: ;; } split [ >array ] map ] parse-literal ;  
parsing
: H{{ \ }} [ { POSTPONE: ;; } split >hashtable ] parse-literal ; parsing
--8<--

-Joe

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to