dcreager.net

Pestov2010

Slava Pestov, Daniel Ehrenberg, Joe Groff. “Factor: A Dynamic Stack-based Programming Language”. ACM SIGPLAN Notices. Volume 45, Issue 12. December 2010. pp 43–58

Remarkable PDF

Original PDF

DOI

Abstract

Factor is a new dynamic object-oriented programming language. It began as an embedded scripting language and evolved to a mature application development language. The language has a simple execution model and is based on the manipulation of data on a stack. An advanced metaprogramming system provides means for easily extending the language. Thus, Factor allows programmers to use the right features for their problem domain. The Factor implementation is self-hosting, featuring an interactive development environment and an optimizing compiler. In this paper, the language and its implementation are presented.

Notes

The “stack effect” notation is very similar to the pre- and post-conditions of stack graph partial paths.

Should stack graphs just be Forth programs?