/Whitespace

Write Whitespace code by using human-readable code.

Primary LanguagePython

Whitespace

Convert human-readable code to Whitespace.

  • Supports the subset of Whitespace 0.3.
  • This repository doesn't include the Whitespace interpreter.
  • For the details, see the document inside Convert.py.

Requirements

  • Python 3.X

Example

  • Run python Convert.py ChristmasTree.txt original converted.
  • Run converter/ChristmasTree.ws at here or here.
  • Then you'll get the following output:
    *
   ***
  *****
 *******
*********
    |
   ===