0.3.4 • Published 4 years ago

@rapid-lang/compiler v0.3.4

Weekly downloads
2
License
MIT
Repository
-
Last release
4 years ago

Build npm version GitHub license

RAPID compiler

Compiles RAPID sources to WebAssembly wasm binary module file. It can dynamically create and output sourcemaps for debugging.

Install

npm i @rapid-lang/compiler -g

API

Commands:
  rapid-compiler source  Path to source file to be compiled

Options:
  -o, --output      Path to result file to be saved          [string] [required]
  -h, --help        Show help                                          [boolean]
  -v, --version     Show version number                                [boolean]
  -s, --sourceMaps  Generate sourceMaps for debugging                  [boolean]
  -t, --textFormat  Generate WebAssembly Text Format (wat) file         [string]
  -p, --port        Sourcemaps default port                             [number]

Example:

rapid-compiler dummy/test.rapid -o dummy/test.wasm -s

Language Documentation

Full documentation is available on https://rapid-lang.org page.

Development

Run yarn debug with parameters to watch, compile and debug files, for example:

yarn debug dummy/test.rapid -o dummy/test.wasm -s

Follow Github Flow and Conventional Commits via yarn commit command. Do linting with yarn lint and build project with yarn build.

Changelog

See CHANGELOG file for list of recent changes.

License

See LICENSE file for more information.

0.3.4

4 years ago

0.3.2

4 years ago

0.3.3

4 years ago

0.3.0

4 years ago

0.3.1

4 years ago

0.1.0

4 years ago

0.2.0

4 years ago