finos / finos/morphir

Create Morphir Parsing Frontend

Open
#273 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
209
Forks
65
Avg merge
8h 55m
Merged PRs (30d)
126

Description

# Create Morphir Parsing Frontend

We want to make it easier to add new front-ends to Morphir. One way we are looking at doing this is by creating:

- A Morphir language dialect (we want to fork one of the tree-sitter parsers for either Elm or Gleam, I'm thinking Gleam)
- A Morphir AST
- A way to map other parsers onto the Morphir AST (for example, directly map Elm and/or Gleam onto Morphir)
- The AST should capture enough info to feed into the type inferencer.

## Tech

We can get "free" parsers by leveraging tree-sitter parsers. We want to explore using tree-sitter parsers as a frontend to parsing.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.