Emeka,

The use of words named like (example), with parentheses around the name is
just a practice some people follow, which I believe comes from Forth.  The
idea is that the word 'example' calls '(example)' to complete the rest of
its work after it has done some initialization.  They are words which are
not meant to be directly called.

In the future, please respond to the entire list.

Cheers,
 - Tim

On Thu, Aug 20, 2009 at 6:51 AM, Emeka <[email protected]> wrote:

> Hello Tim,
>
> I have gone through you codes and I am impressed because this is the first
> time I was able to understand Factor beyond ten line of codes.
> However, I have questions but I have to start from the simplest. Why do we
> have : (more)  . What's that blanket? Sorry, I know this is stupid but bear
> with me?
>
> Regards,
> Emeka
>
> ---------- Forwarded message ----------
> From: Tim Wawrzynczak <[email protected]>
> Date: Wed, Aug 19, 2009 at 6:26 AM
> Subject: [Factor-talk] Joy
> To: [email protected]
>
>
> Hi list,
>
> I would post this to concatenative, but my membership there has been
> pending for over a month...
>
> As some of you know, I've been working on a Joy -> Factor compiler and
> interpreter, and I have
> successfully gotten the compiler to compile Manfred's lazy lists library.
> I'm working on getting
> all his provided Joy library files to work correctly, and then maybe I'll
> release it or something.
>
> The source is at: http://github.com/inforichland/Joy/tree/master
>
> An example session:
>
> ( scratchpad ) USING: joy.compiler joy.parser io.encodings.utf8 io.files ;
> ( scratchpad ) "lazlib.joy" ascii file-contents
> Data Stack: ...
> ( scratchpad ) parse-joy compile call
>
> This will produce a Factor quotation (as well as have defined all the words
> defined in that file), so you want to 'call' (note above) the quotation.
> If you want to run code using previously used DEFINEs, then call "Squares
> 15 Take" parse-joy @compile call (for example).
>
> Feel free to try it out !
>
> The "interpreter" is also kinda working, but has fewer words builtin than
> the compiler.
>
> If you have any comments or question, feel free to let me know; I'm also
> inforichland on #concatenative
>
> Cheers,
>  - Tim
>
> PS Slava, when you think it's ready enough, I'll add it to my /extra factor
> tree @ github, and let you know so you can put it in the main repo.
>
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
> trial. Simplify your report design, integration and deployment - and focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> Factor-talk mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/factor-talk
>
>
>
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to