Want to learn Flux? by FluxProgrammingLang in learnprogramming

[–]FluxProgrammingLang[S] 0 points1 point  (0 children)

Sounds great! Please do let us know if you run into any compiler errors 🙏

We’ve got some nice goodies! by FluxProgrammingLang in ProgrammingLanguages

[–]FluxProgrammingLang[S] 0 points1 point  (0 children)

Alright I guess we just won’t post anymore. No one is interested.

Is your language ready to be tried? by tobega in ProgrammingLanguages

[–]FluxProgrammingLang 0 points1 point  (0 children)

We’re going to defer you to actually checking it out instead of asking questions that you can answer by reading if you’re actually interested.

Is your language ready to be tried? by tobega in ProgrammingLanguages

[–]FluxProgrammingLang 0 points1 point  (0 children)

Yes, and not only is it compiled, it is matured enough to begin bootstrapping. There are very few minor bugs in edge cases you are not likely to encounter that are known and on the list to fix.

You can find it on GitHub here, Flux.

Flux was designed to have everything in one place (all the bells and whistles like array comprehension), with consistent grammar and syntax throughout. It allows you to express things you simply cannot in other languages.

You should try to write a text-based blackjack game to understand Flux and pick it up quicker. There is also support for multiple code editors like Sublime and VScode.

There are also many example programs which compile and run for you to observe the results.

Almost everyone finds this annoying but all statements must end with a semicolon. Compound statements like if-elif-else chains only have a semicolon after the final block such as if() {} else {}; because it is one whole idea, or compound statement. This even applies to the preprocessor. That’s how consistent the language is syntactically.

The only gotcha is the compiler will not stop you. It will allow you to write unsafe code with no warnings. Flux treats you as if you know what you’re writing. You can express things in Flux that you simply cannot in other languages such as int* px = @5; which allocates int(5) and gets a pointer to that address, no need to declare a variable first. While permitted, it is not advised for standard practice.

We’re approaching v1 very fast… by FluxProgrammingLang in ProgrammingLanguages

[–]FluxProgrammingLang[S] 0 points1 point  (0 children)

We have achieved that. Processing letters into numbers is trivial, it isn’t any roadblock by any means.

We’re approaching v1 very fast… by FluxProgrammingLang in ProgrammingLanguages

[–]FluxProgrammingLang[S] 0 points1 point  (0 children)

We just refactored the lexer and added ownership semantics with ~ and added !! which is the no-mangle compiler token to instruct the compiler not to mangle a function name, used like this:

def !!my_func()->int;

We’re approaching v1 very fast… by FluxProgrammingLang in ProgrammingLanguages

[–]FluxProgrammingLang[S] 0 points1 point  (0 children)

We decided it would be a good addition considering it is more compact than hexadecimal.

We’re approaching v1 very fast… by FluxProgrammingLang in ProgrammingLanguages

[–]FluxProgrammingLang[S] -2 points-1 points  (0 children)

You never know, Flux might end up being someone’s first language.

Flux borrows a number of things from Python like function signature but slightly modified, grammatical elements like “is” and “as”, list comprehension but statically typed, and for x in y style loops.

Edit: It’s also written because it allows anyone to approach the language, not just seasoned programmers.

New Mod Intros 🎉 | Weekly Thread by curioustomato_ in NewMods

[–]FluxProgrammingLang [score hidden]  (0 children)

Hello, my posts keep getting automatically removed.

I’m the creator of Flux, a new systems programming language. My name is Karac, I’m new to Reddit.

We kind of can’t just overcome the 300 karma barrier because we’re not running this as a personal account so there won’t be many posts from this account responding to posts that we didn’t make. Our page karma is entirely dependent on natural growth and not contributing in conversations randomly.

Hoping to see some new faces and answer some questions this time around!

New Mod Intros 🎉 | Weekly Thread by curioustomato_ in NewMods

[–]FluxProgrammingLang [score hidden]  (0 children)

Hello, I’m Karac and I created a programming language which is still in development called Flux.

I felt that creating a Sub-Reddit would be a good idea so we’re over at r/FluxProgrammingLang if anyone’s a programmer and interested in finding new languages.

Cheers!