Class: ImgToScript::Languages::MK90Basic::Translators::Translator

Inherits:
Translator
  • Object
show all
Includes:
Mixin
Defined in:
lib/img_to_script/languages/mk90_basic/translators/translator.rb

Overview

Translates abstract tokens to the MK90 BASIC statements.

Both v.1.0 & v.2.0 share the same syntax, but there are small differences. This differences are defined in the child classes MK90Basic10 & MK90Basic20.

Direct Known Subclasses

MK90Basic10, MK90Basic20

Method Summary

Methods included from Mixin

#_abs_func, #_clear_screen, #_data_read, #_data_store, #_draw_chunk_by_hex_value, #_draw_line_by_abs_coords, #_draw_pixel_by_abs_coords, #_go_to, #_if_condition, #_loop_begin, #_loop_end, #_math_add, #_math_greater_than, #_math_mult, #_math_sub, #_parentheses, #_program_end, #_read_key_value, #_remark, #_sign_func, #_wait

Methods inherited from Translator

#translate