Latest release
v2.1.1
Run-time checks you can rely on
A bug-fix release. Overflow and bounds checks are no longer removed when a variable changes in a way the compiler did not follow, generic structs pair their type arguments correctly, and three compiler crashes are fixed.
- No breaking changes: a program that compiled with 2.1.0 and ran correctly behaves the same.
- Overflow and bounds checks stay in whenever a variable changes in a way the compiler does not follow. 2.1.0 could remove them, so a sum wrapped silently and an index read past its array.
- A generic struct's type arguments go to its parameters in declaration order.
Box::default().get()on a genericBoxis a clear E138, and a generic struct inside a function is the new E151.- Three compiler crashes fixed.
- v2.1.0
Fixes in diagnostics, size parameters and the arrays module
No breaking changes. The compiler now shows a checked Fix: for errors it knows how to repair, generic functions can take an array's length, and a new arrays module builds whole arrays.
Read more - v2.0.0
v2.0.0
TurfLang 2.0 is a major release, and it changes the language: most 1.x programs need small edits before they compile. Start with the migration guide. It lists every change that…
Read more - v1.0.0
v1.0.0
To reproduce the --smart benchmark results (Part A of the benchmark report: 45 of 99 cases, 0 crashes), download two files from this release:
Read more - v0.7.0
v0.7.0
8 changes listed in the changelog.
Read more - v0.6.1
v0.6.1
1 changes listed in the changelog.
Read more - v0.6.0
v0.6.0
2 changes listed in the changelog.
Read more - v0.5.1
v0.5.1
1 changes listed in the changelog.
Read more - v0.5.0
v0.5.0
6 changes listed in the changelog.
Read more - v0.4.0
v0.4.0
1 changes listed in the changelog.
Read more - v0.3.0
v0.3.0
14 changes listed in the changelog.
Read more