Skip to content

Releases: Pivot-Studio/pivot-lang

v0.1.472

23 Oct 01:44
Compare
Choose a tag to compare
chore: some code cleanup && add test case for async/await usage

v0.1.471

12 Oct 09:12
Compare
Choose a tag to compare
feat: better fn fault tolerate

v0.1.470

09 Oct 10:48
Compare
Choose a tag to compare
try fix: orc jit exit error

v0.1.469

19 Sep 08:51
Compare
Choose a tag to compare
docs: update site url

v0.1.468

28 Aug 04:00
Compare
Choose a tag to compare
fix: make ci happy

v0.1.467

06 Aug 10:35
Compare
Choose a tag to compare
fix: wrong hint location

Also polished Future crate

v0.1.466

06 Aug 09:31
Compare
Choose a tag to compare
feat: add kmp version `index_of`

v0.1.465

05 Aug 03:07
Compare
Choose a tag to compare
fix: Fix generator variable allocation bug

The code changes in `src/ast/node/control.rs` fix a bug related to variable allocation in generator functions. Previously, when a variable was used in a generator, it needed to be stored in the context. However, there was an issue where the variable was not properly allocated in the context, leading to incorrect behavior.

This commit addresses the bug by correctly allocating the variable in the context when inside a generator. It also adds a check to ensure that the allocation is only performed when necessary.

I also added some code in iter test, to digging deeper into possibility of implement effect system based on generator.

v0.1.464

02 Aug 01:52
Compare
Choose a tag to compare
fix: debug build

v0.1.463

01 Aug 11:07
Compare
Choose a tag to compare
fix: use global variable in generator fn

Previously, using global variables in generator would generate
wrong ir code to load it twice.

This commit also add a new cli flag `nocheck` to skip check stage.

A small change in iter test was made to investigate the possibility of
implementing effect system based on our generator.