smucclaw / lam4

A functional (and hopefully in the near future, solver-aided) DSL for the law
MIT License
1 stars 0 forks source link

Add a backend parser that parses in the ('minimal ast' version of the) concrete syntax json from Langium parser (closes #44) #45

Closed ym-han closed 2 months ago

ym-han commented 2 months ago

The parser I'd written in the Langium framework exports a serialized-to-json version of the syntax (see, e..g, node ./bin/cli toMinimalAst examples/chained_record_deref.l4, from the lam4/lam4-frontend dir). This PR reads in that json into the Haskell backend.

Closes #44 .

The next steps:

Mostly tagging reviewers as an fyi --- not sure that this is worth an in-depth review