Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/d-plaindoux/scala-shop
"Scala Parsers Combinators" coding dojo
https://github.com/d-plaindoux/scala-shop
Last synced: 11 days ago
JSON representation
"Scala Parsers Combinators" coding dojo
- Host: GitHub
- URL: https://github.com/d-plaindoux/scala-shop
- Owner: d-plaindoux
- Created: 2014-02-13T08:30:06.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-05-20T05:17:15.000Z (over 10 years ago)
- Last Synced: 2023-03-12T10:07:10.383Z (over 1 year ago)
- Language: CSS
- Homepage:
- Size: 352 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
scala-shop
=========="Scala Parsers Combinators" decicated coding dojo.
Introduction
------------This coding dojo introduces Scala parsers combinators standard library.
This is done performing parsers for two different mini-languages.The first one is inspired by Javacscript expressions and is by definition a regular
language. The main difficulty can be the left recursion which can be managed
in different ways.The second language is inspired by Mustach. This case is a little bit more complex
for two reasons. First it's not a regular language and second its syntax can change
during the analysis. For those two reasons this last case study shows the possibilities
offered by such a parser library and related concept like combinators ... and monads of course.How-to
------Exercises are in the directory named [exos](https://github.com/d-plaindoux/scala-shop/tree/master/src/main/scala/toulousejug/exo)
and directives are given by comments in the source code. In addition a complete solution for both mini-language is also given in the directory [parsers](https://github.com/d-plaindoux/scala-shop/tree/master/src/main/scala/toulousejug/parsers).In parallel a set of slides in french (using Reveal.js) are provided.