AST

From APIDesign

(Difference between revisions)
Jump to: navigation, search
(New page: AST stands for Abstract Syntax Tree and is used in compilers (like JavaC) to represent structure of the program before final (in this case [[...)
Current revision (15:59, 24 June 2015) (edit) (undo)
 
Line 1: Line 1:
-
[[wikipedia:Abstract_syntax_tree|AST]] stands for [[AST|Abstract Syntax Tree]] and is used in compilers (like [[JavaC]]) to represent structure of the program before final (in this case [[ByteCode]]) form is emitted.
+
[[wikipedia:Abstract_syntax_tree|AST]] stands for [[AST|Abstract Syntax Tree]] and is used in compilers (like [[JavaC]]) to represent structure of the program before final (in this case [[ByteCode]]) form is emitted. The [[AST]] can also be used directly in an interpreter - which is usually slow, unless one uses [[Truffle]] [[AST]] [[API]] - which observes your interpreter for a while and then turns the program into damn fast compiled machine code automatically!

Current revision

AST stands for Abstract Syntax Tree and is used in compilers (like JavaC) to represent structure of the program before final (in this case ByteCode) form is emitted. The AST can also be used directly in an interpreter - which is usually slow, unless one uses Truffle AST API - which observes your interpreter for a while and then turns the program into damn fast compiled machine code automatically!

Personal tools
buy