The code will be transpiled to
sjs-4 before being executed,
thus you can use the API of the
Source mapping is not implemented yet. When an error is encountered, the row will be reported correctly, while the column (char position) will be incorrect.
There are only a couple of syntax elements to be aware of:
<? ... ?>,
<?= foo ?>,
<?== foo ?>,
Example without JS code.
Multiline example without JS code.
Write HTML escaped output to the output buffer.
Write raw unescaped output to the output buffer.
Embed JS for control flow, no output.
You can call print() to write to the output buffer.
Closing tag is optional.
Empty code block is fine.
The line number is reported correctly, the column number incorrectly.
Spaces must be used between
<? and the comment