danlaudk / forth-scala

excursions in Functional scala via a forth compiler

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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


Languages

Language:Scala 61.0%Language:HTML 38.7%Language:Shell 0.3%