Re: [stack] peg: a lazy, non-deterministic concatenative language

Don Groves <[email protected]> Tue, 17 Apr 2012 05:36:20 -0700
Newsgroups gmane.comp.lang.concatenative
Message-ID <[email protected]>
Agreed. Peg is the most interesting variant I've seen in quite a while.
I haven't looked deeply yet but it seems to have an Icon flavor to it.

Of course, any concatentative language doesn't have to use a stack,
it's just most convenient.
--
don


On 17 Apr 2012, at 05:26, William Tanksley, Jr wrote:

> John Nowak <[email protected]> wrote:
> > https://github.com/HackerFoo/peg
> > Not mine.
> 
> Amazing... This is creative. He's parsing right to left, and executing
> only what's needed to evaluate the last word. In cases where
> evaluation is ambiguous, he chooses "nondeterministically" (I'm not
> sure what that means). If execution fails, he backtracks to a previous
> ambiguous point. Words are provided to force failures.
> 
> The language uses stack manipulation words, but I'm not sure that it's
> actually a stack. Anyone have any discussion on that point?
> 
> > - jn
> 
> -Wm
> 



[Non-text portions of this message have been removed]



------------------------------------

Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/concatenative/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/concatenative/join
    (Yahoo! ID required)

<*> To change settings via email:
    [email protected] 
    [email protected]

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/