Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
SI-6811 Deprecate scala.util.parsing.json #2581
@adriaanm One open question is what's the future of the parser combinator library in general ... do we want to keep it? Like JSON and XML, this seems to be an area where type macros could be a huge change. E. g. having a type macro which compiles the parser combinator down to a simple state machine. I think I even saw something like that on the mailing list recently ... ah here it is: https://groups.google.com/d/topic/scala-language/sXC-f88Adiw/discussion
I agree staging is a great idea for combinator parsers -- I don't think you need type macros for that: blackbox macros should do. The parsers are one of those components that I intend to ship as a separate jar for 2.11.
Blackbox macros are those macros that look just like regular method calls (type signature fully specified).