rapydscript-ng 0.7.24 → 0.8.1
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 +28 -0
- package/README.md +80 -26
- package/bin/build.ts +117 -0
- package/bin/package.json +1 -0
- package/bin/rapydscript +65 -62
- package/build_wheels.py +133 -0
- package/editor-plugins/README.md +80 -0
- package/editor-plugins/nvim.lua +321 -0
- package/local-agent.md +28 -0
- package/package.json +4 -5
- package/publish.py +27 -17
- package/release/baselib-plain-pretty.js +448 -326
- package/release/baselib-plain-ugly.js +3 -3
- package/release/compiler.js +9027 -8139
- package/release/signatures.json +27 -27
- package/release/stdlib_modules.json +1 -0
- package/src/ast.pyj +428 -280
- package/src/baselib-builtins.pyj +49 -28
- package/src/baselib-containers.pyj +241 -226
- package/src/baselib-errors.pyj +8 -1
- package/src/baselib-internal.pyj +38 -23
- package/src/baselib-itertools.pyj +13 -7
- package/src/baselib-str.pyj +59 -84
- package/src/compiler.pyj +4 -4
- package/src/errors.pyj +3 -4
- package/src/lib/aes.pyj +46 -32
- package/src/lib/elementmaker.pyj +11 -9
- package/src/lib/encodings.pyj +15 -5
- package/src/lib/gettext.pyj +9 -4
- package/src/lib/math.pyj +106 -45
- package/src/lib/operator.pyj +10 -10
- package/src/lib/pythonize.pyj +2 -1
- package/src/lib/random.pyj +28 -21
- package/src/lib/re.pyj +492 -19
- package/src/lib/traceback.pyj +171 -29
- package/src/lib/uuid.pyj +2 -2
- package/src/output/classes.pyj +28 -27
- package/src/output/codegen.pyj +87 -83
- package/src/output/comments.pyj +8 -8
- package/src/output/exceptions.pyj +20 -21
- package/src/output/functions.pyj +66 -64
- package/src/output/literals.pyj +24 -23
- package/src/output/loops.pyj +84 -142
- package/src/output/modules.pyj +55 -68
- package/src/output/operators.pyj +40 -29
- package/src/output/statements.pyj +21 -15
- package/src/output/stream.pyj +82 -56
- package/src/output/utils.pyj +12 -8
- package/src/parse.pyj +971 -620
- package/src/string_interpolation.pyj +5 -3
- package/src/tokenizer.pyj +188 -148
- package/src/utils.pyj +32 -15
- package/test/_treeshake_mod.pyj +30 -0
- package/test/_treeshake_side_effect.pyj +9 -0
- package/test/ast_serialization.pyj +392 -0
- package/test/async.pyj +95 -0
- package/test/baselib.pyj +1 -2
- package/test/embedded_compiler.pyj +57 -0
- package/test/fmt.pyj +291 -0
- package/test/generic.pyj +16 -3
- package/test/imports.pyj +8 -6
- package/test/internationalization.pyj +38 -37
- package/test/lint.pyj +120 -117
- package/test/lsp.pyj +257 -0
- package/test/repl.pyj +70 -65
- package/test/sourcemaps.pyj +315 -0
- package/test/starargs.pyj +46 -39
- package/test/str.pyj +8 -0
- package/test/traceback.pyj +263 -0
- package/test/treeshaking.pyj +181 -0
- package/test/web_repl_export.pyj +88 -0
- package/tools/ast_serialize.mjs +557 -0
- package/tools/cli.mjs +531 -0
- package/tools/compile.mjs +205 -0
- package/tools/compiler.mjs +159 -0
- package/tools/{completer.js → completer.mjs} +6 -6
- package/tools/{embedded_compiler.js → embedded_compiler.mjs} +17 -13
- package/tools/export.js +109 -56
- package/tools/fmt.mjs +975 -0
- package/tools/{gettext.js → gettext.mjs} +46 -53
- package/tools/ini.mjs +175 -0
- package/tools/{lint.js → lint.mjs} +78 -55
- package/tools/lsp.mjs +964 -0
- package/tools/lsp_protocol.mjs +259 -0
- package/tools/lsp_symbols.mjs +418 -0
- package/tools/{msgfmt.js → msgfmt.mjs} +18 -18
- package/tools/{repl.js → repl.mjs} +56 -42
- package/tools/{self.js → self.mjs} +71 -46
- package/tools/sourcemap.mjs +123 -0
- package/tools/test.mjs +252 -0
- package/tools/treeshake.mjs +400 -0
- package/tools/{utils.js → utils.mjs} +26 -23
- package/tools/{web_repl.js → web_repl.mjs} +15 -13
- package/tools/web_repl_export.mjs +97 -0
- package/tree-sitter/README.md +101 -0
- package/tree-sitter/grammar.js +992 -0
- package/tree-sitter/package.json +43 -0
- package/tree-sitter/queries/highlights.scm +232 -0
- package/tree-sitter/queries/indents.scm +64 -0
- package/tree-sitter/queries/injections.scm +14 -0
- package/tree-sitter/queries/locals.scm +108 -0
- package/tree-sitter/src/grammar.json +4976 -0
- package/tree-sitter/src/node-types.json +2901 -0
- package/tree-sitter/src/parser.c +196465 -0
- package/tree-sitter/src/scanner.c +294 -0
- package/tree-sitter/src/tree_sitter/alloc.h +54 -0
- package/tree-sitter/src/tree_sitter/array.h +330 -0
- package/tree-sitter/src/tree_sitter/parser.h +286 -0
- package/tree-sitter/test/corpus/chaining.txt +99 -0
- package/tree-sitter/test/corpus/classes.txt +147 -0
- package/tree-sitter/test/corpus/comprehensions.txt +155 -0
- package/tree-sitter/test/corpus/containers.txt +242 -0
- package/tree-sitter/test/corpus/control_flow.txt +361 -0
- package/tree-sitter/test/corpus/decorators.txt +64 -0
- package/tree-sitter/test/corpus/existential.txt +102 -0
- package/tree-sitter/test/corpus/functions.txt +293 -0
- package/tree-sitter/test/corpus/imports.txt +117 -0
- package/tree-sitter/test/corpus/literals.txt +135 -0
- package/tree-sitter/test/corpus/operators.txt +296 -0
- package/tree-sitter/test/corpus/statements.txt +189 -0
- package/tree-sitter/test/corpus/strings.txt +90 -0
- package/tree-sitter/test/corpus/subscripts.txt +227 -0
- package/tree-sitter/tree-sitter.json +36 -0
- package/web-repl/env.js +35 -23
- package/web-repl/main.js +8 -8
- package/bin/export +0 -75
- package/bin/web-repl-export +0 -102
- package/tools/cli.js +0 -523
- package/tools/compile.js +0 -184
- package/tools/compiler.js +0 -84
- package/tools/ini.js +0 -65
- package/tools/test.js +0 -110
package/release/signatures.json
CHANGED
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
{
|
|
2
|
-
"ast": "
|
|
3
|
-
"baselib-builtins": "
|
|
4
|
-
"baselib-containers": "
|
|
5
|
-
"baselib-errors": "
|
|
6
|
-
"baselib-internal": "
|
|
7
|
-
"baselib-itertools": "
|
|
8
|
-
"baselib-str": "
|
|
9
|
-
"compiler": "
|
|
10
|
-
"errors": "
|
|
2
|
+
"ast": "83fe570708f4a25ee630120ec1d2a1f47b39bd2f",
|
|
3
|
+
"baselib-builtins": "0e170c877a1bcc67e506df0ba64037bf1a2f6121",
|
|
4
|
+
"baselib-containers": "39d05f99eb7cc741e44871ccc6acea868ee70ec8",
|
|
5
|
+
"baselib-errors": "7f786439249e7d06cc010757f1bbaa6a2c3ea019",
|
|
6
|
+
"baselib-internal": "21b4883b8785759911b0ba629407356474ba5406",
|
|
7
|
+
"baselib-itertools": "ffb54e4704ac6408253414e5e9c9a0bdf9e5f8da",
|
|
8
|
+
"baselib-str": "8f79c604ef8fcc6edb10755f884e8bb13abbab62",
|
|
9
|
+
"compiler": "936b4fdf324101b7cced7efffe5eecf32ca3e4c7",
|
|
10
|
+
"errors": "755a1e1068d6ce6198914477713073d872b52173",
|
|
11
11
|
"output/__init__": "da39a3ee5e6b4b0d3255bfef95601890afd80709",
|
|
12
|
-
"output/classes": "
|
|
13
|
-
"output/codegen": "
|
|
14
|
-
"output/comments": "
|
|
15
|
-
"output/exceptions": "
|
|
16
|
-
"output/functions": "
|
|
17
|
-
"output/literals": "
|
|
18
|
-
"output/loops": "
|
|
19
|
-
"output/modules": "
|
|
20
|
-
"output/operators": "
|
|
21
|
-
"output/statements": "
|
|
22
|
-
"output/stream": "
|
|
23
|
-
"output/utils": "
|
|
24
|
-
"parse": "
|
|
25
|
-
"string_interpolation": "
|
|
26
|
-
"tokenizer": "
|
|
12
|
+
"output/classes": "3a98ca727180123f5f19a761e81d0c49f585762b",
|
|
13
|
+
"output/codegen": "ff6f50e4533271e30ca55aff80c18f244d1c0f22",
|
|
14
|
+
"output/comments": "b3baa47c00c1983ee54e912c602b58318e9c2bde",
|
|
15
|
+
"output/exceptions": "7b9548eab7d67991c4932746a0ce766e07e9ac8d",
|
|
16
|
+
"output/functions": "a213dd5b806410c6575a78488cf813b4e8ddb1e9",
|
|
17
|
+
"output/literals": "50a034dbdf6fca16de7b5147a7fd64faeb461255",
|
|
18
|
+
"output/loops": "47a2767193ba5f996808ee05927844a551cf022b",
|
|
19
|
+
"output/modules": "e2c2d92c714c31face3470de7ae8a61275a95fcd",
|
|
20
|
+
"output/operators": "f45450104ed5def1298cf9a4962492ffeca02e63",
|
|
21
|
+
"output/statements": "a56a432dee96d9ed0e490fc024ed8a99d30a5d0c",
|
|
22
|
+
"output/stream": "8c8dbaffba08d40901121366683033128cf9593f",
|
|
23
|
+
"output/utils": "97837ab9091710059e2ba01e245ee05fec82cd29",
|
|
24
|
+
"parse": "0965e0416ea81d2b4bce422729b662022c0c4eb4",
|
|
25
|
+
"string_interpolation": "9cc04ded68b82174728873f7df96aed60a4fb478",
|
|
26
|
+
"tokenizer": "4b38255101868598070367bcde7a11aea0c18276",
|
|
27
27
|
"unicode_aliases": "79ac6eaa5e6be44a5397d62c561f854a8fe7528e",
|
|
28
|
-
"utils": "
|
|
29
|
-
"#compiler#": "
|
|
30
|
-
"#compiled_with#": "
|
|
28
|
+
"utils": "0cbca1fa76442212e31644f95a4f6e9a0317234f",
|
|
29
|
+
"#compiler#": "adbd3a6d4a70a98f08be2be192009164746efc68",
|
|
30
|
+
"#compiled_with#": "adbd3a6d4a70a98f08be2be192009164746efc68"
|
|
31
31
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
["aes","elementmaker","encodings","gettext","math","operator","pythonize","random","re","traceback","uuid"]
|