Re: [Factor-talk] Factor image snapshots

2011-03-20 Thread tgkuo
IMOH, it woud be good to snapshot the whole image as Smalltalk does. But Factor is more like what scripting languages, ruby, python... are, not so GUI oriented and dynamic as Smalltalk does currently, Factor does not depend upon an all-mighty image to resume for every reboot, it has no GUI-based

Re: [Factor-talk] Changing global variables at parse time

2014-12-16 Thread tgkuo
Hi, About the parsing using append! as below SYNTAX: FOO: scan-token '[ _ foo set ] append! ; seemed to have the same effect as this one, which is more understandable SYNTAX: FOO1: scan-token '[ _ foo set ] suffix! \ call suffix! ; As I knew, append! has the stack effect of ( seq seq -- seq

Re: [Factor-talk] Changing global variables at parse time

2014-12-16 Thread tgkuo
do this, which looks a little weird but works: SYNTAX: FOO2: scan-token suffix! { foo set } append! ; IN: scratchpad [ FOO2: hello ] . [ hello foo set ] On Tue, Dec 16, 2014 at 4:17 PM, tgkuo tgk...@gmail.com mailto:tgk...@gmail.com wrote: Hi, About the parsing using append

Re: [Factor-talk] Changing global variables at parse time

2014-12-17 Thread tgkuo
While quotations are sequences, in order for the stack-checker to infer the proper effect for combinators, you can't call append on two quotations, you must call compose instead. Likewise with suffix/prefix, you should call curry. For what I undertood and learned, quotations and sequences

[Factor-talk] How to call up a terminal process to run script in OS X ?

2014-12-23 Thread tgkuo
{ disposed t } { fd 37 } } } } } } All I need is simply to wake up the terminal.app to execute the shell script in it’s window.. Best regards. tgkuo -- Dive into the World of Parallel Programming! The Go Parallel

Re: [Factor-talk] How to call up a terminal process to run script in OS X ?

2014-12-23 Thread tgkuo
tell sprintf run-apple-script ; SYNTAX: Rake: scan-token set-rake-pathname '[ _ run-rake ] append! ; Vocab On Tue, Dec 23, 2014 at 7:13 AM, tgkuo tgk...@gmail.com mailto:tgk...@gmail.com wrote: Hi, group I had a need to run rake command from a TextEditor