rapydscript-ng 0.8.0 → 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.
Files changed (72) hide show
  1. package/CHANGELOG.md +9 -0
  2. package/README.md +8 -0
  3. package/bin/build.ts +117 -0
  4. package/build_wheels.py +133 -0
  5. package/editor-plugins/README.md +80 -0
  6. package/editor-plugins/nvim.lua +321 -0
  7. package/package.json +1 -1
  8. package/publish.py +27 -17
  9. package/release/compiler.js +8125 -8093
  10. package/release/signatures.json +27 -27
  11. package/release/stdlib_modules.json +1 -0
  12. package/src/ast.pyj +379 -279
  13. package/src/baselib-builtins.pyj +47 -26
  14. package/src/baselib-containers.pyj +105 -92
  15. package/src/baselib-errors.pyj +8 -1
  16. package/src/baselib-internal.pyj +35 -20
  17. package/src/baselib-itertools.pyj +13 -7
  18. package/src/baselib-str.pyj +55 -80
  19. package/src/compiler.pyj +4 -4
  20. package/src/errors.pyj +3 -4
  21. package/src/lib/aes.pyj +46 -32
  22. package/src/lib/elementmaker.pyj +11 -9
  23. package/src/lib/encodings.pyj +15 -5
  24. package/src/lib/gettext.pyj +9 -4
  25. package/src/lib/math.pyj +106 -45
  26. package/src/lib/operator.pyj +10 -10
  27. package/src/lib/pythonize.pyj +2 -1
  28. package/src/lib/random.pyj +28 -21
  29. package/src/lib/re.pyj +490 -17
  30. package/src/lib/traceback.pyj +7 -2
  31. package/src/lib/uuid.pyj +2 -2
  32. package/src/output/classes.pyj +28 -27
  33. package/src/output/codegen.pyj +80 -83
  34. package/src/output/comments.pyj +8 -8
  35. package/src/output/exceptions.pyj +20 -21
  36. package/src/output/functions.pyj +37 -26
  37. package/src/output/literals.pyj +14 -10
  38. package/src/output/loops.pyj +63 -59
  39. package/src/output/modules.pyj +52 -23
  40. package/src/output/operators.pyj +40 -29
  41. package/src/output/statements.pyj +20 -14
  42. package/src/output/stream.pyj +33 -34
  43. package/src/output/utils.pyj +12 -8
  44. package/src/parse.pyj +234 -233
  45. package/src/string_interpolation.pyj +5 -3
  46. package/src/tokenizer.pyj +176 -148
  47. package/src/utils.pyj +31 -14
  48. package/test/fmt.pyj +94 -4
  49. package/test/generic.pyj +9 -0
  50. package/test/lsp.pyj +35 -0
  51. package/test/str.pyj +8 -0
  52. package/tools/cli.mjs +25 -4
  53. package/tools/compile.mjs +7 -3
  54. package/tools/compiler.mjs +34 -2
  55. package/tools/fmt.mjs +262 -22
  56. package/tools/ini.mjs +112 -1
  57. package/tools/lsp.mjs +56 -6
  58. package/tools/repl.mjs +5 -2
  59. package/tools/self.mjs +15 -0
  60. package/tools/test.mjs +100 -0
  61. package/tools/web_repl_export.mjs +4 -0
  62. package/tree-sitter/package.json +1 -1
  63. package/tree-sitter/tree-sitter.json +1 -1
  64. package/editor-plugins/nvim/rapydscript/README.md +0 -184
  65. package/editor-plugins/nvim/rapydscript/bin/rapydscript.so +0 -0
  66. package/editor-plugins/nvim/rapydscript/ftdetect/rapydscript.lua +0 -10
  67. package/editor-plugins/nvim/rapydscript/lua/rapydscript/health.lua +0 -88
  68. package/editor-plugins/nvim/rapydscript/lua/rapydscript/init.lua +0 -279
  69. /package/tree-sitter/queries/{rapydscript/highlights.scm → highlights.scm} +0 -0
  70. /package/tree-sitter/queries/{rapydscript/indents.scm → indents.scm} +0 -0
  71. /package/tree-sitter/queries/{rapydscript/injections.scm → injections.scm} +0 -0
  72. /package/tree-sitter/queries/{rapydscript/locals.scm → locals.scm} +0 -0
@@ -1,31 +1,31 @@
1
1
  {
2
- "ast": "c5334def1141b1d2413414a0cd0be2863c62f866",
3
- "baselib-builtins": "ef695c18f15e3687b1bf6e230e14292f1ce541d5",
4
- "baselib-containers": "0a8c43f79565f121a0cb3b54a1ddd50ed9e5de33",
5
- "baselib-errors": "f2423e1e2489bdd7fb8c8725bb76436898c8008c",
6
- "baselib-internal": "c6aa6170978905a12c79908be5268dd187a42662",
7
- "baselib-itertools": "ab1f3257642c8d26fab1ff9d392814a459a60cdb",
8
- "baselib-str": "d4db45dc7f65715cf4fecedd54de337949946054",
9
- "compiler": "cfbfceb0439fed3302f78d80b303dca713b25e7b",
10
- "errors": "d1b33848d19b141e19cc079cf78421f29b6d2c05",
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": "d05c1992cc91b337a4e4ff137b0aa3d626e6624b",
13
- "output/codegen": "75956ff394f24681b8b867769fe27e53aea5df41",
14
- "output/comments": "78ec38d8b34da96c078653e2d0d4049d7003906b",
15
- "output/exceptions": "c7d90155694c7108e94d0940a160ae83725421d7",
16
- "output/functions": "d93f8d01a1387aaffbf2888c7a885afa5da15a31",
17
- "output/literals": "ed4f371f4f0eb7f4f5fd0d13d6bd08a23d278177",
18
- "output/loops": "de20a38274dfa2d813e195d5d23928896fce6838",
19
- "output/modules": "d73313473fff4951a0f8061e31f3aa6fe63439cd",
20
- "output/operators": "bcda6aeab9214523252481c8dba2741c01f725bb",
21
- "output/statements": "be05be9514cbea692c96206fb3d13de8d3922eed",
22
- "output/stream": "85ac5b38683fa5c9c4015fed005a4e5e40bbe6f9",
23
- "output/utils": "595968f96f6fdcc51eb41c34d64c92bb595e3cb1",
24
- "parse": "ffa7eae73a20ca1499c3641bf7cdeeea2915e1d9",
25
- "string_interpolation": "bff1cc76d772d24d35707f6c794f38734ca08376",
26
- "tokenizer": "589147f8768c8d4ef1fc75aebfbfd592a65259d0",
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": "7cf5ce8d9d3ee38b8741146e13fe6ca3413d907f",
29
- "#compiler#": "d66b26de4d92a7add9187f36923e9864cbde4516",
30
- "#compiled_with#": "d66b26de4d92a7add9187f36923e9864cbde4516"
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"]