-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathicarus.1
171 lines (131 loc) · 1.96 KB
/
icarus.1
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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
.TH icarus 1 icarus
.SH NAME
Icarus - Programming language (and implementation) designed as an experiment to explore mutation and aliasing control
.SH SYNOPSIS
.B icarus
[\fI\,COMMAND\/\fR]
[\fI\,OPTIONS\/\fR]
.SH COPYRIGHT AND LICENSE
.B Icarus
is Copyright (C) 2015-2016 Chris Hall
.br
.B Icarus
is released under the terms of the MIT license
.SH COMMAND
.IR lex
.br
.RS
lex input file and output tokens
.RE
.P
.IR parse
.br
.RS
parse input file and output parser view
.RE
.P
.IR check
.br
.RS
perform static analysis on input file
.RE
.P
.IR transform
.br
.RS
transform input file
.RE
.P
.IR 2c
.br
.RS
run 2c - compiles icarus code to C
.RE
.P
.IR pancake
.br
.RS
run pancake - the icarus interpreter
.RE
.P
.IR <default>
.br
.RS
defaults to `pancake` if a command is omitted
.RE
.P
.SH OPTIONS
.IR --debug
.br
.RS
enable icarus internal debug output
.RE
.P
.IR --help, -h
.br
.RS
print this help message
.RE
.P
.IR --input,
-i
.I file
.br
.RS
input filename
.RE
.P
.IR --output,
-o
.I file
.br
.RS
output filename
.RE
.P
.IR --bytecode,
.I file
.br
.RS
provide input file containing pancake bytecode - only valid with pancake backend
.RE
.P
.IR --version
.br
.RS
print version of icarus
.RE
.P
.IR <default>
.br
.RS
an argument will default to being an `input` file if the preceding option is omitted
.RE
.P
.SH EXAMPLES
.TP
icarus foo.ic
run file `foo.ic` through `pancake`
.TP
icarus check --input foo.ic
perform static analysis on file `foo.ic`
.TP
icarus 2c -i foo.ic -o foo.c
compile `foo.ic` to c and output that in new file `foo.c`
.TP
icarus pancake foo.ic --debug
run `foo.ic` through pancake with debug output
.TP
icarus -h
print this help page
.SH AUTHORS
Chris Hall
<followingthepath at gmail d0t com>
.SH BUGS
All bug reports for
.B Icarus
should either be reported on github at https://github.com/mkfifo/icarus or emailed to the author(s)
.SH SOURCE
The source code for
.B Icarus
can be found on github at https://github.com/mkfifo/icarus