Coming back to factor after a year, I found the majority of my old contributions
had stopped working and were relegated to unmaintained. The updated and improved
versions now live here: http://github.com/bogiebro/factor. Could this be pulled?
Thanks,
Sam
--
Tuple slots can be declared immutable with the read-only word:
TUPLE: foo { a read-only } ;
I suppose if you wanted the entire tuple, you could do something like:
SYNTAX: IMMUTABLE-TUPLE: parse-tuple-definition
[ dup array? [ read-only suffix ] [ read-only 2array ] if ] map
define-tuple-
The "Evaluate in listener" and "Evaluate selection" services that factor offers
in macosx have stopped working in a recent version. Is anyone else having this
problem? Any idea why this might have occurred?
--
SOLARIS 10
Dan,
I've made the cleanups you suggested to sequences.extras and combined them with
the core sequences vocab. The reduce* word, by the way, only exists to give
normal reduce a static stack effect.
My git repo*, however, also contains some larger changes to the UI framework:
I've replaced the man
Hello,
Yes, I would be interested in cleaning up sequences.extras. That said, I won't
be able to get around to it any time soon.
Sam
Daniel Ehrenberg wrote:
> Sam,
>
> I noticed your sequences.extras vocab. It looks like it does some
> useful things that aren't in the sequences vocab, but some
In trying to create a layout protocol (such that all layout gadgets could be
added to with the same words) I've gotten rather stumped over the issue of
incremental layouts. Although the protocol is very much a work in progress, and
I don't know if this will ever actually be used, I would appreciat
I changed my mind on some things when I experimented a bit. Here's a rough
draft:
http://paste.factorcode.org/paste?id=813
--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day
trial. Simplify
Sorry, but I'm muddying the waters again- as before, please respond with
feedback.
Attempting to add a gadget to a layout agnostic to its type is currently
impossible. This makes all general purpose gadget layout code a big hack (see
my gadgets.layout for examples.) Why? Many layout gadgets ke
The extra vocab ui.gadgets.controls contains a lot of random stuff (with no
relation to each other than concerting gadgets) which are each too small for a
vocab of their own.
Rather than unthinkingly moving all the pieces to their respective parents in
basis (as I did before- sorry), I would like
Hello
When inspecting the model of a slider of a scroller (which I think means the
inspector receives model-changed calls), I was told "Cannot add/remove gadgets
in layout*"
It seems the layout* method for a scroller changed the model, which, if
inspected, makes the inspector want to change his di
I'm not sure how useful this is (I'm using it for a calendar app), but I made a
gadget I call a popper. It's basically a track with some editor fields, one of
which (the one in focus) always fills up the rest of the track, while the rest
only show one line of their text. They work a bit like an e
I know fuel is sexy for factor editing right now, but there's no reason Textmate
can't do the same thing. Now, the textmate bundle supports pretty much
everything fuel does, and a wee bit more:
Everything is on github at http://github.com/bogiebro/factor/tree/master
Advantages over fuel:
- auto
Hello. Perhaps someone might assist me:
I don't understand how to use threaded servers.
The handler quot can read and write individually just fine, but can't seem to do
them together. Say I want to add one and spit back the result:
binary
"addone" >>name
[ deserialize 1 + serialize ] >>handler
Hi all
A while ago, I made a syntax for loading remote vocabularies in "modules.using".
It broke. Now it's back: http://github.com/bogiebro/factor/tree/master
(Also included are a few changes to ui.frp)
Sam
--
Let Cr
changes include:
- ui.frp allows gui layout through templates, and loads without restarts
- the "pattern" class, when placed in a tuple used with the tuple database
abstraction, will be used in an sql "LIKE" clause, allowing wildcards/ searching
- the "persistency" vocabulary eliminates the need f
> In that case you should pass the needed state (current-directory, etc)
> in a more explicit way than bundling the current namespace.
The "closures" vocab now has only explicit naming of the variables you want to
capture. Pull (as always) at git://github.com/bogiebro/factor.git
I followed your advice.
>> - modules.util allows reexporting other modules (see ui.frp for use example)
>
> I don't think this is necessary. It also won't work if one of the
> vocabs you are exporting is reloaded and has new words.
True. I've removed the module and changed others that use it.
new modules (some mentioned previously):
- improvements, bugfixes, and documentation to ui.frp
- an example app using ui.frp (extra/darcs-ui-demo)
- modules.util allows reexporting other modules (see ui.frp for use example)
- functors can create macros
- fries generalizes fry's syntax for other dat
It appears my implementation of multiple selections broke the error-list gadget.
I can't see what the problem is, however, because the window simply is never
drawn, without throwing any errors. Any debugging ideas?
--
Cr
Table views can now have more than one selection. Modifiers are like those on
macosx: shift for selection up to a item, and command for arbitrary selection.
Pull changes at git://github.com/bogiebro/factor.git
--
The NEW
I've been attempting to build a gui for the darcs version control system with
factor.
My progress so far is at http://github.com/bogiebro/factor/tree/master
I've run into a problem:
My C[ parsing word (in the "closures" vocab under extra) makes a quotation that
is called with the namespace it wa
Browsing file hierarchies is a common enough task in a GUI.
My "file-trees" vocab contains a file-tree class, along with a basic list view
for file browsing.
pull at git://github.com/bogiebro/factor.git
--
Register Now &
Fixed.
Slava Pestov wrote:
> Hi Sam,
>
> The ui.frp vocabulary has some help failures. Please run
>
> "ui.frp" help-lint
--
Register Now & Save for Velocity, the Web Performance & Operations
Conference from O'Reil
Factor's UI has so far lacked combo boxes (those half list, half text field
things).
I made some. They're available for a pull at
git://github.com/bogiebro/factor.git
--
Register Now & Save for Velocity, the Web Perfor
a few changes:
- compiles with current version of factor
- rpc vocabs can cache responses
- vocab submitting as well as receiving (perhaps eventual package system)
http://github.com/bogiebro/factor/tree/master
>> On Fri, Apr 24, 2009 at 8:34 AM, wrote:
>>> I put a few new vocabularies on
>>
I've removed the image from history
Slava Pestov wrote:
> Looks like cool stuff Sam!
>
> I noticed you checked in a factor.image file, which is rather large.
> Can you remove it first?
>
> Also I wonder if there is a way to remove it so that we don't end up
> with a large patch containing your i
h "peg-lexer" test; this is very convenient for
> interactive development, I find.) Then I'll pull from you.
>
> Dan
>
> On Tue, Mar 10, 2009 at 6:36 PM, Sam Anklesaria wrote:
>> Documentation, summary, authors, and tags have all been updated.
>>
>
we can pull this into the Factor repository.
>
> Dan
>
> On Mon, Mar 9, 2009 at 8:52 PM, Sam Anklesaria wrote:
>> I recently made a library that allows a peg parser to temporarily take over
>> the
>> lexer, which can be useful for implementing more complicated parsing
I recently made a library that allows a peg parser to temporarily take over the
lexer, which can be useful for implementing more complicated parsing words.
It's on github at http://github.com/bogiebro/factor/tree/master (called
peg-lexer)
How would I commit this to Factor's repository?
-
29 matches
Mail list logo