r/functionalprogramming • u/ketalicious • Dec 23 '22
Python Functional Implementation of a parser?
How do i implement a parser in functional pattern?
For instance I want parse a simple math parser like this:
"1 * 2 + 3" -> ast
How do implement the parser for that in pure functional pattern?
22
Upvotes
View all comments
Show parent comment
3
u/ketalicious Dec 24 '22
thanks for this!