JPL interpreter
npm install @jplorg/jpl``js
import jpl from '@jplorg/jpl';
(async () => {
const inputs = [null];
const results = await jpl.run('"Hello, 🌎!"', inputs);
console.log(...results);
})();
`
The package provides a CLI REPL, which can be used as a language playground.
`shnpm --prefix js start
> jpl-repl # or
Welcome to JPL v1.0.0.
Type ":h" for more information.
> "Hello, \('🌎', 'JPL')!"
"Hello, 🌎!", "Hello, JPL!"
>
``
TODO: inform about the runtime API, functions, JPLTypes and different error types