Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

my attempt at magic

Name: Anonymous 2013-03-27 18:00

lua interpreter: http://bpaste.net/show/kidIoH7vfJlDUvEXPzdd/
still missing features like skip and parenthesis for composing operations

example code:

bindself fact conjure empty
enchant fact set cond = n 0
enchant fact if cond unsummon self with acc
enchant fact set acc * n acc
enchant fact set n - n 1
print summonhold fact with n 10 and acc 1

Name: Anonymous 2013-03-29 1:32

>>11
Yes, it's a bug waiting to happen, and all those points are valid. They should be added to the pasta. But with the nature of lua, local variable and global variables with no global declaration need to mix. Maybe this is better.


function f(n)
  local a = n*2
  b = a*4
  return a
end



function f(n)
  global b
  a = n*2
  b = a*4
  return a
end

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List