All notable changes to this project will be documented in this file.
Refactor the implementation of StrImpl
.
- Refactor
StrImpl
withBox<str>
instead of flexiable array. - Refactor
UserDataImpl
with intermidiate pointer instead of flexiable array.
- Extract some logic into function in
ManagedHeap
. - rewrite
full_gc
method to fix unexpected collect for newborned object.
Refactor the implementation of CodeGen
.
- Refactor
CodeGen
to support some optimization inluac
. - Add more source location infomation to AST to generate correct line number during code generation.
Add GC support, which implemented as a stop-the-world full collector.
- A usable GC.
- Stablize
State::script_file(file)
.
First runnable version with a few testing.
- An usable parser which has passed all tests.
- Stablize
State::script(src)
.