Re: [Factor-talk] Factor vs. Forth --- the book

2009-10-07 Thread Emeka
Hi Hugh, I can't open that extension could you make a pdf version or something else? Regards, Emeka On Tue, Oct 6, 2009 at 2:50 AM, Hugh Aguilar hugoagui...@rosycrew.comwrote: Well, I've taken a stab at writing some documentation comparing Factor to Forth. Take a look at this

Re: [Factor-talk] Factor vs. Forth --- the book

2009-10-07 Thread Linnet
If you are using windows or Linux, you can try MikTex: http://miktex.org/ . Use Yap to open the dvi file. 2009/10/7 Emeka emekami...@gmail.com: Hi Hugh, I can't open that extension could you make a pdf version or something else? Regards, Emeka On Tue, Oct 6, 2009 at 2:50 AM, Hugh Aguilar

Re: [Factor-talk] Factor vs. Forth --- the book

2009-10-07 Thread Hugh Aguilar
Message: 1 Date: Tue, 6 Oct 2009 15:21:17 +1300 From: Chris Double chris.dou...@double.co.nz Subject: Re: [Factor-talk] Factor vs. Forth --- the book To: factor-talk@lists.sourceforge.net Message-ID: c2e346f90910051921k3be042d9p66bc531b1e00d...@mail.gmail.com Content-Type: text/plain

[Factor-talk] Factor vs. Forth --- the book

2009-10-05 Thread Hugh Aguilar
Well, I've taken a stab at writing some documentation comparing Factor to Forth. Take a look at this (www.rosycrew.org/FactorVsForth.dvi) and let me know if this is going in a direction that you think will be useful. Despite the title, I'm not allowing the book to become a my language can beat

Re: [Factor-talk] Factor vs. Forth --- the book

2009-10-05 Thread Chris Double
On Tue, Oct 6, 2009 at 2:50 PM, Hugh Aguilar hugoagui...@rosycrew.com wrote: Well, I've taken a stab at writing some documentation comparing Factor to Forth. Take a look at this (www.rosycrew.org/FactorVsForth.dvi) and let me know if this is going in a direction that you think will be useful.

Re: [Factor-talk] Factor vs. Forth --- the book

2009-10-05 Thread Slava Pestov
Hi Hugh, Here are cleaner versions of your resistors words. First, the original version: : par ( R1 R2 -- R ) [ * ] [ + ] 2bi / ; inline : pars ( seq -- val ) [ ] [ par ] map-reduce ; The second version that uses the generalized equation: : pars ( seq -- val ) [ recip ] [ + ] map-reduce recip

Re: [Factor-talk] Factor vs. Forth --- the book

2009-10-05 Thread Doug Coleman
Hi Hugh, Your Factor examples looks too much like Forth. Ideally there would be no stack shuffling at all: : par ( r1 r2 -- r ) [ * ] [ + ] 2bi / ; : pars ( seq -- val ) [ ] [ par ] map-reduce ; Chris Double's version of pars is also nice. Doug On Oct 5, 2009, at 8:50 PM, Hugh Aguilar

Re: [Factor-talk] Factor vs. Forth --- the book

2009-10-05 Thread Slava Pestov
I get the impression that Slava’s knowledge of Forth is mostly theoretical — he has never actually worked as a Forth programmer and written large programs in Forth — his background primarily involves working in Lisp (most likely CLOS). Actually to be honest my knowledge of both Lisp and Forth