https://github.com/ksm2/metroc
Compiler for the Metro language
https://github.com/ksm2/metroc
haskell-application webassembly
Last synced: 12 months ago
JSON representation
Compiler for the Metro language
- Host: GitHub
- URL: https://github.com/ksm2/metroc
- Owner: ksm2
- License: mit
- Created: 2020-10-20T06:22:46.000Z (over 5 years ago)
- Default Branch: main
- Last Pushed: 2022-10-13T21:47:24.000Z (over 3 years ago)
- Last Synced: 2025-03-27T13:47:08.285Z (over 1 year ago)
- Topics: haskell-application, webassembly
- Language: C
- Homepage: https://metrolang.org
- Size: 16.2 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
Metro Language
==============

**Metro** is a garbage collected, compiled language for the Web and Server.
Example
-------
Run the example in `examples/print.metro` by calling:
metroc run examples/print.metro
Usage
-----
Run `metroc help` to see usage instructions:
```
Metro Compiler 0.1.0
SYNOPSIS
metroc COMMAND
metroc [-h|--help]
metroc [-v|--version]
COMPILER COMMANDS
metroc clean Remove the target directory.
metroc build Build the project to WebAssembly.
metroc run Run the project main function.
metroc test Executes all project tests.
META COMMANDS
metroc help Print this help text and exit.
metroc version Display the version number and exit.
```