资 源 简 介
Simple Lexing Parsers for Scala
This software defines a lightweight (30Kb all-inclusive jar file) Scala trait SimpleLexingParsers that augments Scala"s RegexParsers with a built-in lexical-analyzer (or lexer). Parsers that extend SimpleLexingParsers have lexical analysis capabilities similar to those of Lex, Flex, and JLex. SimpleLexingParsers obviates the need for a bunch of utility classes (StandardTokenParsers, JavaTokenParsers, RegexParsers, etc.). This package includes the traits slp.StandardTokenParsers and slp.JavaTokenParsers (which extend SimpleLexingParsers) to facilitate migration of existing code as described in the Migra