parsing - Parser that accepts Scala Identifiers? -


I was thinking that there is a parser in standard Scala parser connators that also accepts scala language (as Scala Specified in language, section 1.1)

StdTokenParsers is a ident parser in the attribute, but does it deny the identifier like empty_? .

(If there is no such parse in fact, then I can also instantiate the scalar parser, but it will not be light.)

Not a standard parser is a compositor, but scala.tools.nsc.util.Chars is the authentic tool for testing id-ness. There is no need to speed up the Global or Scala scanner.


Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -