On 10/24/07, Phil Dawes <[EMAIL PROTECTED]> wrote:
> I was just wondering how other people develop code in factor to see if
> I'm missing any tricks.

I do some quick testing/exploring in the REPL directly then when I'm
ready to actually develop a module I create the file under extra/ and
USE: it in the REPL.

>From then I edit the file and hit F8 in the GUI to reload it. F8
automatically reloads any modified vocabs that have been loaded. I
alternate between editing and hitting F8.

For testing I have a foo-tests.factor file in the module (where
foo=module name). Then I just do "foo" test in the REPL.

There are features in factor to link to running emacs/vim/editor
sessions so you can type in the REPL commands to edit a particular
word and it loads into your editor. I've not used these features
myself but they might be useful to you.

Chris.
-- 
http://www.bluishcoder.co.nz

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to