summaryrefslogtreecommitdiff
path: root/src/chunk.rs
AgeCommit message (Collapse)Author
2023-08-12Update mutable_globals pointer type to const (luau 0.590)Alex Orlenko
2023-07-28Update Luau compiler optionsAlex Orlenko
2023-07-28Bump luau-src to v0.6.0+luau588Alex Orlenko
This release has better codegen support (and breaking changed unfortunately)
2023-07-27Fix `AsChunk` trait to support capturing wrapped Lua types ↵Alex Orlenko
(`AnyUserData::wrap()` and `Function::wrap()`). This is a breaking change, the `'lua` lifetime used to in environment moved to the trait declaration.
2023-07-10Add `Error::runtime()` helperAlex Orlenko
2023-07-09Add #[must_use] hint and const to some Luau Compiler functionsAlex Orlenko
2023-06-21Refactor `call_async()` functions to use static dispatch outside of traitsAlex Orlenko
2023-06-03Require environment to be a Table instead of Value in Chunks.Alex Orlenko
In addition to that, `AsChunk::env()` renamed to `AsChunk::environment()`.
2023-05-29Refactor application data container.Alex Orlenko
Now it's allowed at the same time mutably and immutably borrow different types. Each value in the application data container is stored in it's own `RefCell` wrapper. Also added new function `Lua::try_set_app_data()`.
2023-05-29Use futures-core and futures-tasks via futures-util.Alex Orlenko
Just to reduce number of dependencies.
2023-04-14Remove usage of crate::ffi (clippy)Alex Orlenko
2022-12-19Rename ToLua/ToLuaMulti -> IntoLua/IntoLuaMultiAlex Orlenko
2022-12-19Refactor `AsChunk` traitAlex Orlenko
2022-06-28Make clippy happyAlex Orlenko
2022-05-18Fix typoAlex Orlenko
2022-05-16Cache bytecode for internal Lua chunksAlex Orlenko
2022-04-14Refactor `AsChunk` trait.Alex Orlenko
Remove blanket implementation for T: AsRef<[u8]> Implement for `std::path::Path`
2022-04-14Remove Luau compiler options from Chunk in favour of setting Compiler instance.Alex Orlenko
Add ability to set global Luau compiler used for load all chunks including via require function.
2022-03-31Add `set_mutable_globals` to Luau compilerAlex Orlenko
2022-03-31Add vector_lib/vector_ctor options to Luau Compiler (hidden)Alex Orlenko
2022-03-25Update docsAlex Orlenko
2022-03-21Move chunks structs to a new module.Alex Orlenko
Add Luau Compiler interface to compile sources.