Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/profelis/halk2
Haxe live editing tool
https://github.com/profelis/halk2
Last synced: about 2 months ago
JSON representation
Haxe live editing tool
- Host: GitHub
- URL: https://github.com/profelis/halk2
- Owner: profelis
- License: mit
- Created: 2015-04-08T07:00:14.000Z (almost 10 years ago)
- Default Branch: master
- Last Pushed: 2021-04-25T14:40:45.000Z (over 3 years ago)
- Last Synced: 2024-04-28T02:19:09.259Z (9 months ago)
- Language: Haxe
- Homepage: http://www.youtube.com/watch?v=_e-xAgwuJ3U
- Size: 69.3 KB
- Stars: 20
- Watchers: 6
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# halk2
Live coding extension for Haxe programming language.
Tested targets: flash, neko, html5, cpp(desktop)
------
## Installation
- haxelib git halk https://github.com/profelis/halk2.git
- goto haxelib/halk/(version)/
- `cd haxelib && haxe build.hxml` // generate run.n## 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
```
```
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