README.md 1.3 KB
Newer Older
6gales's avatar
6gales committed
1
2
3
4
# LuNA

## Description

6gales's avatar
6gales committed
5
The lo3 project is dedicated to the LuNA language compiler and run-time system with the goal of removing everything that can be computed statically from a dynamic context.
6gales's avatar
6gales committed
6

6gales's avatar
6gales committed
7
8
9
10
11
## Installation

### Windows

A possible workaround for Windows 10 is to install WSL (Windows Subsystem for Linux).
6gales's avatar
6gales committed
12
13
14

### Ubuntu

6gales's avatar
6gales committed
15
1. Clone this repository.
6gales's avatar
6gales committed
16

6gales's avatar
6gales committed
17
2. You will need following dependencies to build luna (it is recommended to run `sudo apt-get update` before installation):
6gales's avatar
6gales committed
18
   1. g++ (`sudo apt-get install g++`)
6gales's avatar
6gales committed
19
   2. mpicxx and openmpi (`sudo apt-get install openmpi-bin openmpi-common libopenmpi-dev libopenmpi2`)
6gales's avatar
6gales committed
20
21
22
23
   3. pythond2.7 (`sudo apt install python2.7 python-pip`)
   4. bison (`sudo apt-get install bison`)
   5. flex (`sudo apt-get install flex`)

6gales's avatar
6gales committed
24
3. Run `make` from project directory to compile luna and parser.
6gales's avatar
6gales committed
25

6gales's avatar
6gales committed
26
4. Set `LUNA_HOME` to project path (to `lo3`) and add `$LUNA_HOME/bin` to `PATH` environment variable.
6gales's avatar
6gales committed
27

6gales's avatar
6gales committed
28
5. Run HelloWorld (from project directory): `luna examples/tests_luna/basic1/test.fa`
6gales's avatar
6gales committed
29

6gales's avatar
6gales committed
30
#### Make options
6gales's avatar
6gales committed
31

6gales's avatar
6gales committed
32
33
34
1. `make test` run all tests
2. `make fftest` run tests until the first failed
3. `make clean` - cleanup build files (carefully, it will also remove bins)
6gales's avatar
6gales committed
35

6gales's avatar
6gales committed
36
## Documentation
6gales's avatar
6gales committed
37

6gales's avatar
6gales committed
38
[LuNA language.](https://gitlab.ssd.sscc.ru/luna/luna/wikis/luna_lang_v01)