Re: [Factor-talk] PEGs

2010-11-10 Thread Shaping
[...] Again there is the opacity problem. What does the ~vector~ mean? And why would I ever want to read such a general description of a 2-vector? It doesn't say much about what is in the tree. You're

Re: [Factor-talk] PEGs

2010-11-10 Thread Shaping
EBNF: expr digit = '1' | '2' | '3' | '4' number = digit digit* expr = number (('+' | '-') number)* ;EBNF I was able to evaluate this expression immediately in the Listener and on a word I defined in my own

Re: [Factor-talk] PEGs

2010-11-10 Thread Rupert Swarbrick
Shaping shap...@charter.net writes: snip Doing the immediate eval leaves T{ parser f ~action-parser~ f 4820 } How am I expected to use this notation?. I read: a parser instance, constant f (false), something to do with a parse and its action, another false constant, number 4820. I can't

Re: [Factor-talk] Problems with the Hello World and timer-server examples.

2010-11-10 Thread Joe Groff
On Wed, Nov 10, 2010 at 3:28 PM, Shaping shap...@charter.net wrote: I just tried the Tetris build, as well.  It took about three minutes.  I'm running the Tetris.exe now, but am surprised at how slow and coarse the graphical movements are.  Is this by design? Yes. It's not meant to be anything

Re: [Factor-talk] Problems with the Hello World and timer-server examples.

2010-11-10 Thread Joe Groff
Yes. It's not meant to be anything more than a trivial demo. If it's not working Er, I meant to write: If it's not working, that's a bug and we'll look into fixing it. Jeff, what version of Windows are you using? -Joe

Re: [Factor-talk] PEGs

2010-11-10 Thread Rupert Swarbrick
Shaping shap...@charter.net writes: How do I use the keyboard keys to cycle back through old expressions? Currently I have to scroll to the old position and double-click to re-enter it. See http://docs.factorcode.org/content/article-gadgets-editors-commands.html Rupert P.S. Is there any way

Re: [Factor-talk] PEGs

2010-11-10 Thread Rupert Swarbrick
Shaping shap...@charter.net writes: I've discovered the inspector recently. It is a good inspector, at least as interesting as the Smalltalk inspectors. The GUI is not polished visually, but it actually works better than most of the stuff that MS produces: there is no flicker at all during

Re: [Factor-talk] Furnace, XStreams (PEGs) and some observations about Factor

2010-11-10 Thread Shaping
Thanks for that Joe. That helps a lot. If I want general-to-particular reading order, must I define a parsing word of my own? Stack efficient order: b negated 1/2a * : -b/2a Context efficient order (general-to-particular perception and reasoning): -b/2a : b negated a/2

Re: [Factor-talk] Furnace, XStreams (PEGs) and some observations about Factor

2010-11-10 Thread Shaping
Maybe the dsl aspect could be viewed as applying a layer of sugar to the stack based workhorse. Somewhat, but it is much more than sugar. It is grease for the mind and ironically traction too. Shuffling is fragile until you are fluent. Even then it is work, and causes mistakes. It is not a

Re: [Factor-talk] PEGs

2010-11-10 Thread Chris Double
On Thu, Nov 11, 2010 at 1:18 AM, Shaping shap...@charter.net wrote: I've noticed that the online EBNF help is not the same as that in the local Help Browser. It is the same, except for possible minor differences between Factor versions. If you go: peg.ebnf about You will get the 'about' page

Re: [Factor-talk] PEGs

2010-11-10 Thread Kyle Cordes
On Wed, Nov 10, 2010 at 6:57 AM, Rupert Swarbrick rswarbr...@gmail.com wrote: Incidentally, has it occurred to you that the authors of this program (not me!) are the most active members of this list? Also, that the author of a program might take some offence at being told that it is I

[Factor-talk] Factor docs

2010-11-10 Thread Balazs Toth
Hi Guys, I would like to ask, if any one of you have created a PDF version of the Factor docu, a cheat sheet or anything else that helps learning the language. I am reading about Factor and parsing code since some weeks now and it really challenges one's memory and patience. It is a really

Re: [Factor-talk] PEGs

2010-11-10 Thread Joe Groff
On Nov 10, 2010, at 6:27 PM, Rupert Swarbrick rswarbr...@gmail.com wrote: Incidentally, has it occurred to you that the authors of this program (not me!) are the most active members of this list? Also, that the author of a program might take some offence at being told that it is not polished

Re: [Factor-talk] Problems with the Hello World andtimer-serverexamples.

2010-11-10 Thread Jeff C. Britton
I was funning factor.exe. However, factor.com does not work either. Additionally, if I type factor.com without any arguments, the GUI listener is opened. I haven't seen a .com file in a long time. I was curious about its limitations and I found the following: The .com is limited to 64k size

Re: [Factor-talk] Problems with the Hello World andtimer-serverexamples.

2010-11-10 Thread Joe Groff
On Thu, Nov 11, 2010 at 9:14 AM, Jeff C. Britton j...@iteris.com wrote: I haven't seen a .com file in a long time. I was curious about its limitations and I found the following: The .com is limited to 64k size for everything including data and program. There is no effective difference between

Re: [Factor-talk] Problems with the Hello World and timer-server examples.

2010-11-10 Thread Slava Pestov
On Wed, Nov 10, 2010 at 8:00 PM, Slava Pestov sl...@factorcode.org wrote: The tetris.exe left on the disk would simply exit with no GUI generated. I'll test deployment out and let you know if I find any problems. Jeff, Can you try with the latest development binary for Windows, instead of