[Factor-talk] documentation, examples and help...

2009-09-25 Thread Alex A. Naanou
Hi again! :) so here goes, I'm new here and quite new to the language. I had several attempts to port some of my code to factor and stumbled upon several issues: 1) there appears to be a total lack of general documentation on most topics. 2) examples do not cover all the issues/sections of the

Re: [Factor-talk] windows build compatability...

2009-09-25 Thread Slava Pestov
On Fri, Sep 25, 2009 at 3:35 PM, Alex A. Naanou alex.na...@gmail.com wrote: Hi! The current build of factor requires SSE3 which my current box does not have so I tried to botstrap the image and it broke, apparantly for the same reason :) No, the reason bootstrap failed is because your boot

Re: [Factor-talk] documentation, examples and help...

2009-09-25 Thread Slava Pestov
On Fri, Sep 25, 2009 at 3:49 PM, Alex A. Naanou alex.na...@gmail.com wrote: 1) there appears to be a total lack of general documentation on most topics. What do you define as general documentation? Most of the language and library is documented. You can browse documentation in the Factor UI or

Re: [Factor-talk] windows build compatability...

2009-09-25 Thread Slava Pestov
On Fri, Sep 25, 2009 at 3:35 PM, Alex A. Naanou alex.na...@gmail.com wrote: Hi! The current build of factor requires SSE3 which my current box does not have so I tried to botstrap the image and it broke, apparantly for the same reason :) For what its worth, the latest binaries now only

Re: [Factor-talk] windows build compatability...

2009-09-25 Thread Alex A. Naanou
my bad :) On Sat, Sep 26, 2009 at 00:50, Slava Pestov sl...@factorcode.org wrote: On Fri, Sep 25, 2009 at 3:35 PM, Alex A. Naanou alex.na...@gmail.com wrote: Hi! The current build of factor requires SSE3 which my current box does not have so I tried to botstrap the image and it broke,

Re: [Factor-talk] documentation, examples and help...

2009-09-25 Thread Alex A. Naanou
On Sat, Sep 26, 2009 at 00:51, Slava Pestov sl...@factorcode.org wrote: On Fri, Sep 25, 2009 at 3:49 PM, Alex A. Naanou alex.na...@gmail.com wrote: 1) there appears to be a total lack of general documentation on most topics. What do you define as general documentation? Most of the language and

Re: [Factor-talk] windows build compatability...

2009-09-25 Thread Alex A. Naanou
On Sat, Sep 26, 2009 at 00:54, Slava Pestov sl...@factorcode.org wrote: On Fri, Sep 25, 2009 at 3:35 PM, Alex A. Naanou alex.na...@gmail.com wrote: Hi! The current build of factor requires SSE3 which my current box does not have so I tried to botstrap the image and it broke, apparantly for

[Factor-talk] vm cleanup

2009-09-25 Thread Phil Dawes
Hi Slava, More vm cleanup: http://github.com/phildawes/factor/commits/vm_cleanup aa71248 made inline_gc a VM_C_API function c0957ed compiler.codegen passes temp reg to %call-gc baa41f4 removed param-reg-* HOOKs f9e736c isolated %vm-invoke-blah-arg to 64.factor 5b404aa moved %(un)nest-stacks out

Re: [Factor-talk] vm cleanup

2009-09-25 Thread Slava Pestov
On Fri, Sep 25, 2009 at 4:44 PM, Phil Dawes p...@phildawes.net wrote: More vm cleanup: http://github.com/phildawes/factor/commits/vm_cleanup Good stuff. Can you also take a look at the indentation of void init_platform_globals() ? Also, I found a regression. This used to throw an 'undefined

Re: [Factor-talk] documentation, examples and help...

2009-09-25 Thread Chris Double
On Sat, Sep 26, 2009 at 8:49 AM, Alex A. Naanou alex.na...@gmail.com wrote: so, as a relatively typical newcomer to the language I'll be stumbling on typical common pitfalls, IMHO, it would be useful to fix them, so, I'm offering to: 1) document my journey and learning process and 2) writeup

Re: [Factor-talk] documentation, examples and help...

2009-09-25 Thread Slava Pestov
On Fri, Sep 25, 2009 at 7:36 PM, Chris Double chris.dou...@double.co.nz wrote: I think what's needed, and what a lot of people have asked for, is more cookbook style documentation and tutorials. Quick examples of how to do small talks. Most of this type of stuff is in peoples blog posts.

[Factor-talk] undefined_symbol fix

2009-09-25 Thread Slava Pestov
Phil, I fixed the undefined_symbol issue, so don't worry about it. Slava -- Come build with us! The BlackBerryreg; Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your

Re: [Factor-talk] documentation, examples and help...

2009-09-25 Thread Jon Harper
Also, all the documentation is not automatically loaded when you're browsing help in the listener. I had problem with this when I wanted to know about factor's regular expressions : if you type regular expressions with a normal factor image in the help browser, you don't get any results (regexp

Re: [Factor-talk] documentation, examples and help...

2009-09-25 Thread Alex A. Naanou
already stumbled on this :) her's another thing, I think the whole documentation block would benefit from an always loaded index, it would not be as big as the whole thing in memory but would significantly speedup searches and expand its context, not to mention minor features like completion