Skip to content

Instantly share code, notes, and snippets.

@mdg
Created October 1, 2018 20:10
Show Gist options
  • Save mdg/15a82b19e289604c4ff89f75e3c945eb to your computer and use it in GitHub Desktop.
Save mdg/15a82b19e289604c4ff89f75e3c945eb to your computer and use it in GitHub Desktop.

setup

The setup for leema is still pretty manual, but is only 3 steps.

dependencies

  • C/C++ standard libraries
  • flex
  • nosetests (optional until you want to run tests)

compilation

git clone git://github.com/mdg/leema.git
cd leema
git submodule update --init lemon_rust
make
./target/debug/leema run T/hello.lma

You should have seen "hello world\n" print to your console. If that worked, you're ready to write your own program! Open a new file at T/basics.lma and let's get started!

Next - The Basics

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment