In context, I thought I was mentioning it after I had counseled you to try a
factor code-compile-test cycle that wasn't perfectly what you desired to
just get going and have fun. I just didn't want you to think I was trying
to shut down non-orthodox ideas - factor to me represents just the
On Tue, Nov 9, 2010 at 9:38 PM, Shaping shap...@charter.net wrote:
I need to be able to write a parser in a
straightforward way (XStreams-style maybe) using a PEG (collection of BNF
productions) so that I can experiment efficiently with this idea. Does
anyone have any experience with PEGs in
Thanks Chris. I'm working on this now.
I managed to get the Browser looking really good with the stylesheet tweak
that kenanb suggested. Does anyone know how to change the font style and
size in the Listener.
Shaping
-Original Message-
From: Chris Double
On Wed, Nov 10, 2010 at 12:47 AM, Shaping shap...@charter.net wrote:
I tried the first two yellow blocks in this article
http://www.bluishcoder.co.nz/2007/11/embedded-grammars-in-factor.html
The syntax has changed quite a bit since that post. The example would
now be something like:
EBNF:
I'm working now in the second article, which seems to prefer EBNF: to EBNF
and I think [EBNF.
...
I think we need periods at the ends of the EBNF rules in the second article.
...
Also, digit cannot be found in the current vocab search path, even though
math.parser is in the path.
Shaping
Shaping,
have you read this page :
http://concatenative.org/wiki/view/Concatenative%20language ?
Jon
On Tue, Nov 9, 2010 at 10:44 AM, Shaping shap...@charter.net wrote:
Thanks Chris. I'm working on this now.
I managed to get the Browser looking really good with the stylesheet tweak
that
Maybe the dsl aspect could be viewed as applying a layer of sugar to the
stack based workhorse. You could easily have 'adjectives' that accumulate
into a variable, not on the stack, then a noun word that takes those options
and does the work. This is how I accumulate attributes for the HTML
I am brand new to Factor.
I downloaded factor-winnt-x86-32-0.04.zip.
I created the file
Hello-world.factor from here
http://gitweb.factorcode.org/gitweb.cgi?p=factor;a=blob;f=extra/hello-world/hello-world.factor;hb=HEAD
1 USE: io
2 IN: hello-world
3
4 : hello ( -- ) Hello world print ;
I created the file
Hello-world.factor from here
http://gitweb.factorcode.org/gitweb.cgi?p=factor;a=blob;f=extra/hello-world/hello-world.factor;hb=HEAD
1 USE: io
2 IN: hello-world
3
4 : hello ( -- ) Hello world print ;
5
6 MAIN: hello
This works in the Listener.
However when I
On Nov 9, 2010, at 2:08 PM, Shaping wrote:
I'm hungry for local variables, now, though this goes against much of the
basis of stack languages. I want lexical forms I can read and understand
(parse with my mind, left-to-right, and down in a tree) to produce a known
result (not a best
10 matches
Mail list logo