Some basic parser combinators, hopefully showing how easy it is to formulate readable, powerful parsers using the Scala Standard Library.
- SimpleXML.scala: Parse XML documents
- CalculatorParser.scala: Arithmetic expression parser!
- BashHistoryParser.scala: Parse .bash_history files (optionally matching dates and converting them as well)
- EBNFParser.scala: Parse EBNF documents
- LogParser.scala: Parse HTTP logs
- ShellParser.scala: Contrived example, parsing output from shell commands
- TorrentFileParser.scala: Parse binary torrent files!