r/factor • u/mrjbq7 • Sep 12 '24
r/factor • u/mrjbq7 • Nov 03 '14
Factor 0.97 now available (over 1,400 commits)
r/factor • u/lotbr • Aug 10 '18
Factor: An impressive stack-based language environment
junglecoder.comr/factor • u/AndydeCleyre • Aug 11 '23
For anyone on Lemmy, I've started a concatenative community on the programming.dev instance
Hello!
I've recently gotten into this topic in general and am having the most fun and success so far with Factor in particular. I'm also trying to move away from Reddit, and enjoying Lemmy.
So if you're interested, please come by and post anything at all on the subject!
Fancy link that tries to accommodate your preferred instance: https://lemmy.guide/[email protected]
Plain direct link: https://programming.dev/c/concatenative
r/factor • u/[deleted] • Aug 26 '15
Former SwiftForth user - I'm porting my game engine to Factor. Just finished creating some Allegro bindings.
I'll skip over the details about what makes Factor such a great language for me (and why I at first passed on it) ...
I made a game in SwiftForth that actually got on Steam. If anyone on /r/factor is familiar with /r/forth some of you may have heard of it, it's called The Lady. The engine that that runs on became what's now called Geode. Say what you will about disadvantages, scripting game objects is a lot more fun and rapid in an interactive concatenative language!
Basically it would be really great to have a support network if anyone here is either actively working on the Factor library or actually making stuff with it. Because I definitely want to make stuff with it.
I'm having one little issue with Factor and that's with the F2 / refresh-all feature. It just doesn't seem to work. Any ideas?
r/factor • u/[deleted] • Oct 31 '19
forthy2 - a higher level Forth-remix in C++
Namaste,
I've been working on a stack based language the last four years, the latest iteration of which is finally beginning to turn out the way I see it.
Since Factor is perhaps the most popular language along the same semantic lines, and since I don't know enough to make informed judgements; I was hoping to motivate a few to have a look and maybe get an interesting discussion going.
At their core, forthy2 and Factor couldn't be more different. I imagine because of different goals. I want an implementation that's simple enough to own. Something I can drop into a C++ project wherever I need more leverage, and customize and tweak as much as I feel like.
I've tried to provide a decent walk through in the README, and I'd be happy to answer any questions. Please note that it's very much a work in progress, with unexpected feature gaps all over the place, but what's already there works well enough to play around with and should give a general idea.
And that's about all I have to say at this point...
r/factor • u/[deleted] • Jul 19 '20
I just wanted to get confirmation. Does Factor compile to machine language?
When I say "machine language", I meant that a code such as
1 1 +will be compiled to
mov eax, 1
mov ebx, 1
add eax, ebxand not just that there will be a Factor interpreter in the compiled binary and the original Factor code is just stored there waiting to be interpreted.
So is Factor code executed by the CPU directly as machine language or interpreted by an interpreter included in the binary?
Thanks for any replies :)
r/factor • u/nohtyp • Oct 08 '17
“␣;”: A Simply Arited Concatenative Language
suhr.github.ior/factor • u/patrickwonders • Aug 21 '09
Factor presentation by Doug Coleman to the TC Lispers Group
r/factor • u/kylxbn • Jul 29 '21
Always getting error "You have triggered a bug in Factor. Please report. critical_error: The die word was called by the library."
I'm trying to follow the instructions in this article on how to make a calculator with Factor GUI and while I got it running perfectly in the scratchpad by running "calc-ui" run, trying to distribute it as an EXE using "calc-ui" deploy-tool always result in this error:
You have triggered a bug in Factor. Please report.
critical_error: The die word was called by the library.: 0
Starting low level debugger...
Basic commands:
q ^Z -- quit Factor
c -- continue executing Factor - NOT SAFE
t -- throw exception in Factor - NOT SAFE
.s .r .c -- print data, retain, call stacks
help -- full help, including advanced commands
> ==== DATA STACK:
[ a really long stack ]
==== RETAIN STACK:
{ "math" "threads" "compiler" "io" "ui" }
5
4
==== CALL STACK:
[ lots of CPU addresses and stuff ]To make sure that this is not a problem with my Factor code, I tried to deploy the "minesweeper" vocabulary as well, and the exact same error appears (okay, maybe not exactly, maybe the data stack or the call stack is different, but it's the same error message.)
I am running Factor 0.98 x64 on Windows 10 64-bit (Japanese).
Does anyone know of a way to fix this, or maybe please tell me what I'm doing wrong?
Thank you very much in advance!
r/factor • u/binarycat64 • Oct 09 '20
Is there any way to make the ui tools white on black (i.e. dark theme)?
r/factor • u/[deleted] • Jul 19 '20
I tried my best, and I'm probably the one at fault here, but I totally can't understand the ui library tutorial.
Besides the official documentation, can anyone please recommend any other resources to get started with making GUI-based Factor apps?