Contribution to this website is welcomed. However, please read this guide before you contribute.
function yourlang(program,input){
//code here...
return output;
}
If the interpreter is in other languages but can be called from JavaScript (like C by using Emscripten), the JavaScript file should call the interpreter.
The function name should not be the same with function names for existing esolangs.
If you have a Python interpreter, add a Python file to link in the about.html file in the last step, and add a JavaScript file that calls the Python code (not the Python file) just like pyexec_example.html.
option tag inside the select tag in the index.html file, the text should be the language name, like this:
<option>YourLang</option>
The option tags should then be sorted by text, lexicographically.
script tag in the index.html file, the source is the JavaScript file you created in the first step, like this:
<script defer src="yourlang.js"></script>
script tags should be sorted by their sources, in lexicographical order, just like the option tags.
In the run function, add a line of code that maps the option of the new esolang to the function, like this:
funcs["YourLang"]=yourlang;