class Hollicode::Compiler
- Hollicode::Compiler
- Reference
- Object
Defined in:
core/compiler.crConstant Summary
-
MULTILINE_TEXT_SEPARATOR =
" "
Constructors
Instance Method Summary
- #compilation_path : String
- #compilation_path=(compilation_path : String)
-
#compile(source_string : String)
Returns
true
if compilation happened without errors orfalse
otherwise. -
#get_json
Returns generated bytecode in JSON format.
-
#get_lua
Returns generated bytecode in Lua format.
-
#get_plain_text
Returns generated bytecode in plain text format.
Constructor Detail
Instance Method Detail
def compile(source_string : String)
#
Returns true
if compilation happened without errors or false
otherwise.
def get_plain_text
#
Returns generated bytecode in plain text format.
See BYTECODE.md for explanation of various export formats.