-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmanual
71 lines (71 loc) · 1.41 KB
/
manual
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
.\" Manpage for compiler.
.TH man 1 "02 Mar 2018" "0.3-rc1" "compiler man page"
.SH NAME
compiler \- Compiler for Shere Khan programming language
.SH SYNOPSIS
compiler [@file | OPTIONS]
.SH DESCRIPTION
compiler is a compiler for the Shere Khan programming language.
.SH OPTIONS
The compiler does not take any options. However, you can supply filename to compile
.br
.br
.B -h
help
.br
.br
.B -a
Assemble/compile program
.br
.br
.B -c
file to compile
.br
.br
.B -o
[@output directory | ./ ]
.br
.br
.B -n
output file before peephole optimizaion and after peephole optimization
.br
.br
.B -e
execute compiled program
.br
.br
.B -v
verbose, outputs statements when starting different modules of the compiler. Also outputs the result of liveness analysis, the graph created in liveness analysis, the inteference graph made in register allocation, process of assigning colors in register allocation and the spilled nodes when the compiler takes care of those
.br
.br
.B -p
[ 1 | 2 ] pretty prints the program, 1 for just pretty printing, 2 for types aswell
.br
.br
.B -m
set amount of memory the program is allowed to use.
.br
.br
.B -r
Disable runtime checks
.br
.br
.B -f
outputs to a file instead of stdout.
.br
.br
.B @file
input file to compile
.br
.br
.B @text
raw text of input to compile
.SH SEE ALSO
.SH BUGS
No known bugs.
.SH AUTHOR
Troels Blicher Petersen (trpet15)
.br
Morten Jæger (mojae15)
.br
Mark Jervelund (mjerv15)