Scala Parser Combinators
advent-of-code
Our great sponsors
Scala Parser Combinators | advent-of-code | |
---|---|---|
3 | 44 | |
640 | 23 | |
0.3% | - | |
6.9 | 8.7 | |
8 days ago | 16 days ago | |
Scala | C++ | |
Apache License 2.0 | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Scala Parser Combinators
-
Best way to port a scala + swing app to flutter?
Scala used to include a parser combinator library. I don't know whether it comes with a Scala grammar as an example but I'd probably take a day and experiment whether it would be possible to create an AST parser for the Scala grammar.
-
thoroughful tutorial for scala.util.parsing.combinator._
If you find anything that isn't already linked from the README at https://github.com/scala/scala-parser-combinators , please PR the addition to the readme.
-
-🎄- 2021 Day 18 Solutions -🎄-
Mostly a mess of pattern matching. I really need to make some generic tree utilities. Haven't been able to find a decent parser combinator that works in Scala 3 (I usually use fastparse which depends heavily on Scala 2 macros, and scala-parser-combinators works in Scala 3, but I've had a lot of trouble getting it to not be too greedy), so I used the state monad from cats to parse at the bottom of the file, which I think turned out fairly nice.
advent-of-code
- -❄️- 2023 Day 11 Solutions -❄️-
- -❄️- 2023 Day 10 Solutions -❄️-
-
-❄️- 2023 Day 9 Solutions -❄️-
Click here for a solution which will predict the humidity and other values, in all directions you can think of! You'll be able to use the water from the oasis, and predict when exactly it'll be salty enough for your taste!
- -❄️- 2023 Day 7 Solutions -❄️-
- -🎄- 2022 Day 25 Solutions -🎄-
- -🎄- 2022 Day 24 Solutions -🎄-
- -🎄- 2022 Day 23 Solutions -🎄-
- -🎄- 2022 Day 22 Solutions -🎄-
- -🎄- 2022 Day 21 Solutions -🎄-
- -🎄- 2022 Day 20 Solutions -🎄-
What are some alternatives?
Fast Parse - Writing Fast Parsers Fast in Scala
adventofcode - Advent of Code solutions of 2015, 2016, 2017, 2018, 2019, 2020, 2021, 2022 and 2023 in Scala
Scopt - command line options parsing for Scala
advent-of-code-go - All 8 years of adventofcode.com solutions in Go/Golang; 2015 2016 2017 2018 2019 2020 2021 2022
Parboiled2 - A macro-based PEG parser generator for Scala 2.10+
AdventOfCode - My Advent of Code solutions. I also upload videos of my solves: https://www.youtube.com/channel/UCuWLIm0l4sDpEe28t41WITA
Scallop - a simple Scala CLI parsing library
advent_of_code - Solutions to programming puzzles on Advent of Code
atto - friendly little parsers
adventofcode - Solutions for problems from AdventOfCode.com
decline - A composable command-line parser for Scala.
AoC - my personal repo for the advent of code yearly challenge