public inbox for ~johnnyrichard/olang-devel@lists.sr.ht
 help / color / mirror / code / Atom feed
5b35f056f6646f0a5561878ba395bedfbcdf9581 blob 1017 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
 
.\" 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
.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 5b35f05 ...
found 5b35f05 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