Add webpack; Setup instructions

This commit is contained in:
dcodeIO
2017-12-05 13:35:14 +01:00
parent 40b814ac73
commit df212653a8
10 changed files with 2190 additions and 19 deletions

View File

@ -25,3 +25,32 @@ Side effects:
- Good fire test for the compiler
- Good benchmark when comparing both versions
- Benefits standard library design ideas
Getting started
---------------
If you'd like to try out NEXT today or even plan to contribute, this is how you do it:
```
$> git clone https://github.com/AssemblyScript/next.git
$> cd next
$> npm install
$> node bin\asc yourModule.ts
```
Building a browser bundle to `dist/assemblyscript.js` (requires [binaryen.js](https://github.com/AssemblyScript/binaryen.js)):
```
$> npm run build
```
Running the [tests](./tests):
```
$> npm test
```
Development status
------------------
For now, see the [compiler tests](https://github.com/AssemblyScript/next/tree/master/tests/compiler) for an overview of what's supposed to be working already.