Skip to content

sina-salahshour/mahlang

Repository files navigation

The Mah Language

A beautiful language

how to run it?

# first generate language by running python ./generate_parser.py <input_file>

python ./generate_parser.py ./mah.lang

# import parser, lexer, and ir_generator from compiler module and implement
# required actions

# then get the result how ever you want

python ./mah.py ./examples/input.mh

# or you can see the generated code with
python ./mah.py build ./examples/input.mh

About

A beautiful language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published