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
1 answer

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 ...
cat's user avatar
  • 977
5 votes
1 answer

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. ...
user avatar
4 votes
1 answer

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. ...
Mark Green's user avatar
10 votes
2 answers

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 ...
Torbjørn's user avatar
  • 512
33 votes
3 answers

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 ...
Adeel Zafar Soomro's user avatar