lune
lune copied to clipboard
Allow for fetching "context" declarations
Now that lune has a proper TaskScheduler, the only thing preventing me from including REPL features such as declaration preview is the inability to get declarations (functions, variables, etc.) from the Luau stack.
Once implemented, do let me know.
@filiptibell Any updates on this? The REPL is a bit too minimal ATM, it would be nice to have this so that I can PR an update to it which allows for evaluation previews.
Any updates on this?
Everything to make this work exists now with the new scheduler, but we need to start returning some more structured data from Runtime::run instead of just ExitCode.
It's a breaking change for anyone using the library so it will have to be bundled into lune 0.9.0 with other breaking changes
Perfect, in that case I can PR this in to close #175 and later create another PR for implementing this.