Skip to content

Add Lex: declarative multi-target transpiler#1777

Open
David-Imperium wants to merge 1 commit intofffaraz:masterfrom
David-Imperium:add-lex-transpiler
Open

Add Lex: declarative multi-target transpiler#1777
David-Imperium wants to merge 1 commit intofffaraz:masterfrom
David-Imperium:add-lex-transpiler

Conversation

@David-Imperium
Copy link

Lex - Declarative Multi-Target Transpiler

Lex is a C++ compiler that transforms declarative definitions into code for multiple targets:

What it does:

  • Transpiles .lex definition files to multiple output formats
  • Targets: Lua, GDScript (Godot), C# (Unity), JSON, and custom backends
  • Designed for game modding, but extensible to any code generation use case

Why it's useful:

  • Write once, generate for multiple engines/languages
  • Declarative syntax, no runtime dependency
  • Extensible backend system for custom targets

Links:

Category: Scripting (similar to djinni, SWIG, CppSharp)


Added to the Scripting section as it generates bindings/code for scripting languages used in game development.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant