public inbox for ~johnnyrichard/olang-devel@lists.sr.ht
 help / color / mirror / code / Atom feed
c44df5e6b89d0d3ac795f9b856670f3a5e9d40f4 blob 1204 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
54
55
56
57
 
.\" Man page for olc
.\" Contact ~johnnyrichard/olang-devel@lists.sr.ht to report issues

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

.SH NAME

olc \- olang compiler

.SH SYNOPSIS

olc source_file

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

.SH DESCRIPTION

.B olc
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
.BI \-c
Compile or assemble the source files, but do not link.  The linking stage
simply  is  not  done.   The ultimate output is in the form of an object file
for each source 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 c44df5e ...
found c44df5e 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