Flux

From Esolang
Jump to navigation Jump to search

Flux has more features then its lesser twin (Indifferent) and the idea of Flux came first (then Indifferent got implemented first because its the same language as Flux with less features).... (still in development by Scudmaster11)...

History its syntax has changed ALOT... its history started out as a implementation of FALSE with stack rotation and would of call it (FALSELY) and then didn't know how to do that (didn't know how to make that interpreter).... so the syntax changed alittle bit...kept the same amount of variables and the stack now replaced with an array... (update 2 on syntax)... (update 3 on syntax) removal of variables and now everything resides within addresses... (update 4 on syntax)... (update 5 on syntax)... (update 6 on syntax "same as Indifferent and the one of today for Flux")... when i started updating the syntax alot to try and get it to work {untill the final one}... the project became a run away experiment rather then a (lets make a custom esolang) ... settled on the extractor method (alter the main code abit for the interpreter to be really simple and not overly complicated)... both Indifferent and Flux have 0 built in callback stacks in the background (so when a goto is called... it cant go back... there is also 0 built in loops so manual loops have to be made) {{both Indifferent and Flux will be made in Penguin Mod [a mod of scratch "please be kind about me being a scratcher"]}} (Flux is basically ALOT more flexible then Indifferent... they are twins)

this page is to only list how the features it has that Indifferent doesn't (so to get a foundation... please goto the Indifferent page for the understanding)

Flux with its ! actions.. it has - + along with * and / (add, subtract, multiply, and divide) in if statements (?) it has > = and ! (! is also known as =!)

along with pulling up goto locations (#) by using the number inside a address delete all of output through code and some more

(Indifferent code can run on Flux interpreter but not vise versa)

as always... here if the fib sequence (its the same as Indifferent as they are twins after all)

!1?1!1 "0"end" " "end" !1?1!2 !1?0!3 #1 ??5!3>{1 $1 " "end" !2!1!2+!2 $2 " "end" !2!1!2+!1 !2?1!3+!3 ]1 [1

(update later perhaps) (time of writing April 20th, 2024)