Re: GSOC 2016: FastParse library
Vladimir Polushin <[email protected]> Wed, 16 Mar 2016 04:25:03 -0700 (PDT)
| Newsgroups | gmane.comp.lang.scala |
|---|---|
| Message-ID | <[email protected]> |
I wrote basic version of CSS parser https://github.com/vovapolu/CssParser . According to https://www.w3.org/TR/css-syntax-3/ it only breaks css into simple elements like words and delimiters and it also can handle blocks in brackets. Now I am planning to add more tests and to try to implement some complex structures (selectors, other rules) in parser, but I think it will be pretty hard given all these rules and requirements. вторник, 15 марта 2016 г., 6:05:14 UTC+3 пользователь Haoyi Li написал: > > A CSS parser would serve the purpose as well and could plausibly be > useful. I think a Smalltalk parser would be a bit obscure I don't think it > would serve well: people won't be familiar enough to use it as an example, > nor would they find it useful in real life for parsing their smalltalk code > (since they won't have any) > > I'm not totally convinced that a CSS parser would be simpler than a > Markdown parser though. The CSS3 Grammar: > > - https://www.w3.org/TR/css-syntax-3/ > > Certainly looks awfully complicated! > > > On Tue, Mar 15, 2016 at 10:55 AM, Naftoli Gugenheim <[email protected] > <javascript:>> wrote: > >> Have you seen CommonMark (http://commonmark.org/)? >> >> >> >> On Mon, Mar 14, 2016 at 6:59 PM Vladimir Polushin <[email protected] >> <javascript:>> wrote: >> >>> Hello! >>> >>> Several days ago I started to write markdown parser, but now this task >>> seems to me very hard to implement. I tried to google grammars of markdown >>> or some specification, but markdown literally doesn't have any standard and >>> any grammar I found is quite large and complicated for the first experience >>> with library. So may I write CSS or Smalltalk parser first? They have clear >>> and concise grammars, which won't cause difficulties in the implemenation. >>> >>> >>> пятница, 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] <javascript:>. >>> 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] <javascript:>. >> 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.