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
| | % OLANG(1)
% olang mantainers
% Feb 2024
# NAME
olang - O Programming Language compiler
# SYNOPSIS
**olang**
source_file
[**----dump-tokens**]
[**----dump-ast**]
[**--o** ___output_file___ [**----save-temps**] [**----arch** ___arch___] [**----sysroot** ___dir___]]
# DESCRIPTION
**olang** is the offical O programming language compiler, it is also a tool that
contains utilities to help the language development.
# GENERAL OPTIONS
**----dump-tokens**
: Display lexical tokens given a soruce.0 code.
**----dump-ast**
: Display AST tree to stdout right after syntax analyzes
**--o** ___file___
: Compile program into a binary file
**----save-temps**
: Keep temp files used to compile program
**----arch** ___architecture___
: Binary arch: default to "x86_64", avaliable options ("x86_64" | "aarch64")
**----sysroot** ___dir___
: System root dir where the GNU Assembler and GNU Linker are located: default to '/'
|