Parse Your Options
Autor: | Doaitse Swierstra, Atze Dijkstra |
---|---|
Rok vydání: | 2013 |
Předmět: |
Scheme (programming language)
Parsing Command-line interface Computer science Programming language business.industry computer.software_genre Top-down parsing Identifier Parser combinator Haskell Artificial intelligence business Combinatory logic computer Natural language processing computer.programming_language |
Zdroj: | Lecture Notes in Computer Science ISBN: 9783642403545 The Beauty of Functional Code |
DOI: | 10.1007/978-3-642-40355-2_16 |
Popis: | We describe the development of a couple of combinators which can be used to run applicative style parsers in an interleaved way. In the presentation we advocate a scheme for choosing identifier names which clearly shows the types of the values involved, and how to compose them into the desired result. We finish with describing how the combinators can be used to parse command line arguments and files containing options. |
Databáze: | OpenAIRE |
Externí odkaz: |