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

Feature parity #112

Open
natecraddock opened this issue Oct 18, 2024 · 1 comment
Open

Feature parity #112

natecraddock opened this issue Oct 18, 2024 · 1 comment

Comments

@natecraddock
Copy link
Owner

natecraddock commented Oct 18, 2024

How much should we cover up the differences between Lua versions?

lua_len isn't available in Lua 5.1. Should Lua.len() support this by calling rawLen or objlen?

@robbielyman
Copy link
Collaborator

ah, I stepped in this too with lua_equal in #118. I think there's a valid case to be made either way... I think maybe it's correct to push the complexity introduced by inconsistencies between versions onto users—if they want to support compiling against different Lua versions, they should be aware that they're opening themselves up to real differences in behavior?

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

2 participants