Open Sidebar
Close Sidebar
CrystalDoc.info
Source code
Shards.info
z
dev
Top Level Namespace
ELF
Endianness
Error
Ident
Klass
Machine
OSABI
SectionHeader
Flags
Type
Type
Z
Ast
Asm
AsmIdent
AsmImm
AsmInstructionList
AsmLabel
Assignment
BinOp
Block
Clause
Cond
Dot
Expr
Fn
FnArg
FnCall
FnParam
Ident
Lvar
Neg
Node
Error
Nop
NumberLiteral
Printer
Program
Return
Stmt
Types
Visitor
While
CodeGen
Compiler
Error
Lex
Lexer
Error
T
Token
Type
Parser
Error
T
Built with Crystal 1.9.2
2023-10-07 16:59:42 UTC
class
Z::Compiler
Z::Compiler
Reference
Object
Overview
= Compiler
The compiler outputs assembly code from the AST.
Defined in:
codegen/compiler.cr
Constructors
.new
(code : String)
Instance Method Summary
#compile
Constructor Detail
def self.
new
(code : String)
#
[
View source
]
Instance Method Detail
def
compile
#
[
View source
]