Skip to content

The core is interpreter base ECMAScript 2016.

License

Notifications You must be signed in to change notification settings

sunkai9064/prepack-core

 
 

Repository files navigation

Prepack-core

Prepack-core isn't prepack:

  • no react and jsx
  • no bundler
  • no optimizer
  • no transformer

The core is interpreter base ECMAScript 2016.

Prepack: See the official prepack.io website for an introduction and an interactive REPL playground.

Use Prepack-core

Install the CLI via npm,

# install dependencies
> npm install

# build interpreter
> yarn build
#(OR)
> npm run build-repl

# enter repl-cli
> yarn repl
#(OR)
> npm run repl

# run .js file
> yarn repl ./test.js
#(OR)
> npm run repl ./test.js
#(OR)
> node ./bin/prepack-repl.js ./test.js

Update

If you want coding with source:

> yarn watch

validate changes:

> yarn validate

Or bundle a standalone repl-cli:

> yarn build-bundle

License

The Prepack-core is fork of Prepack.

Prepack is BSD-licensed. We also provide an additional patent grant.

About

The core is interpreter base ECMAScript 2016.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%