@scriptc/compiler 0.0.17 → 0.0.18

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 (51) hide show
  1. package/ambient/scriptc-node-fallback.d.ts +4 -4
  2. package/dist/backend/cc.d.ts +5 -0
  3. package/dist/backend/cc.js +2 -0
  4. package/dist/backend/cc.js.map +1 -1
  5. package/dist/backend/emission/emit-async.js +35 -2
  6. package/dist/backend/emission/emit-async.js.map +1 -1
  7. package/dist/backend/emission/emit-exprs.js +40 -4
  8. package/dist/backend/emission/emit-exprs.js.map +1 -1
  9. package/dist/backend/emission/emitter.js +69 -11
  10. package/dist/backend/emission/emitter.js.map +1 -1
  11. package/dist/backend/emission/may-throw.d.ts +3 -3
  12. package/dist/backend/emission/may-throw.js +15 -4
  13. package/dist/backend/emission/may-throw.js.map +1 -1
  14. package/dist/backend/llvm/emitter.js +199 -21
  15. package/dist/backend/llvm/emitter.js.map +1 -1
  16. package/dist/frontend/lowering/lower-builtins.js +4 -7
  17. package/dist/frontend/lowering/lower-builtins.js.map +1 -1
  18. package/dist/frontend/lowering/lower-calls.js +17 -9
  19. package/dist/frontend/lowering/lower-calls.js.map +1 -1
  20. package/dist/frontend/lowering/lower-containers.d.ts +22 -17
  21. package/dist/frontend/lowering/lower-containers.js +628 -51
  22. package/dist/frontend/lowering/lower-containers.js.map +1 -1
  23. package/dist/frontend/lowering/lower-exprs.js +19 -1
  24. package/dist/frontend/lowering/lower-exprs.js.map +1 -1
  25. package/dist/frontend/lowering/lower-island.js +55 -7
  26. package/dist/frontend/lowering/lower-island.js.map +1 -1
  27. package/dist/frontend/lowering/lower-modules.js +144 -10
  28. package/dist/frontend/lowering/lower-modules.js.map +1 -1
  29. package/dist/frontend/lowering/lower-stmts.d.ts +8 -0
  30. package/dist/frontend/lowering/lower-stmts.js +408 -21
  31. package/dist/frontend/lowering/lower-stmts.js.map +1 -1
  32. package/dist/frontend/lowering/lowerer.d.ts +38 -0
  33. package/dist/frontend/lowering/lowerer.js +149 -2
  34. package/dist/frontend/lowering/lowerer.js.map +1 -1
  35. package/dist/frontend/lowering/surfaces.js +4 -0
  36. package/dist/frontend/lowering/surfaces.js.map +1 -1
  37. package/dist/index.js +5 -1
  38. package/dist/index.js.map +1 -1
  39. package/dist/ir/nodes.d.ts +46 -12
  40. package/dist/ir/nodes.js +41 -0
  41. package/dist/ir/nodes.js.map +1 -1
  42. package/dist/ir/serialize.d.ts +1 -1
  43. package/dist/ir/serialize.js +1 -1
  44. package/dist/ir/validate.js +98 -39
  45. package/dist/ir/validate.js.map +1 -1
  46. package/dist/library/int-infer.js +191 -25
  47. package/dist/library/int-infer.js.map +1 -1
  48. package/dist/library/int-infer.test.js +206 -1
  49. package/dist/library/int-infer.test.js.map +1 -1
  50. package/package.json +2 -2
  51. package/surface-manifest.json +25 -1
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "schemaVersion": 1,
3
- "compilerVersion": "0.0.17",
3
+ "compilerVersion": "0.0.18",
4
4
  "coverage": [
5
5
  "Entries are projected mechanically from the compiler's own decision tables: the diagnostics registry, the unsupported-syntax dispatch tables, the stdlib and node-builtin lowering tables, and the supported-builtin-module list. Nothing is hand-maintained; the manifest regenerates byte-identically from the source tree at this version.",
6
6
  "Absence from this manifest means 'not projected', never 'unsupported'. Surfaces lowered through dedicated code paths rather than tables are not yet projected: console, JSON, Promise/async and the timer surface, the net/http/tls/https/dgram/dns/assert/test/stream/readline module member surfaces, template literals, the regex slice, global functions (parseInt, parseFloat, isNaN, isFinite), and the process surface outside its ambient slice.",
@@ -1984,6 +1984,30 @@
1984
1984
  "name": "Array.prototype.some",
1985
1985
  "status": "static"
1986
1986
  },
1987
+ {
1988
+ "id": "stdlib.array.toReversed",
1989
+ "kind": "stdlib",
1990
+ "name": "Array.prototype.toReversed",
1991
+ "status": "static"
1992
+ },
1993
+ {
1994
+ "id": "stdlib.array.toSorted",
1995
+ "kind": "stdlib",
1996
+ "name": "Array.prototype.toSorted",
1997
+ "status": "static"
1998
+ },
1999
+ {
2000
+ "id": "stdlib.array.toSpliced",
2001
+ "kind": "stdlib",
2002
+ "name": "Array.prototype.toSpliced",
2003
+ "status": "static"
2004
+ },
2005
+ {
2006
+ "id": "stdlib.array.with",
2007
+ "kind": "stdlib",
2008
+ "name": "Array.prototype.with",
2009
+ "status": "static"
2010
+ },
1987
2011
  {
1988
2012
  "id": "stdlib.date.UTC",
1989
2013
  "kind": "stdlib",