Skip to content

Instantly share code, notes, and snippets.

@jamesandariese
Last active August 29, 2015 14:19
Show Gist options
  • Save jamesandariese/c198f805da457fcf7db3 to your computer and use it in GitHub Desktop.
Save jamesandariese/c198f805da457fcf7db3 to your computer and use it in GitHub Desktop.
DC stuff
[Zd!=z]sz # delete top of stack
# perform a loop over all numbers running b
[lbx1+lax]sa # loop forever running b each time
[lpx]sb # logic goes here
1
lax
# dense.
[[Fizz]P]sf[[Buzz]P]sg[dn]sv[d3%dSp0=fd5%dSp0=gLpLp*0!=v10P1+lpx]sp1lpx
# a nicer version
[[Fizz]P]sf
[[Buzz]P]sg
[dn]sv
[d3%dSp0=fd5%dSp0=gLpLp*0!=v10P1+lpx]sp # magic
1lpx #run lpx starting at 1
#another
[[Fizz]P]sf[[Buzz]P]sg[dn]sv[dd3%dsBr5%dlB0=f0=g*0!=v10P1+lpx]sp1lpx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment