Pararedox

From Esolang
Jump to navigation Jump to search
This article is not detailed enough and needs to be expanded. Please help us by adding some more information.

the short intro

Pararedox is an text-based esolang that is focused on Redefining and Redoing

syntax

the syntax will always be two or three letter commands (case sensitive) either with arguments or variants (variant ids also have a maximum of 3 letters/symbols)

Here are some examples and definitions (? Is a placeholder symbol and probably won’t be used in any future commands or syntax):

??.? Is the variant of ?? corresponding to ?.
??() command example with inputs
?? command example

instead of using stacks or variables, it uses 3 arrays (alpha (α), beta (β) and gamma (γ))

this also supports succession, the opposite of succession and loops, make the hyperoperations yourself.

the symbol ! is this language’s equivalent of javascript’s ;

Yes, basic normal comparison is present within this esolang.

commands

  • Suc(n:numb) | inp, out | output: n+1
    • Suc.O(n:numb) | inp, out | output: n-1
  • LP(until:bool, do:PARRD script) | inp, do | basic until loop
  • Fnc(name:string (min: 3L, max: 4L), argument1:string(max:3L), argument2:string(max:3L), do:PARRD script) | inp, do | basic function definer
  • Var(name:string(maximum: 3L), Val:any) | inp | defines/redefines a variable
  • Red(letter1:string(1L), letter2:string(2L)) | inp | rewrites the command above, replacing the first letter1 with letter2, if the command above is another Red, then look above
    • Red.Var(VariantId:String(1L)) | inp | rewrites the command above, setting the variant to VariantId, if the variant already is VariantId, then remove the variant, if the command above is another Red, then look above
    • Red.o | none | redos the whole script
  • Skp(if:Bool) | input | skips the command below if the bool is true
  • Out(output:any) | inp | is an output for a function, if isn’t in a function, print.