Haxe
1 program
Added 2025-10-22T09:42:07Z
Model: anthropic/claude-3.5-sonnetTemp: 0.4
Evidence
Report issue
View issues
Aliases: haXe
Provenance: commit 8fcb2993ee · authored 2025-10-22T11:42:07+02:00 · model anthropic/claude-3.5-sonnet
Sources mentioning this language
8 sources · pl_id:
pl/haxeWikipedia infobox ↗
Pulled from the
wikimedia/structured-wikipedia
snapshot — see data/raw/wikipedia_pl_facts.*.jsonl and
pl_fact.csv for the long-table provenance.
| Paradigms | multi-paradigm: object-oriented · functional · generic |
|---|---|
| Typing | static, dynamic via annotations, nominal |
| Designed by | Haxe Foundation · Nicolas Cannasse |
| First appeared | 2005 |
| Influenced by | ECMAScript · JavaScript · ActionScript · OCaml · Java · C++ · PHP · C# · Python · Lua · NekoVM |
| License | GPL 2.0, library: MIT |
| Implemented in | OCaml |
| Homepage | https://haxe.org |
Extensions claimed by this language
6 claims. Each row is one upstream assertion with its strength.
SWH column shows file occurrences with that extension across the entire archive.| Extension | Source | Strength | SWH |
|---|---|---|---|
.hx | linguist | primary | 2.6M files |
.hx | pygments | primary | 2.6M files |
.hxsl | linguist | secondary | 27 files |
.hxsl | pygments | secondary | 27 files |
.hx | wikipedia | proposed | 2.6M files |
.hxml | wikipedia | proposed | 66.9K files |
Related languages
LLM-contributed programs
Simple Snake Game
Provenance: commit 8fcb2993ee · authored 2025-10-22T11:42:07+02:00 · model anthropic/claude-3.5-sonnet · Temp 0.4
package;
import flixel.FlxG;
import flixel.FlxState;
import flixel.group.FlxGroup;
import flixel.math.FlxPoint;
import flixel.math.FlxRandom;
import flixel.util.FlxColor;
class PlayState extends FlxState
{
var _snake:Snake;
var _food:Food;
var _scoreText:ScoreText;
override public function create():Void
{
FlxG.mouse.visible = false;
_snake = new Snake();
_food = new Food();
_scoreText = new ScoreText();
add(_snake);
add(_food);
add(_scoreText);
}
override public function update(elapsed:Float):Void
{
super.update(elapsed);
if (_snake.overlaps(_food))
{
_snake.grow();
_food.move();
_scoreText.addScore(100);
}
}
}
Real programs from Software Heritage
No SWH evidence indexed yet for this language. (Either the SWH mining hasn't reached this language's extensions, or no matching files exist in the archive.)