Factor is a programming language created in 2003 by Slava Pestov.
#259on PLDB | 20Years Old | 2.3kUsers |
0Books | 2Papers | 201Repos |
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...
IN: main
USE: io
"Hello, world!" print
USING: io ;
"Hello World" print
: make-html ( string -- xml )
dup
<XML
<html>
<head><title><-></title></head>
<body><h1><-></h1></body>
</html>
XML> ;
Feature | Supported | Token | Example |
---|---|---|---|
Strings | ✓ | " | "Hello world" |
Print() Debugging | ✓ | ||
Macros | ✓ | ||
Garbage Collection | ✓ | ||
Comments | ✓ | ||
Semantic Indentation | X |
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 |