@plylang/plylang 1.2.1 → 1.2.3

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.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +7 -7
package/README.md CHANGED
@@ -42,7 +42,7 @@ Five built-in types and `Array` are visible in every module. They cannot be rede
42
42
  | `Bool` | `true`, `false` | boolean |
43
43
  | `Unit` | `unit` | `undefined` |
44
44
 
45
- `(Array a)` is an array. Bare digits are `Num`, an ordinary number in JavaScript. `Int` is written with the suffix `n` and becomes a `bigint`. In the examples below a number is `Num`. `1.0` is a number. `1.` is the number `1` and a separate dot. A string accepts `\\`, `\"`, `\n`, `\t`, and `\r`.
45
+ `(Array a)` is an array. Bare digits are `Num`, an ordinary number in JavaScript. `Int` is written with the suffix `n` and becomes a `bigint`. A base prefix is `0b`, `0o`, or `0x`, and the same suffix makes that integer an `Int`: `0b1010`, `0b1010n`, `0o10`, `0xFF`. `_` separates digits: `1_000`, `0xFF_FF`. In the examples below a number is `Num`. `1.0` is a number. `1.` is the number `1` and a separate dot. A string accepts `\\`, `\"`, `\n`, `\t`, and `\r`.
46
46
 
47
47
  `unit` is the one value of type `Unit`. It needs no import. `Unit ->` leaves that value when `Nullary` for `Unit` is visible.
48
48
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@plylang/plylang",
3
- "version": "1.2.1",
3
+ "version": "1.2.3",
4
4
  "description": "Ply compiler",
5
5
  "license": "MIT",
6
6
  "author": "Algosail",
@@ -30,12 +30,12 @@
30
30
  "bin/native.js"
31
31
  ],
32
32
  "optionalDependencies": {
33
- "@plylang/plylang-darwin-arm64": "1.2.1",
34
- "@plylang/plylang-darwin-x64": "1.2.1",
35
- "@plylang/plylang-linux-arm64": "1.2.1",
36
- "@plylang/plylang-linux-x64": "1.2.1",
37
- "@plylang/plylang-win32-arm64": "1.2.1",
38
- "@plylang/plylang-win32-x64": "1.2.1"
33
+ "@plylang/plylang-darwin-arm64": "1.2.3",
34
+ "@plylang/plylang-darwin-x64": "1.2.3",
35
+ "@plylang/plylang-linux-arm64": "1.2.3",
36
+ "@plylang/plylang-linux-x64": "1.2.3",
37
+ "@plylang/plylang-win32-arm64": "1.2.3",
38
+ "@plylang/plylang-win32-x64": "1.2.3"
39
39
  },
40
40
  "scripts": {
41
41
  "build": "cargo build --release",