Eric Lippert 2/8/2023

Bean Machine Retrospective, part 7

Read Original

This article, part of a series on Bean Machine, discusses writing a compiler in a general-purpose OO language like Python. It proposes using ideas from combinatory logic and functional programming to model control flow as function composition, focusing on building AST-to-AST transformations using Python's ast module. The author previews upcoming discussions on patterns, rules, and combinators as an alternative to conventional techniques like visitor patterns.

Bean Machine Retrospective, part 7

Comments

No comments yet

Be the first to share your thoughts!

Browser Extension

Get instant access to AllDevBlogs from your browser

Top of the Week