@thi.ng/shader-ast-js 1.1.15 → 1.1.17
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/CHANGELOG.md +1 -1
- package/README.md +1 -12
- package/api.d.ts +4 -1
- package/package.json +10 -10
package/CHANGELOG.md
CHANGED
package/README.md
CHANGED
|
@@ -1,16 +1,5 @@
|
|
|
1
1
|
<!-- This file is generated - DO NOT EDIT! -->
|
|
2
2
|
<!-- Please see: https://github.com/thi-ng/umbrella/blob/develop/CONTRIBUTING.md#changes-to-readme-files -->
|
|
3
|
-
> [!IMPORTANT]
|
|
4
|
-
> ‼️ Announcing the thi.ng user survey 2024 📋
|
|
5
|
-
>
|
|
6
|
-
> [Please participate in the survey here!](https://forms.gle/XacbSDEmQMPZg8197)\
|
|
7
|
-
> (open until end of February)
|
|
8
|
-
>
|
|
9
|
-
> **To achieve a better sample size, I'd highly appreciate if you could
|
|
10
|
-
> circulate the link to this survey in your own networks.**
|
|
11
|
-
>
|
|
12
|
-
> [Discussion](https://github.com/thi-ng/umbrella/discussions/447)
|
|
13
|
-
|
|
14
3
|
# 
|
|
15
4
|
|
|
16
5
|
[](https://www.npmjs.com/package/@thi.ng/shader-ast-js)
|
|
@@ -22,7 +11,7 @@
|
|
|
22
11
|
> of the [@thi.ng/umbrella](https://github.com/thi-ng/umbrella/) monorepo
|
|
23
12
|
> and anti-framework.
|
|
24
13
|
>
|
|
25
|
-
> 🚀
|
|
14
|
+
> 🚀 Please help me to work full-time on these projects by [sponsoring me on
|
|
26
15
|
> GitHub](https://github.com/sponsors/postspectacular). Thank you! ❤️
|
|
27
16
|
|
|
28
17
|
- [About](#about)
|
package/api.d.ts
CHANGED
|
@@ -14,7 +14,10 @@ export interface JSTarget extends Fn<Term<any>, string> {
|
|
|
14
14
|
* Any functions defined in the given AST will be exported using their
|
|
15
15
|
* defined name via the returned object.
|
|
16
16
|
*
|
|
17
|
-
* ```
|
|
17
|
+
* ```js
|
|
18
|
+
* import { targetJS } from "@thi.ng/shader-ast-js";
|
|
19
|
+
* import { defn, float, mul, ret } from "@thi.ng/shader-ast";
|
|
20
|
+
*
|
|
18
21
|
* const js = targetJS();
|
|
19
22
|
* const module = js.compile(
|
|
20
23
|
* defn("float", "foo", [["float"]], (x)=> [ret(mul(x, float(10)))])
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@thi.ng/shader-ast-js",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.17",
|
|
4
4
|
"description": "Customizable JS codegen, compiler & runtime for @thi.ng/shader-ast",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"module": "./index.js",
|
|
@@ -35,14 +35,14 @@
|
|
|
35
35
|
"test": "bun test"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@thi.ng/api": "^8.9.
|
|
39
|
-
"@thi.ng/checks": "^3.5.
|
|
40
|
-
"@thi.ng/errors": "^2.4.
|
|
41
|
-
"@thi.ng/math": "^5.10.
|
|
42
|
-
"@thi.ng/matrices": "^2.3.
|
|
43
|
-
"@thi.ng/pixel": "^6.1.
|
|
44
|
-
"@thi.ng/shader-ast": "^0.13.
|
|
45
|
-
"@thi.ng/vectors": "^7.10.
|
|
38
|
+
"@thi.ng/api": "^8.9.27",
|
|
39
|
+
"@thi.ng/checks": "^3.5.1",
|
|
40
|
+
"@thi.ng/errors": "^2.4.19",
|
|
41
|
+
"@thi.ng/math": "^5.10.4",
|
|
42
|
+
"@thi.ng/matrices": "^2.3.21",
|
|
43
|
+
"@thi.ng/pixel": "^6.1.15",
|
|
44
|
+
"@thi.ng/shader-ast": "^0.13.16",
|
|
45
|
+
"@thi.ng/vectors": "^7.10.15"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@microsoft/api-extractor": "^7.40.1",
|
|
@@ -162,5 +162,5 @@
|
|
|
162
162
|
],
|
|
163
163
|
"year": 2019
|
|
164
164
|
},
|
|
165
|
-
"gitHead": "
|
|
165
|
+
"gitHead": "df9e312af741d87e6b450afcfea6a6e381662b1e\n"
|
|
166
166
|
}
|