@waves/ride-js
TypeScript icon, indicating that this package has built-in type declarations

2.2.9 • Public • Published

Ride-js

Javascript wrapper for ride language compiler

This repository also contains version of the compiler build with scala-js

To update compiler version in this wrapper:

  • Clone waves project
  • Checkout to branch of your choice to build new compiler version
  • Build js compiler using sbt task
sbt langJS/fullOptJS
sbt replJS/fullOptJS
  • From waves project copy ./lang/js/target/lang-opt.js to ./src of ride-js
  • From waves project copy ./repl/js/target/repl-opt.js to ./src of ride-js

Workaround

If there is error with compiling try

sbt clean && sbt lang/clean

Tasks

  • npm run build builds minified version that can be included as script tag. Add RideJS variable to global scope

Package Sidebar

Install

npm i @waves/ride-js

Weekly Downloads

36

Version

2.2.9

License

MIT

Unpacked Size

8.35 MB

Total Files

9

Last publish

Collaborators

  • enichegovskiy
  • xrtm000
  • bodrych
  • msmolyakov-waves
  • vsuharnikov
  • gakhramanov
  • tsigel
  • ebceu4
  • vba2000
  • wavesadmin
  • dvshur
  • jlewka
  • kozhevnikov.peter
  • axepuff
  • okanishcheva
  • vladislav.petushkov