On Tue, Dec 28, 2010 at 9:45 AM, Marcin Krol <mrk...@gmail.com> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hello everyone,
>
> I have to say I find Factor to be intriguing at the very least, having
> long programmed in Python.
>
> But I have a few problems and suggestions:
>
> 1. is there some way to make Listener forget the code it just compiled?
> When I do smth like
>
> "prog" run
>
> it always runs the last compiled version, even if I just changed the
> source code file "underneath".

"prog" refresh

or

refresh-all

> 2. It would be neat to be able to cycle commands in scratchpad of
> Listener using up and down arrows. As it stands I have to click the
> relevant word sequence, which is irritating for me given the Linux shell
> and Unix/CPython shell habits.

Control-p and Control-n are what you're looking for.

> Now it produces error:
>
> 8: STRUCT: point { x float } { y float } { z float } ;
>                          ^
> no-c-type
> name float
>
> Huh? Does it mean there's no such C type? That's kinda weird.

At some point C type names became actual words, are are found in the
alien.c-types vocabulary.

Note that if you have both 'math' and 'alien.c-types' in your using
list, you'll get an error if you refer to 'float' since both vocabs
define such a word. So usually what we do is

QUALIFIED-WITH: alien.c-types c

And then refer to C types with a c: prefix, eg c:float, c:void*, and so on.

Slava

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Factor-talk mailing list
Factor-talk@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to