|Lucas Hinderberger 42146eefaa||2 months ago|
|build||3 months ago|
|src||2 months ago|
|tests||2 months ago|
|.gitignore||3 months ago|
|LICENSE||3 months ago|
|README.md||3 months ago|
|jsdoc-config.json||3 months ago|
|package-lock.json||3 months ago|
|package.json||3 months ago|
An ABNF parser written in WebAssembly
This is an incomplete Work in Progress
Once it’s finished, it’s use cases might include serving as a high performance basis for compilers, interpreters, syntax visualisation tools or interactive documentation.
abnf.wasm is not fit for practical use.
abnf.wasm parser will provide two interfaces that can be used to
abnf.wasm into your application:
The low-level interface is documented right in the
abnf.wat source file’s
There are no run-time dependencies.
For development, testing and packaging, you will need the
wat2wasm tool from
The WebAssembly Binary Toolkit in addition to the
devDependencies defined in
For building the documentation as described below, you need the
JSDoc tool installed.
To run the unit tests, use
When opening the project in an IDE, you might have to adjust your Jest test plugin to
npm test command, as it currently supplies additional parameters to node
for being able to test ES6 modules.
Once full ES6 Module support is available and enabled in Node by default, that should no longer be necessary.
jsdoc-conf.json file at the root of the source tree.
jsdoc -c jsdoc-config.json
Warning: Please note that the generated documentation will contain parts of whatever template you choose (or what is set up by default in your JSDoc tool), thus additional licensing terms may apply to the generated documentation files.
abnf.wasm software package is licensed under the MPLv2 license.
For details, look into the
LICENSE file in the root of the source code
distribution of this software.