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

Lua inclusion #18

Open
4 tasks
Tricky1975 opened this issue Jan 7, 2023 · 0 comments
Open
4 tasks

Lua inclusion #18

Tricky1975 opened this issue Jan 7, 2023 · 0 comments
Labels

Comments

@Tricky1975
Copy link
Member

Scyndi cannot yet handle pure Lua files, and that is because Lua does not require declarations. When using main scripts maybe not that important, but when it comes to modules Scyndi can import this definitely will be. Now I only need a quick analyzer tool to make things possible.

  • Kind of Chop (this does not have to be as sophisticated as in Scyndi, but it does need to be present.
  • Keyword recognizer (anything recognized as Lua keyword should be ignored)
  • Ask the user if an identifier should be listed as a global for Scyndi
  • Make a false function around the original file that will pick up the 'return' value properly and register that into the Scyndi register
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant