# Parser for the Scala programming language?

**URL:** <https://discuss.ocaml.org/t/parser-for-the-scala-programming-language/7541>\
**Category:** Ecosystem\
**Created:** [March 26, 2021, 12:12pm UTC](https://discuss.ocaml.org/t/parser-for-the-scala-programming-language/7541 "2021-03-26T12:12:36Z")\
**Posts on this page:** 1\
**Showing post:** 18

<div class="post-metadata">

**Author:** ![aryx](https://sea2.discourse-cdn.com/flex020/user_avatar/discuss.ocaml.org/aryx/32/2356_2.png) [@aryx](https://discuss.ocaml.org/u/aryx)\
**Post date:** [May 11, 2021, 1:11pm UTC](https://discuss.ocaml.org/t/parser-for-the-scala-programming-language/7541/18 "2021-05-11T13:11:44Z")

</div>

I ended up porting the recursive descent parser in the Scala compiler to OCaml …  
I think it was the fastest way to get a working parser from OCaml …

> <https://github.com/returntocorp/pfff/blob/develop/lang_scala/parsing/Parser_scala_recursive_descent.ml>

---

_[View the full topic](https://discuss.ocaml.org/t/parser-for-the-scala-programming-language/7541)._
