Day 1: Stack On, Stack Off

Over the next three days, we’ll learn more about Factor and explore what makes its programming model unique. Day 1 will be spent experimenting with code in Factor’s interactive environment. We’ll get a feel for how Factor code works and we’ll get used to using the stack to communicate input and output values.

On Day 2, we’ll learn how to expand beyond the confines of the interactive sandbox and organize Factor code into source files. We’ll run standalone programs and write unit tests. Day 3 will conclude our Factor adventure with a deeper exploration of the concatenative programming style. We’ll solve two sample problems using pipelines of functions, which is one area where Factor really shines. We’ll end the journey ...

Get Seven More Languages in Seven Weeks now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.