# Elm-conf workshop on parsers?

**URL:** <https://discourse.elm-lang.org/t/elm-conf-workshop-on-parsers/5710>\
**Category:** Request Feedback\
**Created:** [May 4, 2020, 2:41pm UTC](https://discourse.elm-lang.org/t/elm-conf-workshop-on-parsers/5710 "2020-05-04T14:41:09Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![jxxcarlson](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/jxxcarlson/32/866_2.png) [@jxxcarlson](https://discourse.elm-lang.org/u/jxxcarlson)\
**Post date:** [May 4, 2020, 2:41pm UTC](https://discourse.elm-lang.org/t/elm-conf-workshop-on-parsers/5710/1 "2020-05-04T14:41:09Z")

</div>

I would like to see if there is interest in a workshop on writing small parsers in Elm — this is for the upcoming elm-conf in July. The idea would be to work through a small, self-contained example like the one discussed in [this Medum article](https://medium.com/@jxxcarlson/implementing-the-mini-language-arith-in-elm-a522f9a7101) — an implementation of the mini-language `Arith` discussed in Benjamin Peirce’s _Type Theory and Programming Languages_ (TAPL). We would discuss how the parser is built, then show how to write an interpreter. It is all pretty compact: just 178 loc for both — see the [GitHub repo](https://github.com/jxxcarlson/arith). Then we would hook the interpreter and parser up to a repl using a small Elm program and and even smaller Javascript program.

The next, and most fun part of the workshop, would be for the participants to extend the language in various ways (or to write their own if they wish). We, the organizers, will have some tested suggestions for the participants.

I’ve started working on some notes, so that participants could study ahead if they wish: [GitHub](https://github.com/jxxcarlson/parser-workshop). The notes are a work-in-progress.

In addition to expressions of interest / doing publicity / making suggestions, what is really important is to have some volunteers to help with the workshop. The organizers of elm-conf suggest a 3:1 ratio, so for every three participants, we need a person to answer questions, help with code, etc. If you are interested in helping with this or if you have comments of any kind, you can either post them here on Discourse, or DM me on the Elm Slack at jxxcarlson.

Thanks!

---

<div class="post-metadata">

**Author:** ![jxxcarlson](https://yyz1.discourse-cdn.com/flex035/user_avatar/discourse.elm-lang.org/jxxcarlson/32/866_2.png) [@jxxcarlson](https://discourse.elm-lang.org/u/jxxcarlson)\
**Post date:** [May 6, 2020, 11:56am UTC](https://discourse.elm-lang.org/t/elm-conf-workshop-on-parsers/5710/2 "2020-05-06T11:56:08Z")

</div>

I’ve had really good response (four people!) for mentors for a parser workshop, so I think we are all set. Thank you all!

---

<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:** [May 16, 2020, 11:56am UTC](https://discourse.elm-lang.org/t/elm-conf-workshop-on-parsers/5710/3 "2020-05-16T11:56:11Z")

</div>

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