a stack-oriented programming language inspired by Forth, Joy, Lisp and Self.

learn more… | top users | synonyms

4
votes
2answers
210 views

Any better way to solve Project Euler problem # 5

So, here's my attempt on Problem # 5 of Project Euler, which is looking quite clumpsy when seen first time. Is there any better way to solve this? Or any built-in library that already does some part ...
7
votes
2answers
169 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 ...
6
votes
0answers
139 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 ...