The real ooRexx interpreter, compiled to WebAssembly, runs the
<script type="text/rexx"> elements of this page.
Loading ooRexx…
The handler is a method of a Rexx object, in app.rex.
The page's own JavaScript calls the routine Evaluate,
which a Rexx script below defines.
<script src="ooRexx.js"></script>
<script type="text/rexx">
.js~page~document~getElementById("greeting")~textContent = "Hello from Rexx"
</script>
<script type="text/rexx" src="app.rex"></script>
The scripts run in order, once the page is loaded, and see
what the scripts before them defined. SAY writes to the
browser's console. View this page's source for the rest.