Repository navigation
Flux version 1.0.1
Newly added features:
- Partial ownership implementation with
~-> incomplete but will be resolved soon - Object traits with
trait main()with arguments- Locality with
localto restrict a unit from leaving scope - Templates for functions with
<T> - Custom infix operators (Allowing things like
a === bora <|> b) - Syntactic sugar for single-parameter object
__initmethods. - Standard library expansion, including memory allocators, Windows and OpenGL FFI, 2D+3D graphing library + many 3D examples
- Comma separated function prototype definitions
- Only types required in prototype signature parameters
- Data restructuring with
from - Array comprehension
- Improved error output by adding
__repr__functions to AST nodes endianof()and automatic endianness conversion on assignment
Fixes:
- Nested functions now disallowed according to spec
- Many regressions, too many to list
- Multi-variable declaration not zero initializing undefined items
- Object, struct, and enum forward declaration
- Total refactor of AST yielding the type system
Hoping everyone enjoys the latest release! Be sure to join the Discord and share your code or compiler bugs to help improve Flux!
Official Discord