factor
factor copied to clipboard
Factor programming language
Here's the default listener:  It's a bit boring, let's spice it up with `with-256color` and a custom prompt:  What happened to the table headers? Well, it turns out...
The main problem is it breaks your `fix` and you have to start over. hotkey is ctrl-f ```factor : sq1 ( x -- y ) dup * ; : sqsq...
``` 1: Note: Added "math" vocabulary to search path Unit Test: { { } [ [ "vocabs.loader.test.c" forget-vocab ] with-compilation-unit ] } Must Fail: { [ "USE: vocabs.loader.test.c" parse-interactive ]...
Current mason benchmarks are nicely stored, however analysis shows timing results are not accurate enough. This issue is to collect improvement suggestions how to improve upon that.
Inspired by this article: https://blog.codingconfessions.com/p/how-python-compares-floats-and-ints And this embed:  I thought I'd see how we handle it, and I think we have a different bug: ```factor IN: scratchpad 9007199254740992 9007199254740992....
Currently, SPACE is bound as the completion char, and so is TAB. That makes it impossible to search command history for (partial) commands containing spaces. Most practical example: `USE: somebloodylongandhardtoremembervocabname`...
Recent investigation into `CTRL-R` shows that SPACE will cancel the search, whereas it can be part of a command in command history. It's better to just use `TAB` for completion,...
In some use cases, deep cloning is required. To account for peculiarities of certain types, make a `GENERIC: deep-clone ( obj -- deep-cloned )`
I found this while getting a use of `if-file-exists` wrong, but have since pared it down. First, let's start with two simple quotations and see what the stack checker thinks...
I noticed that when running a vocab with a `MAIN:` entrypoint from the commandline with `factor -run=`, that factor will throw an error when it finds an error in the...