Execute SNUSP/Ruby: Difference between revisions

m
→‎Modular SNUSP: pass user input as a string
m (→‎Core SNUSP: IO improvements)
m (→‎Modular SNUSP: pass user input as a string)
Line 202:
})
def initialize(text, args={})
super
@execution_stack = []
Line 263:
+ +
+ + print newline
+ + /-\
+ \.+++CR.---NL.!\?/<<#
|
| /<=!/!#++++\
Line 278:
#\?<<+>>-/
PROGRAM
snusp = ModularSNUSP.new(ackerman, :input => '33') # calculate A(3,3)
snusp.run
puts
puts "done"
 
Anonymous user