Skip to content

excursions in Functional scala via a forth compiler

Notifications You must be signed in to change notification settings

danlaudk/forth-scala

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A Scala compiler for the Forth language, a stack-based language that has been used by NASA in spacecraft

My original intent was to keep this close in design to assembler code I pair-programmed with at Recurse, but then I veered off, using it as an excuse to investigate : rolling my own state monad, then using cats, and exploring the use of a free monad/interpreter pattern (but I couldn't work out how to compose State with Either), and lenses

Test cases pass for most functionality. Interactive code at scalafiddle.io

About

excursions in Functional scala via a forth compiler

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published