Kencode is a programming method that uses natural language for programming. The tool below converts Python code into natural language instructions, and back again.
Without punctuation or symbols, each statement becomes words that can be read, typed, or spoken aloud.
For more info
Getting Started
1
Paste your code
Type or paste Python code or Kencode instructions into the left or buttom input panel respectively.
2
Click Convert
Use Convert for Python → Kencode,
or Kencode → Python for the reverse direction.
3
Read the output
The top right panel shows the KS.
The top left and bottom panels show the Python and Kencode instructions respectively.
4
Use or share
Copy the KVI to dictate, type, or share, no special characters needed.
Kencode Classification:
[K] Keyword: if, for, def, True …
[O] Operator: equals, plus, times …
[W] Word: variable names, numbers …
[B] Base-word: variable, digit, string, call …
Example: x = 10 becomes [W][O][B][W] /
x equals digit ten.
·
Indentation is shown as a number: 1 tab = 4 spaces, 2 tab = 8 spaces.
·
Multi-word names like my_list split into separate words: my list.