The readline
based UI sweetspot
Use readline
and a simple recursive descent parser to make powerful personal tools with nice UI.
readline
based UI sweetspot Use readline
and a simple recursive descent parser to make powerful personal tools with nice UI.
fnparse
Parser combinators are a powerful way of expressing complex parsers as first class operations in a language with first class functions. This tutorial introduces one such library, fnparse
, for Clojure.
Following my introduction to fnparse
, this article looks at how more common functional programming tools can be leveraged to make parsers that output new parsers.