Languages Features Calendar CSV Lists Blog About Sponsor Add Language
GitHub icon



Factor is a pl created in 2003 by Slava Pestov.

#281on PLDB 19Years Old 2.3kUsers
0Books 2Papers 201Repos

Try now: Riju · TIO

Factor is a stack-oriented programming language created by Slava Pestov. Factor is dynamically typed and has automatic memory management, as well as powerful metaprogramming features. The language has a single implementation featuring a self-hosted optimizing compiler and an interactive development environment. Read more on Wikipedia...

Example from Riju:
IN: main USE: io "Hello, world!" print
Example from hello-world:
USING: io ; "Hello World" print
Example from Wikipedia:
: make-html ( string -- xml ) dup <XML <html> <head><title><-></title></head> <body><h1><-></h1></body> </html> XML> ;

Language features

Feature Supported Example Token
"Hello world"
Print() Debugging print
Garbage Collection
Semantic Indentation ϴ

Publications about Factor from Semantic Scholar

title authors year citations influentialCitations
Factor: a dynamic stack-based programming language Sviatoslav Pestov, Daniel Ehrenberg, Joe Groff 2010 5 1
An Introduction to Factor Zackery L. Arnold 2017 1 0
visual-foxpro.html · factor.html · netlogo.html

View source

PLDB - Build the next great programming language · v2022 · Day 32 · Docs · Build · Acknowledgements · Traffic Today · Traffic Trends · Mirrors · GitHub ·