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

Add a way to disable automatically added std declarations #658

Closed
voltangle opened this issue May 14, 2023 · 1 comment
Closed

Add a way to disable automatically added std declarations #658

voltangle opened this issue May 14, 2023 · 1 comment
Labels
feature request New feature or request

Comments

@voltangle
Copy link

voltangle commented May 14, 2023

Some systems that embed Lua and can't use a lot of std functionality just drop the thing entirely and make their own thing. One example is the EdgeTX firmware, where Lua only has access to some of the built in libraries, like table and string, while a lot of other functionality was removed for compatibility reasons, and any needed functionality is redefined as their own API. Oh, and some standard libraries even have their API altered. Again, compatibility reasons.

I think it will be good to add an option to disable those declarations, so that it can be made as a custom type declaration file.

@hishamhm
Copy link
Member

This is a duplicate of #532, and something I've started looking at!

@hishamhm hishamhm added the feature request New feature or request label May 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants