Skip to main content

Timeline for Creating a HQ9+ interpreter

Current License: CC BY-SA 3.0

8 events
when toggle format what by license comment
Apr 13, 2017 at 12:39 history edited CommunityBot
replaced http://codegolf.stackexchange.com/ with https://codegolf.stackexchange.com/
Nov 12, 2016 at 0:52 history edited Oliver Ni CC BY-SA 3.0
added 1 character in body
Aug 3, 2015 at 14:49 comment added Kyle Kanos @MCParadox: Er, that's Python you're thinking of, Lua's in is for for-loop iterators and not comparisons; you'll get an error if you stick that in there. There are three choices here: (1) use match at each line, (2) user s=='h'or s=='H' at each line, (3) do it the way I did it. Clearly (3) is shorter than (1) and (2).
Jul 30, 2015 at 4:41 comment added Oliver Ni It saves 8 chars
Jul 30, 2015 at 4:40 comment added Oliver Ni You don't need to lowercase the input, you can just do something like if s in'Hh'
Jan 3, 2015 at 19:21 comment added user344 The code to lowercase the input costs 12 characters, so the bonus is not worth it.
Jun 20, 2014 at 0:34 history edited Kyle Kanos CC BY-SA 3.0
made shorter
Jun 19, 2014 at 21:04 history answered Kyle Kanos CC BY-SA 3.0