lune icon indicating copy to clipboard operation
lune copied to clipboard

Allow for fetching "context" declarations

Open CompeyDev opened this issue 2 years ago • 3 comments

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.

CompeyDev avatar Aug 23 '23 15:08 CompeyDev

@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.

CompeyDev avatar Apr 11 '24 08:04 CompeyDev

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

filiptibell avatar Apr 11 '24 11:04 filiptibell

Perfect, in that case I can PR this in to close #175 and later create another PR for implementing this.

CompeyDev avatar Apr 11 '24 11:04 CompeyDev