Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move version polyfills to TSTL #4

Open
lolleko opened this issue Aug 24, 2022 · 0 comments
Open

Move version polyfills to TSTL #4

lolleko opened this issue Aug 24, 2022 · 0 comments

Comments

@lolleko
Copy link
Member

lolleko commented Aug 24, 2022

Currently, forwards & backwards compatibility for deprecated and newer functions for all 5.X Lua versions are build directly into the bindings via https://github.com/TypeScriptToLua/lua-wasm-bindings/blob/master/src/binding-factory.ts

However, this has gotten rather messy as more and more functions have been exported.

Ideally, we will want to move this code to the TSTL test framework or a small independent adapter.

The bindings should be generated on a per-version basis, automatically from lua docs/dumps.

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

No branches or pull requests

1 participant