Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Encode a string into brain language code
ResourceFunction["BrainLanguageEncode"][string] Encode string into brain language code. |
"Normal" | do not make any extra escaping |
"Refined" | remove all white space and newline |
"Octal" | use octal digit encoding |
"Chinese" | encode using "右左增减始终写读" |
"Dao" | encode using "☴☳☱☶☰☷☲☵" |
"周易" | encode using "巽震兌艮坤乾離坎" |
"Ook" | encode using the esoteric language Ook |
Generate a code:
In[1]:= | ![]() |
Out[1]= | ![]() |
Run with the resource function BrainLanguageEvaluate to verify this code:
In[2]:= | ![]() |
Out[2]= | ![]() |
The output is assumed to be UTF-8 encoded, which can support all Unicode characters:
In[3]:= | ![]() |
Out[3]= | ![]() |
Verify this code with the resource function BrainLanguageEvaluate:
In[4]:= | ![]() |
Out[4]= | ![]() |
Specify a dialect, such as the esoteric language Ook:
In[5]:= | ![]() |
Out[5]= | ![]() |
Another dialect, using octal digit encoding:
In[6]:= | ![]() |
Out[6]= | ![]() |
This work is licensed under a Creative Commons Attribution 4.0 International License