19 lines
1.1 KiB
HTML
19 lines
1.1 KiB
HTML
<p id="ENTIRE">Page script failed to run. Please enable javascript.</p>
|
|
|
|
<script>
|
|
let source = window.location.hostname;
|
|
if (source == "acl.cool" || source == "raedr7n.net") {
|
|
document.getElementById("ENTIRE").innerHTML = `<p>Welcome to ${source}.</p> <a href="recipes/">recipes</a>`;
|
|
} else if (source == "ytheleus.org") {
|
|
document.getElementById("ENTIRE").innerHTML =
|
|
`<p>You're at ${source}, home page of the <a href=yth-name.html>Ytheleus</a> programming language!</p>
|
|
<p>This is not implemented yet; Ytheleus does not exist. That said, here are my vague ideas of what it should be:</p>
|
|
<ul>
|
|
<li>It's Andreas Rossberg's 1ML, but computationally pure.</li>
|
|
<li>The implementation uses dynamic superinstructions for interpretation and compiles either via "Compiling without continuations", if I decide not to put first-class multiple-resumption continuations in the lanugage, or with CPS, otherwise.</li>
|
|
</ul>`;
|
|
} else {
|
|
document.getElementById("ENTIRE").innerHTML = `Welcome to ${source}. For something more interesting, try <a href="https://acl.cool">acl.cool</a> or <a href="https://ytheleus.org">ytheleus.org</a>.`;
|
|
}
|
|
</script>
|
|
|