Here’s a snippet: Implementing Co, a Small Interpreted Language With Coroutines #2: The Interpreter
Working in software, you’ve probably dabbled with the idea of making your own programming language. What would it take? Abhinav Sarkar has written a series on implementing his own language called Co, in Haskell. In this article, Abhinav details the process of adding dynamic and strong typing, primitives, arithemtic operations, conditionals, and functions.
Check it out at https://abyteofcoding.com/issues/a-byte-of-coding-issue-94/