Skip to main content

flutter_lua_bridge_codegen 0.1.1 copy "flutter_lua_bridge_codegen: ^0.1.1" to clipboard
flutter_lua_bridge_codegen: ^0.1.1 copied to clipboard

build_runner builders that generate typed Dart/Lua bindings and Teal declarations for flutter_lua_bridge, and compile Teal to Lua.

0.1.1 #

  • Support analyzer 8.4 to 14 and build 4 or 5. The reader no longer uses the isSynthetic getters that analyzer 10 deprecates and 14 removes.

0.1.0 #

  • Initial release.
  • build_runner builders for flutter_lua_bridge contracts: bridge generates the Dart part file (clients, host registration, codecs and the embedded Lua glue), teal_types the Teal declarations (lua/types/<name>_bridge.d.tl), and teal compiles lua/src to assets/lua (Teal compiled, Lua copied).
  • Teal 0.24.8 is bundled (lib/src/teal/tl.lua) and runs on flutter_lua_bridge's own Lua runtime; no Lua toolchain is installed.
  • Safety levels O1 (validators and pcall, LuaCallResult<T>), O2 (pcall only) and O3 (direct calls, LuaBridgeException), set in build.yaml or per interface.
  • Contract interfaces may implement plain abstract interfaces, so one set of methods can be bound at several safety levels.
  • dart run flutter_lua_bridge_codegen:init scaffolds the directories, build.yaml, tlconfig.lua and lua/test/main.tl.
  • dart run flutter_lua_bridge_codegen:run runs Lua and Teal entries (main.tl, *_test.tl) without the app, with --watch.
0
likes
160
points
134
downloads

Documentation

API reference

Publisher

verified publishereplab.top

Weekly Downloads

build_runner builders that generate typed Dart/Lua bindings and Teal declarations for flutter_lua_bridge, and compile Teal to Lua.

Repository (GitHub)
View/report issues

Topics

#lua #code-generation

License

MIT (license)

Dependencies

analyzer, build, flutter_lua_bridge, flutter_lua_bridge_codegen_annotation, glob, path, source_gen

More

Packages that depend on flutter_lua_bridge_codegen