Comment

Comment by king_geedorah

Thanks for sharing. I had a good laugh looking through your source and seeing that "kys" killed the interpreter. I threw together a trivial fizzbuzz in it for fun.

  n = 1
  goto main
  #fizzbuzz
  if n % 3 == 0 && n % 5 == 0
      print "fizzbuzz"
      goto increment
  if n % 3 == 0
      print "fizz"
      goto increment
  if n % 5 == 0
    print "buzz"
    goto increment
  print n
  #increment
  n = n + 1
  #main
  if n <= 100
      goto fizzbuzz
  kys

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton