Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/mystpi/transpiler
- Owner: MystPi
- Created: 2024-03-21T23:05:24.000Z (8 months ago)
- Default Branch: main
- Last Pushed: 2024-04-23T19:59:21.000Z (7 months ago)
- Last Synced: 2024-04-23T22:20:27.808Z (7 months ago)
- Topics: compiler, gleam, transpiler
- Language: Gleam
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 matchingPattern matching currently supports matching against:
- literals
- lists with optional tails
- pattern variables## Development
```sh
gleam run # Run the project
gleam test # Run the tests
```