Skip to content

Latest commit

 

History

18 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

mad-examples

Getting started

You just created a new madlib project, if it's your first project you should read the following.

Notes on Madlib

Madlib is a general purpose programming language that compiles to Javascript. It means that you need to have Nodejs installed and configured in order to make it work. Madlib can target nodejs or browser, by default it will compile for nodejs.

How to run it

First, you need to compile the program. For node:

madlib compile -i src/Main.mad

Then, you can run it like this:

node build/Main.mjs

As a native binary:

madlib compile --target llvm -i src/Main.mad -o ./build/helloWorld

Then, you can run it like this:

./build/helloWorld

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors