-
-
Notifications
You must be signed in to change notification settings - Fork 3
Installation
Andrew Johnson edited this page Dec 1, 2024
·
6 revisions
LSTS is packaged by default with the LM compiler.
git clone https://github.com/andrew-johnson-4/lambda-mountain.git
cd lambda-mountain
make install
This will install an lm
command and some platform libraries.
To test that our compiler installation works, create a hello.lsts
file.
import LIB/default.lm;
print("hello world\n");
Now you can compile it with the lm
command. Running it also requires a C compiler.
lm hello.lsts
cc tmp.c
./a.out
The program should print hello world
.
The LSTS source code and documentation are released under the terms of the attached permissive MIT license. This license is intended only to protect the future development of the project while otherwise allowing people to use the code and IP as they would like. Please, just be nice.