Re: [Factor-talk] Executable images

2009-05-01 Thread zimbatm
In the same wave, is the VM light enough to be run and thrown away quickly, for implementing unix tools ? I'm thinking of filters for unix pipes for example -- Register Now Save for Velocity, the Web Performance

Re: [Factor-talk] Executable images

2009-05-01 Thread Slava Pestov
If you load the libraries that you need and save your image, then Factor will load pretty fast. If you want it to load faster, make a smaller image. You can bootstrap a smaller image by omitting the UI, tools, and docs, for example: ./factor -i=boot.x86.32.image -output-image=smaller.image

[Factor-talk] Renamed some words

2009-05-01 Thread Doug Coleman
Hi, I renamed some words for consistency. The previous word ``lines'' is now called ``stream-lines''. The new ``lines'' word reads from input-stream. Likewise, ``contents'' is now named ``stream-contents'' and the new word ``contents'' reads from the input-stream. IN: io : stream-lines

Re: [Factor-talk] Executable images

2009-05-01 Thread zimbatm
For the record: standard image: 69MB math threads io unicode: 9,2MB + compiler: 35MB -- Register Now Save for Velocity, the Web Performance Operations Conference from O'Reilly Media. Velocity features a full day of

[Factor-talk] QT bindings

2009-05-01 Thread Hugh Aguilar
Message: 4 Date: Fri, 01 May 2009 10:47:59 +1200 From: Jeremy jed...@gmail.com Subject: Re: [Factor-talk] c-struct offset problem To: factor-talk@lists.sourceforge.net Message-ID: 87pret3gio.wl%jed...@gmail.com Content-Type: text/plain; charset=US-ASCII FWIW, I've posted some code at

Re: [Factor-talk] Factor-talk Digest, Vol 37, Issue 1

2009-05-01 Thread Doug Coleman
Hugh, Here are some answers to your questions: EXIT From the docs on with-return ( \ with-return help ) Examples Only Hi will print: USING: prettyprint continuations io ; [ Hi print return Bye print ] with-return Hi This is currently a bit slow (uses continuations) but it could

Re: [Factor-talk] Executable images

2009-05-01 Thread Doug Coleman
I uploaded new boot images less than an hour ago. Can you try bootstrapping again with the latest image and let me know if it works? Doug On May 1, 2009, at 4:10 PM, zimbatm wrote: Ok, thx for the help. I got this on OSX (commit 685ee8767a71f6880d2cdd5f413e9693e6f901b4 ): ./factor

Re: [Factor-talk] Executable images

2009-05-01 Thread zimbatm
Thx, works fine now On Fri, May 1, 2009 at 11:23 PM, Doug Coleman doug.cole...@gmail.com wrote: I uploaded new boot images less than an hour ago.  Can you try bootstrapping again with the latest image and let me know if it works? Doug On May 1, 2009, at 4:10 PM, zimbatm wrote: Ok, thx for

Re: [Factor-talk] question about [] [] if

2009-05-01 Thread Chris Double
On Sat, May 2, 2009 at 9:21 AM, Hugh Aguilar hugoagui...@rosycrew.com wrote: My understanding is that the if function does the first combinator for nonzero numbers and the second combinator for zero numbers. The first combinator is run for true values and the second for false values. Instead of

Re: [Factor-talk] Executable images

2009-05-01 Thread zimbatm
Ok, thx for the help. I got this on OSX (commit 685ee8767a71f6880d2cdd5f413e9693e6f901b4 ): ./factor -i=boot.unix-x86.64.image -output-image=smaller.image -include=math threads compiler io unicode *** Stage 2 early init... done Loading vocab:bootstrap/stage2.factor Loading