Re: [Factor-talk] load-all

2010-11-16 Thread Shaping
On Mon, Nov 15, 2010 at 4:07 PM, Shaping shap...@charter.net wrote: I just completed a fresh cloning of the Factor origin repo and a build of factor.exe. I opened the Listener, and evaluated load-all. When the load-all completed, I saw only this: I don't know enough about site-watcher

Re: [Factor-talk] load-all

2010-11-16 Thread Slava Pestov
Hi Shaping, A top-level form in the site-watcher vocabulary makes calls to initialize a SQLite database. Since you do not have SQLite installed, you get this error when the vocabulary is loaded. You can either not call load-all, ignore the error, or install SQLite. Slava On Tue, Nov 16, 2010 at

Re: [Factor-talk] Integrating Browser functionality into Listener: John Benediktsson's Syntax Highlighting

2010-11-16 Thread Chris Double
On Tue, Nov 16, 2010 at 11:07 PM, Shaping shap...@charter.net wrote: I can't find any info in Browser on quot:. http://docs.factorcode.org/content/article-effects.html Chris. -- http://www.bluishcoder.co.nz --

Re: [Factor-talk] Git: Repository -Verfiy Database warnings on freshly cloned and pulled repo

2010-11-16 Thread Shaping
Hi Mike. If you switch to some other forum to troubleshoot your git issues, could you please post a message here telling us where it is. I am following this discussion (and would like to continue to do so) to save myself some pain and aggravation when I go through the same process. Yes, it

Re: [Factor-talk] Integrating Browser functionality into Listener: John Benediktsson's Syntax Highlighting

2010-11-16 Thread Jim mack
I'm puzzled by the stuff inside the stack-effect syntax: ( -- ). I thought that the tokens on either side of the -- are just dummy variables representing, on the one hand, *strictly* the *number of input arguments and the number of results*, and, on the other, *loosely* the types of

Re: [Factor-talk] What should I call to issue [ 8080 httpd ] in-thread again, after closing factor reopening?

2010-11-16 Thread Jim mack
You called it on the nose - I was thinking I could rely on screen, and that when it closed, everything it ran closed. I will adopt dtach, thanks. On Mon, Nov 15, 2010 at 2:40 PM, Aaron Bull Schaefer aa...@elasticdog.comwrote: On Mon, Nov 15, 2010 at 2:26 PM, Jim mack j...@less2do.com wrote:

Re: [Factor-talk] need help with slices

2010-11-16 Thread Jim mack
T{ slice f 0 2 ab,cd } string Remember that each, map, first will all work - but in this case work on the char values not little one char strings. On Tue, Nov 16, 2010 at 12:16 PM, Jeff C. Britton j...@iteris.com wrote: T{ slice f 0 2 ab,cd } -- Jim I'm for extending the working Medicare

[Factor-talk] How do I construct a sequence from values on the stack

2010-11-16 Thread Jeff C. Britton
What word do I need? Stack topSome Operation New Stack 9 ? { 8 11 12 5 9 } 5 12 11 8 -- Beautiful is writing same markup. Internet Explorer 9

Re: [Factor-talk] How do I construct a sequence from values on the stack

2010-11-16 Thread Chris Double
On Wed, Nov 17, 2010 at 2:56 PM, Jeff C. Britton j...@iteris.com wrote: What “word” do I need? There are worlds like 1array, 2array, 3array and 4array to produce an array from that many items on the stack. There is also 'narray' which is a generalisation of these for any number. eg: 2 4 8 16 32

Re: [Factor-talk] How do I construct a sequence from values on thestack

2010-11-16 Thread Jeff C. Britton
Thanks, but now I want to do the reverse. Stack Top Some WordNew Stack Top { 2 4 8 16 32 } ?32 16 8 4 2 -Original Message- From: Chris

Re: [Factor-talk] How do I construct a sequence from values on thestack

2010-11-16 Thread Jim mack
[ ] each On Tue, Nov 16, 2010 at 6:56 PM, Jeff C. Britton j...@iteris.com wrote: Thanks, but now I want to do the reverse. Stack Top Some WordNew Stack Top { 2 4 8 16 32 } ?32 16 8

Re: [Factor-talk] How do I construct a sequence from values on thestack

2010-11-16 Thread Doug Coleman
``[ ] each'' won't compile in a Factor word. You can use it in the repl, but even this may chnage in the future if repl expressions are compiled with the optimizing compiler before being executed. All Factor code should know the stack height difference after a word executes. In this case, the