Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mystpi/transpiler

An expression transpiler (to JS) that supports pattern matching
https://github.com/mystpi/transpiler

compiler gleam transpiler

Last synced: 2 days ago
JSON representation

An expression transpiler (to JS) that supports pattern matching

Awesome Lists containing this project

README

        

# transpiler

A little expression transpiler. It is capable of generating:
- value literals (ints, strings, booleans) and variables
- lists
- lambda expressions and function applications
- let expressions
- binary operations
- match expressions with pattern matching

Pattern matching currently supports matching against:
- literals
- lists with optional tails
- pattern variables

## Development

```sh
gleam run # Run the project
gleam test # Run the tests
```