# Elm parser library in rust

**URL:** <https://discourse.elm-lang.org/t/elm-parser-library-in-rust/6415>\
**Category:** Learn\
**Created:** [October 19, 2020, 3:51pm UTC](https://discourse.elm-lang.org/t/elm-parser-library-in-rust/6415 "2020-10-19T15:51:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![DullBananas](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/dullbananas/32/3709_2.png) [@DullBananas](https://discourse.elm-lang.org/u/DullBananas)\
**Post date:** [October 19, 2020, 3:51pm UTC](https://discourse.elm-lang.org/t/elm-parser-library-in-rust/6415/1 "2020-10-19T15:51:40Z")

</div>

is there a good rust library for parsing elm source code?

---

<div class="post-metadata">

**Author:** ![joelq](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/joelq/32/445_2.png) [@joelq](https://discourse.elm-lang.org/u/joelq)\
**Post date:** [October 20, 2020, 2:19pm UTC](https://discourse.elm-lang.org/t/elm-parser-library-in-rust/6415/2 "2020-10-20T14:19:16Z")

</div>

Are you looking for a pre-built package that you can point at an Elm source file and will give you back an AST? Or are you planning to build such a package yourself and you’re looking for a parser-combinator library in Rust?

---

<div class="post-metadata">

**Author:** ![razze](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/razze/32/1650_2.png) [@razze](https://discourse.elm-lang.org/u/razze)\
**Post date:** [October 26, 2020, 12:01pm UTC](https://discourse.elm-lang.org/t/elm-parser-library-in-rust/6415/3 "2020-10-26T12:01:00Z")

</div>

You can use the rust bindings for tree-sitter [https://tree-sitter.github.io/tree-sitter/](https://tree-sitter.github.io/tree-sitter/)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex035/uploads/elm_lang/original/1X/50a05e53677a2c3b47776d7abd0f113eb50193a1.png) [@system](https://discourse.elm-lang.org/u/system)\
**Post date:** [November 5, 2020, 12:01pm UTC](https://discourse.elm-lang.org/t/elm-parser-library-in-rust/6415/4 "2020-11-05T12:01:00Z")

</div>

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.
