User:Majorcob
Jump to navigation
Jump to search
Hi, i'm cob and i kinda just find random languages on here and decide to mess around with them. :) They're listed here in chronological order of interest.
DerpText
This language is funny, especially since it doesn't have any traditional arithmetic or logic constructs. I made a basic interpreter to help with debugging.
I use the empty variable a lot for temporary storage. For example, ==text=~~
appends literal text to the command string, which can only be modified using variables.
Truth-machine
=0=&0&==1=&1&!1!=^!^&!&@@!!
FizzBuzz
==equals sign/ampersand constants= === @@ &=& @=@ =AMP=&= ==digit increment lookup= =0=1= =1=2= =2=3= =3=4= =4=5= =5=6= =6=7= =7=8= =8=9= =9=0= ==digit callbacks= =c0== =c1=!loop!= =c2=!loop!= =c3=!loop!= =c4=!loop!= =c5=!loop!= =c6=!loop!= =c7=!loop!= =c8=!loop!= =c9=!loop!= ==exit sequence= === @@ &=== @@ !print! === ##& @e100@ ==fizz/buzz replacement sequences= =fizz=&Fizz &= =buzz=&Buzz &= =fizzbuzz=&FizzBuzz &= === @@ ^=== @@ &!fizz!& @n@^ @f@ === @@ ^=== @@ &!buzz!& @n@^ @b@ === @@ ^=== @@ &!fizzbuzz!& @n@^ @fb@ ==modulo lookup= =m003=!f!= =m005=!b!= =m006=!f!= =m009=!f!= =m010=!b!= =m012=!f!= =m015=!fb!= =m018=!f!= =m020=!b!= =m021=!f!= =m024=!f!= =m025=!b!= =m027=!f!= =m030=!fb!= =m033=!f!= =m035=!b!= =m036=!f!= =m039=!f!= =m040=!b!= =m042=!f!= =m045=!fb!= =m048=!f!= =m050=!b!= =m051=!f!= =m054=!f!= =m055=!b!= =m057=!f!= =m060=!fb!= =m063=!f!= =m065=!b!= =m066=!f!= =m069=!f!= =m070=!b!= =m072=!f!= =m075=!fb!= =m078=!f!= =m080=!b!= =m081=!f!= =m084=!f!= =m085=!b!= =m087=!f!= =m090=!fb!= =m093=!f!= =m095=!b!= =m096=!f!= =m099=!f!= =m100=!b!= ==current number= =d2=0= =d1=0= =d0=1= ==store rest of program as var= === @@ &!loop!& @loop@ #loop# ==get number with surrounding ampersands + newline= === @@ &==^=~~ ~AMP~ ~d2~ ~d1~ ~d0~ == =~~ ~AMP~ ==^#_#=~~& =_== @_@ #_# >1>0> >2>0> >3>0> >4>0> >5>0> >6>0> >7>0> >8>0> >9>0> =n== @n@ ==replace with fizzbuzz if appropriate= === @@ &==!m=~~ ~d2~ ~d1~ ~d0~ ==!=~~ ==#_#=~~& =_== @_@ #_# ==add to print queue= === @@ &==^=~~ ~n~ ==^^=~~ ~print~ ==^#_#=~~& =_== @_@ #_# @print@ ==check entire number for exit condition= === @@ &==!e=~~ ~d2~ ~d1~ ~d0~ ==!=~~ ==#_#=~~& =_== @_@ #_# ==increment d0= === @@ &==^=~~ ~d0~ ==^#_#=~~& =_== @_@ #_# ^~=~ ==d0=~~ ~=~ ~^ &~ ~=~ ==#_#=~~& =_== @_@ #_# ==check d0 to inc d1= === @@ &==!c=~~ ~d0~ ==!=~~ ==#_#=~~& =_== @_@ #_# ==increment d1= === @@ &==^=~~ ~d1~ ==^#_#=~~& =_== @_@ #_# ^~=~ ==d1=~~ ~=~ ~^ &~ ~=~ ==#_#=~~& =_== @_@ #_# ==check d1 to inc d2= === @@ &==!c=~~ ~d1~ ==!=~~ ==#_#=~~& =_== @_@ #_# ==increment d2= === @@ &==^=~~ ~d2~ ==^#_#=~~& =_== @_@ #_# ^~=~ ==d2=~~ ~=~ ~^ &~ ~=~ ==#_#=~~& =_== @_@ #_# !loop!