com-lihaoyi / fastparse

Writing Fast Parsers Fast in Scala
https://com-lihaoyi.github.io/fastparse
MIT License
1.09k stars 163 forks source link

scala3parse #250

Open aryx opened 3 years ago

aryx commented 3 years ago

Is there any plan @lihaoyi to extend/fork scalaparse to also handle scala3? The scala3 grammar seems pretty stable now and it would be nice to have a fast way to check for syntax.

BTW I just finished your "Hands-on-Scala" book. Fantastic book! great job!

erwan commented 1 year ago

apparently there is a PR now, not sure what's the status of it

https://github.com/com-lihaoyi/fastparse/pull/262

SethTisue commented 1 year ago

262 is about fastparse. this ticket is about scalaparse, which is a fastparse-based parser for Scala itself

lefou commented 1 year ago

~Fixed in #271~

lefou commented 1 year ago

Sorry, this is not yet fixed.

lefou commented 1 year ago

Scala 3 syntax changed quite a bit since Scala 2. There is new syntax as well as whitespace sensitivity, so this is a lot of work. Please take the time and present your use cases as a motivation. Offering some help might help too.