jsy-transpile

Offside (indention) JSY syntax transpiler to standard JavaScript — without Babel

Usage no npm install needed!

<script type="module">
  import jsyTranspile from 'https://cdn.skypack.dev/jsy-transpile';
</script>

README

jsy-transpile

Build Status

JSY is an indented (offside) JavaScript dialect. We believe indentation is better at describing code blocks.

This is an offside (indention) JSY syntax transpiler to standard JavaScript with zero dependencies — e.g. No Babel, no Acorn!

Please see JSY language docs for details on the JSY dialect.

Use from the command line

Ensure you are using Node 10.x or later.

Install globally with npm install -g jsy-transpile

Transpile a JSY file with npx jsy-transpile test.jsy > test.js

Run a JSY file with npx jsy-node test.jsy – see jsy-node

Use from Bundlers

Use directly from HTML

...
<script type='module' src='https://cdn.jsdelivr.net/npm/jsy-transpile/esm/jsy-script.min.js'></script>
...
<jsy-script src='./example.jsy'></jsy-script>
...