File: README

package info (click to toggle)
nqp 2016.12%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 7,960 kB
  • ctags: 3,884
  • sloc: java: 25,027; perl: 910; makefile: 12; sh: 2
file content (18 lines) | stat: -rw-r--r-- 552 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
You need to install webpack.
And then using npm install src/vm/js/nqp-loader and src/vm/js/nqp-runtime and install empty-module, browserify-bignum from npm.
For increased awesomeness we use webpack-dev-server and webpack-reload-plugin so you need to install those.


Afterwards

$ webpack

Should bundle up example.nqp into bundle.js, which is loaded by index.html.

If you run:

$ webpack-dev-server --progress --colors -d

A webserver will startup at localhost:8080 and example.nqp will be automatically reloaded and recompiled when you change it.