Which platform?
On Tue, Aug 28, 2012 at 6:38 PM, graham telfer gakouse...@hotmail.com wrote:
Using sequences in Factor 0.95 I type something like { 1 2 3 } length in
the Listener but get nothing returned.
The stack is not empty though because ' .s ' does not report stack
underflow. It prints
Short answer: no.
The factor documentation system is described here:
http://docs.factorcode.org/content/article-writing-help.html
Interestingly, the documentation system is written in factor and documented
using itself, so this html page is a good example of the output it produces.
Jon
On Wed,
And just to add that thanks to the ability to manipulate the lexer in
Factor, you can write a literate programming syntax library and it could be
however you want it, including exactly like Haskell's.
- rien
On Wed, Aug 29, 2012 at 2:03 PM, Jon Harper jon.harpe...@gmail.com wrote:
Short
I just pushed a vocab with some ideas that might help you get started:
USE: literate
LITERATE
This is a section that is mostly text... you can even include factor stuff
that doesn't get parsed like the following:
: does-this-work? ( -- x ) no it doesn't! ;
But, then if you want to run some
Tangential thought, but I always loved that Factor's documentation is separate
from the actual source code (i.e., that foo.factor's docs live in
foo-docs.factor). In really any other language I can think of, you have to
clutter what might otherwise be easy-to-read code with gobs of explanations,
On Wed, Aug 29, 2012 at 12:22 PM, John Benediktsson mrj...@gmail.com wrote:
I just pushed a vocab with some ideas that might help you get started:
USE: literate
LITERATE
This is a section that is mostly text... you can even include factor stuff
that doesn't get parsed like the following:
You're not alone at all, I completely agree -- a printed page worth of
code in factor is often much more elegant due to separate documentation.
On Wed, Aug 29, 2012 at 1:33 PM, Alexander J. Vondrak
ajvond...@csupomona.edu wrote:
Tangential thought, but I always loved that Factor's
I'm using Windows Vista.
From: gakouse...@hotmail.com
To: factor-talk@lists.sourceforge.net
Subject: length
Date: Wed, 29 Aug 2012 01:38:15 +
Using sequences in Factor 0.95 I type something like { 1 2 3 } length in the
Listener but get nothing returned.
The stack is not empty though
I just pushed a vocab with some ideas that might help you get started:
USE: literate
LITERATE
This is a section that is mostly text... you can even include factor stuff
that doesn't get parsed like the following:
: does-this-work? ( -- x ) no it doesn't! ;
But, then if you want to run some