r/FluxProgrammingLang • u/FluxProgrammingLang • Jan 27 '26
Flux Core We’re approaching v1 very fast…
📢 Major announcement!
Flux has reached a point it is about 90% complete according to the reduced specification. It supports all operators except for the recurse arrow <~ which I will get to in the next few weeks after I tighten up the AST.
It is at the point where code for the standard library must be written to start doing the basic building blocks.
Recent changes and updates:
voidpointers now working(void)casting now working (this is not like C/C++ to tell the compiler you're discarding something, this is equivalent tofree())- Fixed string and array handling
- Restructured the standard library a little bit
- Got f-strings
f""working (compile time only for now) - Added function overloading
- Finally fixed namespaces
- Refactored
VariableDeclarationarray handling intoArrayLiteral - Modified the compiler for MacOS support, was hard-coded to use the config without switching on which compiler argument set to use.
- Added support for packing strings to integers.
- Added support for packing arrays to integers.
- Added array to array copy support.
- Added a little ARM support (ASM needs work)
- Cleaned up the preprocessor output.
- Fixed packing order for array to integer packing. Also fixed unpacking.
- Added octal
0oand duotrigesimal (base-32)0dto the Lexer.0123456789ABCDEFGHIJKLMNOPQRSTUV+ Sublime text support - Fixed up void semantics more.
void is false!void is trueas an example. - Added
TokenType.ISkeywordis - Added the ability to take the address of a literal like
@5. Allocates the literal and returns the address of it. - Added address casting
(@)to convert an integer value to an address like(@)0xFFFFFFFFFFFFFFFFbecause that's what addresses are, a number representing a location in memory. Address cast assigns to a pointer - Fixed MacOS/Darwin compilation
objectandstructworking.
4
Upvotes