chunk
function_call
identifier "CheckVersion"
arguments
( "("
string
" "\""
string_content "0.5"
" "\""
) ")"
function_call
identifier "Import"
arguments
( "("
string
" "\""
string_content "configure.lua"
" "\""
) ")"
function_call
identifier "Import"
arguments
( "("
string
" "\""
string_content "other/sdl/sdl.lua"
" "\""
) ")"
function_call
identifier "Import"
arguments
( "("
string
" "\""
string_content "other/freetype/freetype.lua"
" "\""
) ")"
comment
-- "--"
comment_content "- Setup Config -------"
assignment_statement
variable_list
identifier "config"
= "="
expression_list
function_call
identifier "NewConfig"
arguments
( "("
) ")"
function_call
method_index_expression
identifier "config"
: ":"
identifier "Add"
arguments
( "("
function_call
identifier "OptCCompiler"
arguments
( "("
string
" "\""
string_content "compiler"
" "\""
) ")"
) ")"
function_call (+27 nodes collapsed)
function_call (+27 nodes collapsed)
function_call (+27 nodes collapsed)
function_call (+24 nodes collapsed)
function_call (+22 nodes collapsed)
function_call (+22 nodes collapsed)
function_call
method_index_expression
identifier "config"
: ":"
identifier "Finalize"
arguments
( "("
string
" "\""
string_content "config.lua"
" "\""
) ")"
assignment_statement
variable_list
identifier "generated_src_dir"
= "="
expression_list
string
" "\""
string_content "build/src"
" "\""
assignment_statement
variable_list
identifier "generated_icon_dir"
= "="
expression_list
string
" "\""
string_content "build/icons"
" "\""
assignment_statement
variable_list
identifier "builddir"
= "="
expression_list
string
" "\""
string_content "build/%(arch)s/%(conf)s"
" "\""
assignment_statement
variable_list
identifier "content_src_dir"
= "="
expression_list
string
" "\""
string_content "datasrc/"
" "\""
assignment_statement
variable_list
identifier "python_in_path"
= "="
expression_list
binary_expression
function_call
identifier "ExecuteSilent"
arguments
( "("
string
" "\""
string_content "python -V"
" "\""
) ")"
== "=="
number "0"
comment
-- "--"
comment_content " data compiler"
function_declaration (+68 nodes collapsed)
function_declaration (+181 nodes collapsed)
function_declaration (+194 nodes collapsed)
function_declaration (+113 nodes collapsed)
function_declaration (+305 nodes collapsed)
function_declaration (+620 nodes collapsed)
function_declaration (+322 nodes collapsed)
function_declaration (+63 nodes collapsed)
function_declaration (+619 nodes collapsed)
function_declaration (+124 nodes collapsed)
function_declaration (+83 nodes collapsed)
function_declaration (+83 nodes collapsed)
assignment_statement
variable_list
identifier "shared_icons"
= "="
expression_list
table_constructor
{ "{"
} "}"
function_declaration (+104 nodes collapsed)
function_declaration (+51 nodes collapsed)
function_declaration (+44 nodes collapsed)
function_declaration (+45 nodes collapsed)
function_declaration (+174 nodes collapsed)
function_declaration (+110 nodes collapsed)
function_declaration (+172 nodes collapsed)
function_declaration (+67 nodes collapsed)
function_declaration (+67 nodes collapsed)
function_declaration (+447 nodes collapsed)
comment
-- "--"
comment_content " create all targets for specified configuration & architectu"...
function_declaration (+554 nodes collapsed)
comment
-- "--"
comment_content " String formatting with named parameters, by RiciLake http:/"...
function_declaration (+90 nodes collapsed)
function_declaration (+91 nodes collapsed)
function_declaration (+57 nodes collapsed)
comment
-- "--"
comment_content " Supported archtitectures: x86, amd64, ppc, ppc64"
if_statement
if "if"
bracket_index_expression
identifier "ScriptArgs"
[ "["
string
' "'"
string_content "arch"
' "'"
] "]"
then "then"
block
assignment_statement
variable_list
identifier "archs"
= "="
expression_list
function_call
identifier "split"
arguments
( "("
bracket_index_expression
identifier "ScriptArgs"
[ "["
string
' "'"
string_content "arch"
' "'"
] "]"
) ")"
else_statement
else "else"
block
if_statement
if "if"
binary_expression
identifier "arch"
== "=="
string
" "\""
string_content "ia32"
" "\""
then "then"
block
assignment_statement
variable_list
identifier "archs"
= "="
expression_list
table_constructor
{ "{"
field
string
" "\""
string_content "x86"
" "\""
} "}"
elseif_statement
elseif "elseif"
binary_expression
binary_expression
identifier "arch"
== "=="
string
" "\""
string_content "ia64"
" "\""
or "or"
binary_expression
identifier "arch"
== "=="
string
" "\""
string_content "amd64"
" "\""
then "then"
block
assignment_statement
variable_list
identifier "archs"
= "="
expression_list
table_constructor
{ "{"
field
string
" "\""
string_content "x86_64"
" "\""
} "}"
else_statement
else "else"
block
assignment_statement
variable_list
identifier "archs"
= "="
expression_list
table_constructor
{ "{"
field
identifier "arch"
} "}"
end "end"
end "end"
if_statement (+47 nodes collapsed)
if_statement (+35 nodes collapsed)
if_statement (+26 nodes collapsed)
if_statement (+35 nodes collapsed)
assignment_statement (+55 nodes collapsed)
assignment_statement
variable_list
identifier "subtargets"
= "="
expression_list
table_constructor
{ "{"
} "}"
for_statement (+30 nodes collapsed)
for_statement (+145 nodes collapsed)
for_statement (+33 nodes collapsed)
function_call (+24 nodes collapsed)
function_call
identifier "DefaultTarget"
arguments
( "("
string
" "\""
string_content "game"
" "\""
) ")"