12.12.1 HashLink 시작하기(Getting started with HashLink)

HashLink는 Haxe를 위한 네이티브 가상 머신입니다. HL 바이트코드를 생성하려면:

class Main {
  static function main() {
    trace("Hello World!");
  }
}

컴파일:

haxe --main Main --hl main.hl

.hl 파일을 실행하려면 hashlink 실행기가 필요합니다:

hashlink main.hl

--hl로 생성된 코드는 HashLink VM에서 실행됩니다.

출처: Getting started with HashLink

더 알아보기