r/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:

  • void pointers now working
  • (void) casting now working (this is not like C/C++ to tell the compiler you're discarding something, this is equivalent to free())
  • 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 VariableDeclaration array handling into ArrayLiteral
  • 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 0o and duotrigesimal (base-32) 0d to the Lexer. 0123456789ABCDEFGHIJKLMNOPQRSTUV + Sublime text support
  • Fixed up void semantics more. void is false !void is true as an example.
  • Added TokenType.IS keyword is
  • 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 (@)0xFFFFFFFFFFFFFFFF because that's what addresses are, a number representing a location in memory. Address cast assigns to a pointer
  • Fixed MacOS/Darwin compilation
  • object and struct working.
4 Upvotes

0 comments sorted by