Questions tagged [factor-lang]

Factor is a concatenative programming language that is influenced by Forth, Joy and Lisp.

Filter by
Sorted by
Tagged with
1
vote
1answer
26 views

Presenting collections for code generation

I've never been too bothered by the lack of present (and thus print) support for Factor collections and other objects, but I've ...
5
votes
1answer
72 views

Gravity problem solver in Factor

After answering a question about Factor, I decided that it looked interesting. To get the hang of the syntax and such, I decided to write some basic physics code to "solve" the three-body problem. ...
4
votes
1answer
59 views

Bit stream input in Factor

My attempt at writing code to input values of arbitrary bitlength based on a bytearray in Factor. Any comments on the correctness or style would be appreciated. ...
10
votes
2answers
244 views

Project Euler problem 1 in Factor

I'm a complete beginner of Factor, but I just managed to solved Euler Problem #1 using it, and would love to have the code reviewed. Anything that can be improved? In particular I'm wondering if there ...
33
votes
3answers
784 views

Factor script to change case of all filenames in a directory

In the absence of a full-fledged tutorial, I am teaching myself to program in the Factor language by writing a bunch of functions that I will eventually use in command-line scripts. One common ...