Giter VIP home page Giter VIP logo

halk2's Introduction

halk2

Live coding extension for Haxe programming language.

Tested targets: flash, neko, html5, cpp(desktop)


Installation

Usage

Default build (without halk magic)

haxelib run halk build.hxml // simple haxe project

or

haxelib run halk test flash // openfl project

Magic build (additional args: --no-inline)

  1. Build application haxelib run halk build ... -halk

  2. Run application haxelib run halk run ...

  3. Incremental build (skip all steps, only haxe build) (additional args: --no-output --no-inline) haxelib run halk build ... -halka // allow -halk + random char (halk3, halke, halki, etc)

Manual usage (not recommended for openfl/lime projects)

  • Set magic define -D halk_angry
  • Build with --no-inline flag
  • Rebuild with --no-inline --no-output flags

Recommends

Useful compiler flags -debug -dce no --connect 4444

for lime project

<haxeflag name="-debug" if="halk_angry"/>
<haxeflag name="-dce no" if="halk_angry"/>
<haxeflag name="--connect 4444"/>

More info about --connect http://haxe.org/manual/cr-completion-server.html

Known problems

  • If you see EUnknownVariable(__dollar__#####)) set --no-inline (autoset in haxelib run halk)
  • -debug required for cpp target

halk2's People

Contributors

profelis avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.