@spade-lang/spade 0.9.0-dev.899bf3-1ce864
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +48 -0
- package/gen/bundle.js +3209 -0
- package/gen/resources-spade.js +7 -0
- package/gen/spade.core.wasm +0 -0
- package/gen/spade.core2.wasm +0 -0
- package/gen/spade.core3.wasm +0 -0
- package/gen/spade.core4.wasm +0 -0
- package/lib/api.d.ts +30 -0
- package/package.json +39 -0
package/README.md
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
YoWASP Spade package
|
|
2
|
+
====================
|
|
3
|
+
|
|
4
|
+
This package provides [Spade][] binaries built for [WebAssembly][]. See the [overview of the YoWASP project][yowasp] for details.
|
|
5
|
+
|
|
6
|
+
At the moment, this package only provides an API allowing to run Spade in a virtual filesystem; no binaries are provided.
|
|
7
|
+
|
|
8
|
+
[Spade]: https://gitlab.com/spade-lang/spade/
|
|
9
|
+
[webassembly]: https://webassembly.org/
|
|
10
|
+
[yowasp]: https://yowasp.github.io/
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
API reference
|
|
14
|
+
-------------
|
|
15
|
+
|
|
16
|
+
This package provides one function:
|
|
17
|
+
|
|
18
|
+
- `runSpade`
|
|
19
|
+
|
|
20
|
+
For more detail, see the documentation for [the JavaScript YoWASP runtime](https://github.com/YoWASP/runtime-js#api-reference).
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
Versioning
|
|
24
|
+
----------
|
|
25
|
+
|
|
26
|
+
The version of this package is derived from the upstream Spade package version in the `X.Y.Z-devH` format, and can be in one of the two formats, `X.Y.M` (for builds from release branches) or `X.(Y+1).N-dev.M` (for development builds), where the symbols are:
|
|
27
|
+
|
|
28
|
+
1. `X`: Spade major version
|
|
29
|
+
2. `Y`: Spade minor version
|
|
30
|
+
3. `Z`: Spade patch version; ignored if present
|
|
31
|
+
3. `H`: The commit hash which Spade was built from
|
|
32
|
+
|
|
33
|
+
With this scheme, there is a direct correspondence between upstream versions and [SemVer][semver] NPM package versions.
|
|
34
|
+
|
|
35
|
+
Note that for development builds, the minor version is incremented as required by the SemVer comparison order. This means that an NPM package built from the upstream version `0.45+12` and the 120th commit in this repository will have the version `0.46.12-dev.120`. Because this is a pre-release package, it will not be matched by version specifiers such as `^0.46` or `>=0.46`.
|
|
36
|
+
|
|
37
|
+
[semver]: https://semver.org/
|
|
38
|
+
|
|
39
|
+
Credit
|
|
40
|
+
------
|
|
41
|
+
|
|
42
|
+
All of the heavy lifting here is done by Whitequark via the the https://github.com/YoWASP project.
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
License
|
|
46
|
+
-------
|
|
47
|
+
|
|
48
|
+
This package and the Spade compiler is covered by the [EUPL-1.2](LICENSE.txt). The Spade standard library is dual licensed under the Apache and MIT licenses. The YoWASP build flow used to bundle Spade in JavaScript is originally licensed under the [ISC](LICENSE-ISC-whitequark.txt)
|