Skip to main content
edited tags
Link
Peter Taylor
  • 43.4k
  • 4
  • 72
  • 179
Source Link
histocrat
  • 22.3k
  • 4
  • 39
  • 81

Generate Esolangs

Given a file named hello_world that contains 2-100 bytes of printable ASCII, create a Turing-complete language in which hello_world is a valid program that prints "Hello World!". The output should be two files: a compiler or interpreter, and a text file with the language spec.

Rules

  • Shortest code wins. Length of (any of the) output doesn't matter.
  • The generated compiler/interpreter must tokenize hello_world into at least two tokens, neither of which are ignored, and can't care about the filename.
  • Your program can't use external resources (no cloning its own compiler).
  • The generated code can be in any language, and can compile to any language.