Re: [stack] things

John Nowak <[email protected]>
Newsgroups gmane.comp.lang.concatenative
Message-ID <[email protected]>
On Mar 4, 2009, at 5:21 AM, spir wrote:

> It may be written in Io (using a modified version of IoPEG, see http://code.google.com/p/iopeg/) 
> , for I'm learning this language.

Why not write it in Factor using Factor's PEG implementation?  You'd  
learn how to use a concatenative language in the process.

> -3- single data type: "thing"
> This is a kind of tree which nodes can have any number of leaf or  
> branch children.

Factor and Joy already allow first-class stacks and arbitrary nesting  
of data types.

> -4- plain text data

Why would you want plain text when you could have structured data?

> -5- one unique "operational" primitive word: "write"

Aka Factor and Joy's '.' word.

> -5- code is thing
> Code is data of the type thing, too.

Joy is the king here.

> comment & criticize; before I really start a foolish implementation.

To be honest, it looks like a waste of time. I'd encourage you to look  
closer at Joy and use Factor before you start thinking of things to  
change. I don't mean do discourage experimentation of course, but you  
asked for criticism, and what you're proposing looks like a (slow)  
dead end.

- John
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.