Re: GSOC 2016: FastParse library
John Michael Lafayette <[email protected]> Mon, 11 Apr 2016 20:06:35 -0700 (PDT)
| Newsgroups | gmane.comp.lang.scala |
|---|---|
| Message-ID | <[email protected]> |
People in the Scala community have been asking for Python/Haskell style whitespace instead of curly braces for a long time. Based on what I have heard, the current Scala compiler is not in a position to make that change. Scala uses curly braces and parenthesis interchangeably in a lot of places and if you use whitespace to delimit methods, the compiler can potentially take a term from the next line. Combine all of that with the complexity of the Scala compiler and no one is willing to do it. A rock solid implementation would require massive change. On Friday, March 11, 2016 at 3:26:12 PM UTC-5, Martin Mauch wrote: > > I have a grammar proposal that involves another project of Li Haoyi: > https://github.com/lihaoyi/Scalite > It's an indendation based version of Scala which looks a little like > Python. > Personally I think such a syntax would make Scala look much lighter and > more modern :D > > On Friday, March 11, 2016 at 7:20:58 AM UTC+1, Vladimir Polushin wrote: >> >> Thank you :) It's quite interesting task, I will try to do it. >> >> пятница, 11 марта 2016 г., 7:24:06 UTC+3 пользователь Haoyi Li написал: >>> >>> Hello! I wrote FastParse. >>> >>> A good first contribution to FastParse would probably be some kind of >>> example parser. The project already has Scala, Python, JSON and XML >>> parsers, but it would be nice to add to the collection. >>> >>> For example, a FastParse based Markdown parser would both very useful as >>> well as serve to introduce you to the FastParse library and build you up to >>> a reasonably high level of expertise. You would gain a much deeper >>> understanding of its behavior and internals, the "why"s of the library, and >>> be in a much better position to contribute significantly. >>> >>> On Fri, Mar 11, 2016 at 3:59 AM, Vladimir Polushin <[email protected]> >>> wrote: >>> >>>> Hello! >>>> >>>> I am a third-year undergraduate Computer Science student at the Moscow >>>> State University. I've been working with scala for a year and now I want to >>>> start contributing to the Scala community. I looked thought the list of >>>> ideas for GSOC, and I liked The FastParse library. I've already used Scala >>>> Parser Combinators and I have a basic knowledge about formal grammars and >>>> compilers. So where can I start? Should I fix some bug in that repository >>>> first? >>>> >>>> -- >>>> You received this message because you are subscribed to the Google >>>> Groups "scala-language" group. >>>> To unsubscribe from this group and stop receiving emails from it, send >>>> an email to [email protected]. >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> >>> -- You received this message because you are subscribed to the Google Groups "scala-language" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.