public inbox for ~johnnyrichard/olang-devel@lists.sr.ht
 help / color / mirror / code / Atom feed
fed1e4ecb05385f49280be1dd18de6483205b8eb blob 1046 bytes (raw)

 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
 
.\" Man page for olang
.\" Contact ~johnnyrichard/olang-devel@lists.sr.ht to report issues

.TH man 1 "Feb 2024" "0.0" "olang man page"

.SH NAME

olang \- O programming language compiler

.SH SYNOPSIS

olang source_file

[ --dump-tokens ] [ --dump-ast ] [ [ -o output_file [ --save-temps ] [ --arch arch ]  [ --sysroot dir] ]

.SH DESCRIPTION

.B olang
is the official O programming language compiler, it is also a tool that contains
utilities to help the language development.

.SH OPTIONS

.TP
.BI \-\-dump-tokens
Display lexical tokens given a soruce.ol code.

.TP
.BR \-\-dump-ast
Display AST tree to stdout right after syntax analyzes

.TP
.BI \-o\  file
Compile program into a binary file

.TP
.BR \-\-save\-temps
Keep temp files used to compile program

.TP
.BI \-\-arch\  arch

Binary arch: default to "x86_64", avaliable options ("x86_64" | "aarch64")

.TP
.BI \-\-sysroot\  dir

System root dir where the GNU Assembler and GNU Linker are located: default to '/'


.SH AUTHOR

Olang Maintainers <~johnnyrichard/olang-devel@lists.sr.ht>
debug log:

solving fed1e4e ...
found fed1e4e in https://git.johnnyrichard.com/olang.git

Code repositories for project(s) associated with this public inbox

	https://git.johnnyrichard.com/olang.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox