Skip to content

Haxe hxml tree-sitter grammar

tong/tree-sitter-hxml

Repository files navigation

tree-sitter-hxml

A tree-sitter grammar for haxe hxml files.

Haxe grammar: https://github.com/tong/tree-sitter-haxe/

Grammar Support

  • All compilation targets (--js, --cpp, --hl, ...)
  • Library dependencies with versions (--library lib:1.2.3)
  • Defines with values (-D key=value)
  • Resource embedding (--resource file@name)
  • Macro execution (--macro expr)
  • Server configurations (--connect, --server-listen)
  • Custom targets

Examples

See the examples/ directory for comprehensive hxml configurations covering various use cases.

Development

# Generate parser
npm install
npx tree-sitter generate

# Run tests
npx tree-sitter test

# Test examples
./scripts/test-examples.sh

test

About

Haxe hxml tree-sitter grammar

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published