summaryrefslogtreecommitdiffstats
path: root/src/readme.md
blob: a1869d7cefbaaf3ab8e31f893c2fb52568fe6d46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# esotericFORTRAN

## Setup 

Get build dependencies if using Linux or WSL

`sudo apt install default-jdk default-jre gcc`

Compile

`make`

## Example usage (command line)

`java -jar .\esotericFORTRAN.jar .\examples\iteration.ft -c --execute -pc`

Full documentation is available at `Compiler/helptext.txt` or `java -jar esotericFORTRAN.jar --help`

To run the compiler using Intellij, navigate to the 'edit configurations' tab
and place command line arguments in the CLI arguments box
The working directory is `src`, so the following is equivelent to the options 
above:

`examples/example.ft -c -pc -e`