ksm2 / metroc

Compiler for the Metro language

Home Page:https://metrolang.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Metro Language

Haskell CI

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.

About

Compiler for the Metro language

https://metrolang.org

License:MIT License


Languages

Language:C 55.2%Language:Haskell 33.1%Language:Yacc 7.5%Language:Lex 3.7%Language:Shell 0.2%Language:Makefile 0.2%Language:WebAssembly 0.1%