Bean Machine Retrospective, part 7
Read OriginalThis 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.
Comments
No comments yet
Be the first to share your thoughts!
Browser Extension
Get instant access to AllDevBlogs from your browser