porffor 0.1.0 → 0.2.0-77e30e8

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 (658) hide show
  1. package/README.md +184 -204
  2. package/compiler/2c.js +377 -0
  3. package/compiler/builtins/base64.js +91 -91
  4. package/compiler/builtins.js +19 -13
  5. package/compiler/codeGen.js +1313 -418
  6. package/compiler/decompile.js +35 -9
  7. package/compiler/embedding.js +9 -5
  8. package/compiler/encoding.js +8 -2
  9. package/compiler/index.js +55 -17
  10. package/compiler/log.js +15 -0
  11. package/compiler/opt.js +357 -258
  12. package/compiler/parse.js +24 -1
  13. package/compiler/prototype.js +263 -56
  14. package/compiler/sections.js +51 -8
  15. package/compiler/wasmSpec.js +3 -0
  16. package/compiler/wrap.js +21 -7
  17. package/package.json +6 -1
  18. package/porf.cmd +1 -1
  19. package/rhemyn/README.md +37 -0
  20. package/rhemyn/compile.js +214 -0
  21. package/rhemyn/parse.js +321 -0
  22. package/rhemyn/test/parse.js +59 -0
  23. package/runner/index.js +54 -31
  24. package/runner/info.js +37 -2
  25. package/runner/profile.js +1 -2
  26. package/runner/repl.js +13 -11
  27. package/runner/results.json +1 -0
  28. package/runner/transform.js +15 -36
  29. package/runner/version.js +10 -0
  30. package/CNAME +0 -1
  31. package/index.html +0 -1264
  32. package/logo.png +0 -0
  33. package/sw.js +0 -26
  34. package/test/array_1.js +0 -8
  35. package/test/array_push.js +0 -8
  36. package/test/assignop_1.js +0 -15
  37. package/test/bitwise_1.js +0 -6
  38. package/test/bool_1.js +0 -3
  39. package/test/boolean.js +0 -6
  40. package/test/break_1.js +0 -6
  41. package/test/break_2.js +0 -12
  42. package/test/conditional_1.js +0 -3
  43. package/test/conditional_2.js +0 -4
  44. package/test/console_1.js +0 -2
  45. package/test/continue_1.js +0 -6
  46. package/test/continue_2.js +0 -10
  47. package/test/empty.js +0 -1
  48. package/test/ending_exp_1.js +0 -2
  49. package/test/ending_exp_2.js +0 -6
  50. package/test/eq_1.js +0 -4
  51. package/test/eq_2.js +0 -4
  52. package/test/eq_3.js +0 -5
  53. package/test/export_1.js +0 -9
  54. package/test/factorial.js +0 -3
  55. package/test/fibonacci.js +0 -16
  56. package/test/float_div0.js +0 -2
  57. package/test/float_frac.js +0 -2
  58. package/test/float_isfinite.js +0 -29
  59. package/test/float_isinteger.js +0 -13
  60. package/test/float_isnan.js +0 -20
  61. package/test/float_issafeinteger.js +0 -11
  62. package/test/float_large.js +0 -2
  63. package/test/float_math_funcs.js +0 -24
  64. package/test/float_math_random.js +0 -6
  65. package/test/float_nan.js +0 -3
  66. package/test/float_number_values.js +0 -12
  67. package/test/for_1.js +0 -4
  68. package/test/for_2.js +0 -4
  69. package/test/func_1.js +0 -16
  70. package/test/func_2.js +0 -6
  71. package/test/func_3.js +0 -10
  72. package/test/global_1.js +0 -8
  73. package/test/global_2.js +0 -10
  74. package/test/if_1.js +0 -6
  75. package/test/if_2.js +0 -9
  76. package/test/if_3.js +0 -7
  77. package/test/iife_1.js +0 -8
  78. package/test/iife_2.js +0 -8
  79. package/test/index.js +0 -93
  80. package/test/int_number_values.js +0 -6
  81. package/test/logic_1.js +0 -7
  82. package/test/logic_2.js +0 -7
  83. package/test/math_1.js +0 -6
  84. package/test/math_2.js +0 -12
  85. package/test/math_3.js +0 -6
  86. package/test/number_func.js +0 -4
  87. package/test/return_1.js +0 -8
  88. package/test/return_2.js +0 -11
  89. package/test/tailcall_1.js +0 -10
  90. package/test/throw_1.js +0 -2
  91. package/test/throw_2.js +0 -4
  92. package/test/throw_3.js +0 -2
  93. package/test/throw_4.js +0 -3
  94. package/test/try_1.js +0 -7
  95. package/test/unary_1.js +0 -4
  96. package/test/unary_2.js +0 -5
  97. package/test/unary_3.js +0 -6
  98. package/test/unary_4.js +0 -12
  99. package/test/unary_5.js +0 -8
  100. package/test/undefined_1.js +0 -8
  101. package/test/undefined_2.js +0 -10
  102. package/test/updateexp_1.js +0 -9
  103. package/test/vars_1.js +0 -5
  104. package/test/vars_2.js +0 -9
  105. package/test/while_1.js +0 -6
  106. package/test262/compare.js +0 -30
  107. package/test262/index.js +0 -314
  108. package/test262/node_modules/.bin/esparse +0 -12
  109. package/test262/node_modules/.bin/esparse.cmd +0 -17
  110. package/test262/node_modules/.bin/esparse.ps1 +0 -28
  111. package/test262/node_modules/.bin/esvalidate +0 -12
  112. package/test262/node_modules/.bin/esvalidate.cmd +0 -17
  113. package/test262/node_modules/.bin/esvalidate.ps1 +0 -28
  114. package/test262/node_modules/.bin/js-yaml +0 -12
  115. package/test262/node_modules/.bin/js-yaml.cmd +0 -17
  116. package/test262/node_modules/.bin/js-yaml.ps1 +0 -28
  117. package/test262/node_modules/.package-lock.json +0 -0
  118. package/test262/node_modules/@nodelib/fs.scandir/LICENSE +0 -21
  119. package/test262/node_modules/@nodelib/fs.scandir/README.md +0 -171
  120. package/test262/node_modules/@nodelib/fs.scandir/out/adapters/fs.d.ts +0 -20
  121. package/test262/node_modules/@nodelib/fs.scandir/out/adapters/fs.js +0 -19
  122. package/test262/node_modules/@nodelib/fs.scandir/out/constants.d.ts +0 -4
  123. package/test262/node_modules/@nodelib/fs.scandir/out/constants.js +0 -17
  124. package/test262/node_modules/@nodelib/fs.scandir/out/index.d.ts +0 -12
  125. package/test262/node_modules/@nodelib/fs.scandir/out/index.js +0 -26
  126. package/test262/node_modules/@nodelib/fs.scandir/out/providers/async.d.ts +0 -7
  127. package/test262/node_modules/@nodelib/fs.scandir/out/providers/async.js +0 -104
  128. package/test262/node_modules/@nodelib/fs.scandir/out/providers/common.d.ts +0 -1
  129. package/test262/node_modules/@nodelib/fs.scandir/out/providers/common.js +0 -13
  130. package/test262/node_modules/@nodelib/fs.scandir/out/providers/sync.d.ts +0 -5
  131. package/test262/node_modules/@nodelib/fs.scandir/out/providers/sync.js +0 -54
  132. package/test262/node_modules/@nodelib/fs.scandir/out/settings.d.ts +0 -20
  133. package/test262/node_modules/@nodelib/fs.scandir/out/settings.js +0 -24
  134. package/test262/node_modules/@nodelib/fs.scandir/out/types/index.d.ts +0 -20
  135. package/test262/node_modules/@nodelib/fs.scandir/out/types/index.js +0 -2
  136. package/test262/node_modules/@nodelib/fs.scandir/out/utils/fs.d.ts +0 -2
  137. package/test262/node_modules/@nodelib/fs.scandir/out/utils/fs.js +0 -19
  138. package/test262/node_modules/@nodelib/fs.scandir/out/utils/index.d.ts +0 -2
  139. package/test262/node_modules/@nodelib/fs.scandir/out/utils/index.js +0 -5
  140. package/test262/node_modules/@nodelib/fs.scandir/package.json +0 -44
  141. package/test262/node_modules/@nodelib/fs.stat/LICENSE +0 -21
  142. package/test262/node_modules/@nodelib/fs.stat/README.md +0 -126
  143. package/test262/node_modules/@nodelib/fs.stat/out/adapters/fs.d.ts +0 -13
  144. package/test262/node_modules/@nodelib/fs.stat/out/adapters/fs.js +0 -17
  145. package/test262/node_modules/@nodelib/fs.stat/out/index.d.ts +0 -12
  146. package/test262/node_modules/@nodelib/fs.stat/out/index.js +0 -26
  147. package/test262/node_modules/@nodelib/fs.stat/out/providers/async.d.ts +0 -4
  148. package/test262/node_modules/@nodelib/fs.stat/out/providers/async.js +0 -36
  149. package/test262/node_modules/@nodelib/fs.stat/out/providers/sync.d.ts +0 -3
  150. package/test262/node_modules/@nodelib/fs.stat/out/providers/sync.js +0 -23
  151. package/test262/node_modules/@nodelib/fs.stat/out/settings.d.ts +0 -16
  152. package/test262/node_modules/@nodelib/fs.stat/out/settings.js +0 -16
  153. package/test262/node_modules/@nodelib/fs.stat/out/types/index.d.ts +0 -4
  154. package/test262/node_modules/@nodelib/fs.stat/out/types/index.js +0 -2
  155. package/test262/node_modules/@nodelib/fs.stat/package.json +0 -37
  156. package/test262/node_modules/@nodelib/fs.walk/LICENSE +0 -21
  157. package/test262/node_modules/@nodelib/fs.walk/README.md +0 -215
  158. package/test262/node_modules/@nodelib/fs.walk/out/index.d.ts +0 -14
  159. package/test262/node_modules/@nodelib/fs.walk/out/index.js +0 -34
  160. package/test262/node_modules/@nodelib/fs.walk/out/providers/async.d.ts +0 -12
  161. package/test262/node_modules/@nodelib/fs.walk/out/providers/async.js +0 -30
  162. package/test262/node_modules/@nodelib/fs.walk/out/providers/index.d.ts +0 -4
  163. package/test262/node_modules/@nodelib/fs.walk/out/providers/index.js +0 -9
  164. package/test262/node_modules/@nodelib/fs.walk/out/providers/stream.d.ts +0 -12
  165. package/test262/node_modules/@nodelib/fs.walk/out/providers/stream.js +0 -34
  166. package/test262/node_modules/@nodelib/fs.walk/out/providers/sync.d.ts +0 -10
  167. package/test262/node_modules/@nodelib/fs.walk/out/providers/sync.js +0 -14
  168. package/test262/node_modules/@nodelib/fs.walk/out/readers/async.d.ts +0 -30
  169. package/test262/node_modules/@nodelib/fs.walk/out/readers/async.js +0 -97
  170. package/test262/node_modules/@nodelib/fs.walk/out/readers/common.d.ts +0 -7
  171. package/test262/node_modules/@nodelib/fs.walk/out/readers/common.js +0 -31
  172. package/test262/node_modules/@nodelib/fs.walk/out/readers/reader.d.ts +0 -6
  173. package/test262/node_modules/@nodelib/fs.walk/out/readers/reader.js +0 -11
  174. package/test262/node_modules/@nodelib/fs.walk/out/readers/sync.d.ts +0 -15
  175. package/test262/node_modules/@nodelib/fs.walk/out/readers/sync.js +0 -59
  176. package/test262/node_modules/@nodelib/fs.walk/out/settings.d.ts +0 -30
  177. package/test262/node_modules/@nodelib/fs.walk/out/settings.js +0 -26
  178. package/test262/node_modules/@nodelib/fs.walk/out/types/index.d.ts +0 -8
  179. package/test262/node_modules/@nodelib/fs.walk/out/types/index.js +0 -2
  180. package/test262/node_modules/@nodelib/fs.walk/package.json +0 -44
  181. package/test262/node_modules/argparse/CHANGELOG.md +0 -185
  182. package/test262/node_modules/argparse/LICENSE +0 -21
  183. package/test262/node_modules/argparse/README.md +0 -257
  184. package/test262/node_modules/argparse/index.js +0 -3
  185. package/test262/node_modules/argparse/lib/action/append/constant.js +0 -47
  186. package/test262/node_modules/argparse/lib/action/append.js +0 -53
  187. package/test262/node_modules/argparse/lib/action/count.js +0 -40
  188. package/test262/node_modules/argparse/lib/action/help.js +0 -47
  189. package/test262/node_modules/argparse/lib/action/store/constant.js +0 -43
  190. package/test262/node_modules/argparse/lib/action/store/false.js +0 -27
  191. package/test262/node_modules/argparse/lib/action/store/true.js +0 -26
  192. package/test262/node_modules/argparse/lib/action/store.js +0 -50
  193. package/test262/node_modules/argparse/lib/action/subparsers.js +0 -149
  194. package/test262/node_modules/argparse/lib/action/version.js +0 -47
  195. package/test262/node_modules/argparse/lib/action.js +0 -146
  196. package/test262/node_modules/argparse/lib/action_container.js +0 -482
  197. package/test262/node_modules/argparse/lib/argparse.js +0 -14
  198. package/test262/node_modules/argparse/lib/argument/error.js +0 -50
  199. package/test262/node_modules/argparse/lib/argument/exclusive.js +0 -54
  200. package/test262/node_modules/argparse/lib/argument/group.js +0 -75
  201. package/test262/node_modules/argparse/lib/argument_parser.js +0 -1161
  202. package/test262/node_modules/argparse/lib/const.js +0 -21
  203. package/test262/node_modules/argparse/lib/help/added_formatters.js +0 -87
  204. package/test262/node_modules/argparse/lib/help/formatter.js +0 -795
  205. package/test262/node_modules/argparse/lib/namespace.js +0 -76
  206. package/test262/node_modules/argparse/lib/utils.js +0 -57
  207. package/test262/node_modules/argparse/package.json +0 -34
  208. package/test262/node_modules/braces/CHANGELOG.md +0 -184
  209. package/test262/node_modules/braces/LICENSE +0 -21
  210. package/test262/node_modules/braces/README.md +0 -593
  211. package/test262/node_modules/braces/index.js +0 -170
  212. package/test262/node_modules/braces/lib/compile.js +0 -57
  213. package/test262/node_modules/braces/lib/constants.js +0 -57
  214. package/test262/node_modules/braces/lib/expand.js +0 -113
  215. package/test262/node_modules/braces/lib/parse.js +0 -333
  216. package/test262/node_modules/braces/lib/stringify.js +0 -32
  217. package/test262/node_modules/braces/lib/utils.js +0 -112
  218. package/test262/node_modules/braces/package.json +0 -77
  219. package/test262/node_modules/esprima/ChangeLog +0 -235
  220. package/test262/node_modules/esprima/LICENSE.BSD +0 -21
  221. package/test262/node_modules/esprima/README.md +0 -46
  222. package/test262/node_modules/esprima/bin/esparse.js +0 -139
  223. package/test262/node_modules/esprima/bin/esvalidate.js +0 -236
  224. package/test262/node_modules/esprima/dist/esprima.js +0 -6709
  225. package/test262/node_modules/esprima/package.json +0 -112
  226. package/test262/node_modules/fast-glob/LICENSE +0 -21
  227. package/test262/node_modules/fast-glob/README.md +0 -859
  228. package/test262/node_modules/fast-glob/out/index.d.ts +0 -40
  229. package/test262/node_modules/fast-glob/out/index.js +0 -102
  230. package/test262/node_modules/fast-glob/out/managers/tasks.d.ts +0 -22
  231. package/test262/node_modules/fast-glob/out/managers/tasks.js +0 -110
  232. package/test262/node_modules/fast-glob/out/providers/async.d.ts +0 -9
  233. package/test262/node_modules/fast-glob/out/providers/async.js +0 -23
  234. package/test262/node_modules/fast-glob/out/providers/filters/deep.d.ts +0 -16
  235. package/test262/node_modules/fast-glob/out/providers/filters/deep.js +0 -62
  236. package/test262/node_modules/fast-glob/out/providers/filters/entry.d.ts +0 -16
  237. package/test262/node_modules/fast-glob/out/providers/filters/entry.js +0 -63
  238. package/test262/node_modules/fast-glob/out/providers/filters/error.d.ts +0 -8
  239. package/test262/node_modules/fast-glob/out/providers/filters/error.js +0 -15
  240. package/test262/node_modules/fast-glob/out/providers/matchers/matcher.d.ts +0 -33
  241. package/test262/node_modules/fast-glob/out/providers/matchers/matcher.js +0 -45
  242. package/test262/node_modules/fast-glob/out/providers/matchers/partial.d.ts +0 -4
  243. package/test262/node_modules/fast-glob/out/providers/matchers/partial.js +0 -38
  244. package/test262/node_modules/fast-glob/out/providers/provider.d.ts +0 -19
  245. package/test262/node_modules/fast-glob/out/providers/provider.js +0 -48
  246. package/test262/node_modules/fast-glob/out/providers/stream.d.ts +0 -11
  247. package/test262/node_modules/fast-glob/out/providers/stream.js +0 -31
  248. package/test262/node_modules/fast-glob/out/providers/sync.d.ts +0 -9
  249. package/test262/node_modules/fast-glob/out/providers/sync.js +0 -23
  250. package/test262/node_modules/fast-glob/out/providers/transformers/entry.d.ts +0 -8
  251. package/test262/node_modules/fast-glob/out/providers/transformers/entry.js +0 -26
  252. package/test262/node_modules/fast-glob/out/readers/async.d.ts +0 -10
  253. package/test262/node_modules/fast-glob/out/readers/async.js +0 -35
  254. package/test262/node_modules/fast-glob/out/readers/reader.d.ts +0 -15
  255. package/test262/node_modules/fast-glob/out/readers/reader.js +0 -33
  256. package/test262/node_modules/fast-glob/out/readers/stream.d.ts +0 -14
  257. package/test262/node_modules/fast-glob/out/readers/stream.js +0 -55
  258. package/test262/node_modules/fast-glob/out/readers/sync.d.ts +0 -12
  259. package/test262/node_modules/fast-glob/out/readers/sync.js +0 -43
  260. package/test262/node_modules/fast-glob/out/settings.d.ts +0 -164
  261. package/test262/node_modules/fast-glob/out/settings.js +0 -57
  262. package/test262/node_modules/fast-glob/out/types/index.d.ts +0 -31
  263. package/test262/node_modules/fast-glob/out/types/index.js +0 -2
  264. package/test262/node_modules/fast-glob/out/utils/array.d.ts +0 -2
  265. package/test262/node_modules/fast-glob/out/utils/array.js +0 -22
  266. package/test262/node_modules/fast-glob/out/utils/errno.d.ts +0 -2
  267. package/test262/node_modules/fast-glob/out/utils/errno.js +0 -7
  268. package/test262/node_modules/fast-glob/out/utils/fs.d.ts +0 -4
  269. package/test262/node_modules/fast-glob/out/utils/fs.js +0 -19
  270. package/test262/node_modules/fast-glob/out/utils/index.d.ts +0 -8
  271. package/test262/node_modules/fast-glob/out/utils/index.js +0 -17
  272. package/test262/node_modules/fast-glob/out/utils/path.d.ts +0 -13
  273. package/test262/node_modules/fast-glob/out/utils/path.js +0 -68
  274. package/test262/node_modules/fast-glob/out/utils/pattern.d.ts +0 -47
  275. package/test262/node_modules/fast-glob/out/utils/pattern.js +0 -188
  276. package/test262/node_modules/fast-glob/out/utils/stream.d.ts +0 -4
  277. package/test262/node_modules/fast-glob/out/utils/stream.js +0 -17
  278. package/test262/node_modules/fast-glob/out/utils/string.d.ts +0 -2
  279. package/test262/node_modules/fast-glob/out/utils/string.js +0 -11
  280. package/test262/node_modules/fast-glob/package.json +0 -81
  281. package/test262/node_modules/fastq/.github/dependabot.yml +0 -11
  282. package/test262/node_modules/fastq/.github/workflows/ci.yml +0 -50
  283. package/test262/node_modules/fastq/LICENSE +0 -13
  284. package/test262/node_modules/fastq/README.md +0 -309
  285. package/test262/node_modules/fastq/bench.js +0 -66
  286. package/test262/node_modules/fastq/example.js +0 -14
  287. package/test262/node_modules/fastq/example.mjs +0 -11
  288. package/test262/node_modules/fastq/index.d.ts +0 -37
  289. package/test262/node_modules/fastq/package.json +0 -52
  290. package/test262/node_modules/fastq/queue.js +0 -289
  291. package/test262/node_modules/fastq/test/example.ts +0 -81
  292. package/test262/node_modules/fastq/test/promise.js +0 -248
  293. package/test262/node_modules/fastq/test/test.js +0 -566
  294. package/test262/node_modules/fastq/test/tsconfig.json +0 -11
  295. package/test262/node_modules/fill-range/LICENSE +0 -21
  296. package/test262/node_modules/fill-range/README.md +0 -237
  297. package/test262/node_modules/fill-range/index.js +0 -249
  298. package/test262/node_modules/fill-range/package.json +0 -69
  299. package/test262/node_modules/glob-parent/CHANGELOG.md +0 -110
  300. package/test262/node_modules/glob-parent/LICENSE +0 -15
  301. package/test262/node_modules/glob-parent/README.md +0 -137
  302. package/test262/node_modules/glob-parent/index.js +0 -42
  303. package/test262/node_modules/glob-parent/package.json +0 -48
  304. package/test262/node_modules/graceful-fs/LICENSE +0 -15
  305. package/test262/node_modules/graceful-fs/README.md +0 -143
  306. package/test262/node_modules/graceful-fs/clone.js +0 -23
  307. package/test262/node_modules/graceful-fs/graceful-fs.js +0 -448
  308. package/test262/node_modules/graceful-fs/legacy-streams.js +0 -118
  309. package/test262/node_modules/graceful-fs/package.json +0 -53
  310. package/test262/node_modules/graceful-fs/polyfills.js +0 -355
  311. package/test262/node_modules/is-extglob/LICENSE +0 -21
  312. package/test262/node_modules/is-extglob/README.md +0 -107
  313. package/test262/node_modules/is-extglob/index.js +0 -20
  314. package/test262/node_modules/is-extglob/package.json +0 -69
  315. package/test262/node_modules/is-glob/LICENSE +0 -21
  316. package/test262/node_modules/is-glob/README.md +0 -206
  317. package/test262/node_modules/is-glob/index.js +0 -150
  318. package/test262/node_modules/is-glob/package.json +0 -81
  319. package/test262/node_modules/is-number/LICENSE +0 -21
  320. package/test262/node_modules/is-number/README.md +0 -187
  321. package/test262/node_modules/is-number/index.js +0 -18
  322. package/test262/node_modules/is-number/package.json +0 -82
  323. package/test262/node_modules/js-yaml/CHANGELOG.md +0 -557
  324. package/test262/node_modules/js-yaml/LICENSE +0 -21
  325. package/test262/node_modules/js-yaml/README.md +0 -299
  326. package/test262/node_modules/js-yaml/bin/js-yaml.js +0 -132
  327. package/test262/node_modules/js-yaml/dist/js-yaml.js +0 -3989
  328. package/test262/node_modules/js-yaml/dist/js-yaml.min.js +0 -1
  329. package/test262/node_modules/js-yaml/index.js +0 -7
  330. package/test262/node_modules/js-yaml/lib/js-yaml/common.js +0 -59
  331. package/test262/node_modules/js-yaml/lib/js-yaml/dumper.js +0 -850
  332. package/test262/node_modules/js-yaml/lib/js-yaml/exception.js +0 -43
  333. package/test262/node_modules/js-yaml/lib/js-yaml/loader.js +0 -1644
  334. package/test262/node_modules/js-yaml/lib/js-yaml/mark.js +0 -76
  335. package/test262/node_modules/js-yaml/lib/js-yaml/schema/core.js +0 -18
  336. package/test262/node_modules/js-yaml/lib/js-yaml/schema/default_full.js +0 -25
  337. package/test262/node_modules/js-yaml/lib/js-yaml/schema/default_safe.js +0 -28
  338. package/test262/node_modules/js-yaml/lib/js-yaml/schema/failsafe.js +0 -17
  339. package/test262/node_modules/js-yaml/lib/js-yaml/schema/json.js +0 -25
  340. package/test262/node_modules/js-yaml/lib/js-yaml/schema.js +0 -108
  341. package/test262/node_modules/js-yaml/lib/js-yaml/type/binary.js +0 -138
  342. package/test262/node_modules/js-yaml/lib/js-yaml/type/bool.js +0 -35
  343. package/test262/node_modules/js-yaml/lib/js-yaml/type/float.js +0 -116
  344. package/test262/node_modules/js-yaml/lib/js-yaml/type/int.js +0 -173
  345. package/test262/node_modules/js-yaml/lib/js-yaml/type/js/function.js +0 -93
  346. package/test262/node_modules/js-yaml/lib/js-yaml/type/js/regexp.js +0 -60
  347. package/test262/node_modules/js-yaml/lib/js-yaml/type/js/undefined.js +0 -28
  348. package/test262/node_modules/js-yaml/lib/js-yaml/type/map.js +0 -8
  349. package/test262/node_modules/js-yaml/lib/js-yaml/type/merge.js +0 -12
  350. package/test262/node_modules/js-yaml/lib/js-yaml/type/null.js +0 -34
  351. package/test262/node_modules/js-yaml/lib/js-yaml/type/omap.js +0 -44
  352. package/test262/node_modules/js-yaml/lib/js-yaml/type/pairs.js +0 -53
  353. package/test262/node_modules/js-yaml/lib/js-yaml/type/seq.js +0 -8
  354. package/test262/node_modules/js-yaml/lib/js-yaml/type/set.js +0 -29
  355. package/test262/node_modules/js-yaml/lib/js-yaml/type/str.js +0 -8
  356. package/test262/node_modules/js-yaml/lib/js-yaml/type/timestamp.js +0 -88
  357. package/test262/node_modules/js-yaml/lib/js-yaml/type.js +0 -61
  358. package/test262/node_modules/js-yaml/lib/js-yaml.js +0 -39
  359. package/test262/node_modules/js-yaml/package.json +0 -49
  360. package/test262/node_modules/klaw/CHANGELOG.md +0 -62
  361. package/test262/node_modules/klaw/LICENSE +0 -15
  362. package/test262/node_modules/klaw/README.md +0 -252
  363. package/test262/node_modules/klaw/package.json +0 -40
  364. package/test262/node_modules/klaw/src/index.js +0 -56
  365. package/test262/node_modules/merge2/LICENSE +0 -21
  366. package/test262/node_modules/merge2/README.md +0 -144
  367. package/test262/node_modules/merge2/index.js +0 -144
  368. package/test262/node_modules/merge2/package.json +0 -43
  369. package/test262/node_modules/micromatch/LICENSE +0 -21
  370. package/test262/node_modules/micromatch/README.md +0 -1011
  371. package/test262/node_modules/micromatch/index.js +0 -467
  372. package/test262/node_modules/micromatch/package.json +0 -119
  373. package/test262/node_modules/picomatch/CHANGELOG.md +0 -136
  374. package/test262/node_modules/picomatch/LICENSE +0 -21
  375. package/test262/node_modules/picomatch/README.md +0 -708
  376. package/test262/node_modules/picomatch/index.js +0 -3
  377. package/test262/node_modules/picomatch/lib/constants.js +0 -179
  378. package/test262/node_modules/picomatch/lib/parse.js +0 -1091
  379. package/test262/node_modules/picomatch/lib/picomatch.js +0 -342
  380. package/test262/node_modules/picomatch/lib/scan.js +0 -391
  381. package/test262/node_modules/picomatch/lib/utils.js +0 -64
  382. package/test262/node_modules/picomatch/package.json +0 -81
  383. package/test262/node_modules/queue-microtask/LICENSE +0 -20
  384. package/test262/node_modules/queue-microtask/README.md +0 -90
  385. package/test262/node_modules/queue-microtask/index.d.ts +0 -2
  386. package/test262/node_modules/queue-microtask/index.js +0 -9
  387. package/test262/node_modules/queue-microtask/package.json +0 -55
  388. package/test262/node_modules/reusify/.coveralls.yml +0 -1
  389. package/test262/node_modules/reusify/.travis.yml +0 -28
  390. package/test262/node_modules/reusify/LICENSE +0 -22
  391. package/test262/node_modules/reusify/README.md +0 -145
  392. package/test262/node_modules/reusify/benchmarks/createNoCodeFunction.js +0 -30
  393. package/test262/node_modules/reusify/benchmarks/fib.js +0 -13
  394. package/test262/node_modules/reusify/benchmarks/reuseNoCodeFunction.js +0 -38
  395. package/test262/node_modules/reusify/package.json +0 -45
  396. package/test262/node_modules/reusify/reusify.js +0 -33
  397. package/test262/node_modules/reusify/test.js +0 -66
  398. package/test262/node_modules/run-parallel/LICENSE +0 -20
  399. package/test262/node_modules/run-parallel/README.md +0 -85
  400. package/test262/node_modules/run-parallel/index.js +0 -51
  401. package/test262/node_modules/run-parallel/package.json +0 -58
  402. package/test262/node_modules/sprintf-js/LICENSE +0 -24
  403. package/test262/node_modules/sprintf-js/README.md +0 -88
  404. package/test262/node_modules/sprintf-js/bower.json +0 -14
  405. package/test262/node_modules/sprintf-js/demo/angular.html +0 -20
  406. package/test262/node_modules/sprintf-js/dist/angular-sprintf.min.js +0 -4
  407. package/test262/node_modules/sprintf-js/dist/angular-sprintf.min.js.map +0 -1
  408. package/test262/node_modules/sprintf-js/dist/angular-sprintf.min.map +0 -1
  409. package/test262/node_modules/sprintf-js/dist/sprintf.min.js +0 -4
  410. package/test262/node_modules/sprintf-js/dist/sprintf.min.js.map +0 -1
  411. package/test262/node_modules/sprintf-js/dist/sprintf.min.map +0 -1
  412. package/test262/node_modules/sprintf-js/gruntfile.js +0 -36
  413. package/test262/node_modules/sprintf-js/package.json +0 -22
  414. package/test262/node_modules/sprintf-js/src/angular-sprintf.js +0 -18
  415. package/test262/node_modules/sprintf-js/src/sprintf.js +0 -208
  416. package/test262/node_modules/sprintf-js/test/test.js +0 -82
  417. package/test262/node_modules/test262-stream/.jshintignore +0 -2
  418. package/test262/node_modules/test262-stream/.jshintrc +0 -6
  419. package/test262/node_modules/test262-stream/.travis.yml +0 -5
  420. package/test262/node_modules/test262-stream/CONTRIBUTING.md +0 -37
  421. package/test262/node_modules/test262-stream/LICENSE-MICROSOFT.txt +0 -27
  422. package/test262/node_modules/test262-stream/LICENSE.txt +0 -27
  423. package/test262/node_modules/test262-stream/README.md +0 -71
  424. package/test262/node_modules/test262-stream/lib/builder.js +0 -46
  425. package/test262/node_modules/test262-stream/lib/compile.js +0 -24
  426. package/test262/node_modules/test262-stream/lib/create-scenarios.js +0 -29
  427. package/test262/node_modules/test262-stream/lib/index.js +0 -187
  428. package/test262/node_modules/test262-stream/lib/test-file.js +0 -150
  429. package/test262/node_modules/test262-stream/package.json +0 -26
  430. package/test262/node_modules/test262-stream/test/collateral/invalid-missing-harness/fake-test262/test/a-test-file.js +0 -16
  431. package/test262/node_modules/test262-stream/test/collateral/invalid-version-other-accepted/fake-test262/harness/assert.js +0 -17
  432. package/test262/node_modules/test262-stream/test/collateral/invalid-version-other-accepted/fake-test262/harness/doneprintHandle.js +0 -6
  433. package/test262/node_modules/test262-stream/test/collateral/invalid-version-other-accepted/fake-test262/harness/sta.js +0 -12
  434. package/test262/node_modules/test262-stream/test/collateral/invalid-version-other-accepted/fake-test262/package.json +0 -3
  435. package/test262/node_modules/test262-stream/test/collateral/invalid-version-other-accepted/fake-test262/test/strict.js +0 -9
  436. package/test262/node_modules/test262-stream/test/collateral/invalid-version-unsupported/fake-test262/harness/assert.js +0 -17
  437. package/test262/node_modules/test262-stream/test/collateral/invalid-version-unsupported/fake-test262/harness/doneprintHandle.js +0 -6
  438. package/test262/node_modules/test262-stream/test/collateral/invalid-version-unsupported/fake-test262/harness/sta.js +0 -12
  439. package/test262/node_modules/test262-stream/test/collateral/invalid-version-unsupported/fake-test262/package.json +0 -3
  440. package/test262/node_modules/test262-stream/test/collateral/invalid-version-unsupported/fake-test262/test/strict.js +0 -9
  441. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-content/test/asyncNegative_default.js +0 -49
  442. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-content/test/asyncNegative_strict_mode.js +0 -50
  443. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-content/test/async_default.js +0 -48
  444. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-content/test/async_strict_mode.js +0 -49
  445. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-content/test/bothStrict_default.js +0 -46
  446. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-content/test/bothStrict_strict_mode.js +0 -47
  447. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-content/test/error_default.js +0 -39
  448. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-content/test/error_strict_mode.js +0 -40
  449. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-content/test/module_default.js +0 -37
  450. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-content/test/module_strict_mode.js +0 -38
  451. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-content/test/negative-empty_default.js +0 -37
  452. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-content/test/negative-empty_strict_mode.js +0 -38
  453. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-content/test/noStrict_default.js +0 -36
  454. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-content/test/rawNoStrict_default.js +0 -14
  455. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-content/test/rawStrict_default.js +0 -15
  456. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-content/test/strict_strict_mode.js +0 -41
  457. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-metadata/test/asyncNegative_default.json +0 -22
  458. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-metadata/test/asyncNegative_strict_mode.json +0 -22
  459. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-metadata/test/async_default.json +0 -18
  460. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-metadata/test/async_strict_mode.json +0 -18
  461. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-metadata/test/bothStrict_default.json +0 -24
  462. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-metadata/test/bothStrict_strict_mode.json +0 -24
  463. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-metadata/test/error_default.json +0 -19
  464. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-metadata/test/error_strict_mode.json +0 -19
  465. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-metadata/test/module_default.json +0 -17
  466. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-metadata/test/module_strict_mode.json +0 -17
  467. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-metadata/test/negative-empty_default.json +0 -19
  468. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-metadata/test/negative-empty_strict_mode.json +0 -19
  469. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-metadata/test/noStrict_default.json +0 -17
  470. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-metadata/test/rawNoStrict_default.json +0 -14
  471. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-metadata/test/rawStrict_default.json +0 -14
  472. package/test262/node_modules/test262-stream/test/collateral/valid-default/expected-metadata/test/strict_strict_mode.json +0 -21
  473. package/test262/node_modules/test262-stream/test/collateral/valid-default/fake-test262/harness/assert.js +0 -17
  474. package/test262/node_modules/test262-stream/test/collateral/valid-default/fake-test262/harness/doneprintHandle.js +0 -6
  475. package/test262/node_modules/test262-stream/test/collateral/valid-default/fake-test262/harness/sta.js +0 -12
  476. package/test262/node_modules/test262-stream/test/collateral/valid-default/fake-test262/test/async.js +0 -10
  477. package/test262/node_modules/test262-stream/test/collateral/valid-default/fake-test262/test/asyncNegative.js +0 -11
  478. package/test262/node_modules/test262-stream/test/collateral/valid-default/fake-test262/test/bothStrict.js +0 -15
  479. package/test262/node_modules/test262-stream/test/collateral/valid-default/fake-test262/test/error.js +0 -8
  480. package/test262/node_modules/test262-stream/test/collateral/valid-default/fake-test262/test/module.js +0 -6
  481. package/test262/node_modules/test262-stream/test/collateral/valid-default/fake-test262/test/module_FIXTURE.js +0 -2
  482. package/test262/node_modules/test262-stream/test/collateral/valid-default/fake-test262/test/negative-empty.js +0 -6
  483. package/test262/node_modules/test262-stream/test/collateral/valid-default/fake-test262/test/noStrict.js +0 -5
  484. package/test262/node_modules/test262-stream/test/collateral/valid-default/fake-test262/test/rawNoStrict.js +0 -14
  485. package/test262/node_modules/test262-stream/test/collateral/valid-default/fake-test262/test/rawStrict.js +0 -15
  486. package/test262/node_modules/test262-stream/test/collateral/valid-default/fake-test262/test/strict.js +0 -9
  487. package/test262/node_modules/test262-stream/test/collateral/valid-extra-files/expected-content/test/bothStrict_default.js +0 -46
  488. package/test262/node_modules/test262-stream/test/collateral/valid-extra-files/expected-content/test/bothStrict_strict_mode.js +0 -47
  489. package/test262/node_modules/test262-stream/test/collateral/valid-extra-files/expected-metadata/test/bothStrict_default.json +0 -24
  490. package/test262/node_modules/test262-stream/test/collateral/valid-extra-files/expected-metadata/test/bothStrict_strict_mode.json +0 -24
  491. package/test262/node_modules/test262-stream/test/collateral/valid-extra-files/fake-test262/harness/assert.js +0 -17
  492. package/test262/node_modules/test262-stream/test/collateral/valid-extra-files/fake-test262/harness/doneprintHandle.js +0 -6
  493. package/test262/node_modules/test262-stream/test/collateral/valid-extra-files/fake-test262/harness/sta.js +0 -12
  494. package/test262/node_modules/test262-stream/test/collateral/valid-extra-files/fake-test262/test/bothStrict.js +0 -15
  495. package/test262/node_modules/test262-stream/test/collateral/valid-extra-files/fake-test262/test/zzz-0_FIXTURE.js +0 -2
  496. package/test262/node_modules/test262-stream/test/collateral/valid-extra-files/fake-test262/test/zzz-1_FIXTURE.js +0 -2
  497. package/test262/node_modules/test262-stream/test/collateral/valid-extra-files/fake-test262/test/zzz-2_FIXTURE.js +0 -2
  498. package/test262/node_modules/test262-stream/test/collateral/valid-extra-files/fake-test262/test/zzz-3_FIXTURE.js +0 -2
  499. package/test262/node_modules/test262-stream/test/collateral/valid-extra-files/fake-test262/test/zzz-4_FIXTURE.js +0 -2
  500. package/test262/node_modules/test262-stream/test/collateral/valid-extra-files/fake-test262/test/zzz-5_FIXTURE.js +0 -2
  501. package/test262/node_modules/test262-stream/test/collateral/valid-extra-files/fake-test262/test/zzz-6_FIXTURE.js +0 -2
  502. package/test262/node_modules/test262-stream/test/collateral/valid-extra-files/fake-test262/test/zzz-7_FIXTURE.js +0 -2
  503. package/test262/node_modules/test262-stream/test/collateral/valid-extra-files/fake-test262/test/zzz-8_FIXTURE.js +0 -2
  504. package/test262/node_modules/test262-stream/test/collateral/valid-extra-files/fake-test262/test/zzz-9_FIXTURE.txt +0 -2
  505. package/test262/node_modules/test262-stream/test/collateral/valid-insertionindex-with-copyright/expected-content/test/raw_default.js +0 -15
  506. package/test262/node_modules/test262-stream/test/collateral/valid-insertionindex-with-copyright/expected-content/test/runtime_default.js +0 -38
  507. package/test262/node_modules/test262-stream/test/collateral/valid-insertionindex-with-copyright/expected-content/test/runtime_strict_mode.js +0 -39
  508. package/test262/node_modules/test262-stream/test/collateral/valid-insertionindex-with-copyright/expected-metadata/test/raw_default.json +0 -14
  509. package/test262/node_modules/test262-stream/test/collateral/valid-insertionindex-with-copyright/expected-metadata/test/runtime_default.json +0 -15
  510. package/test262/node_modules/test262-stream/test/collateral/valid-insertionindex-with-copyright/expected-metadata/test/runtime_strict_mode.json +0 -15
  511. package/test262/node_modules/test262-stream/test/collateral/valid-insertionindex-with-copyright/fake-test262/harness/assert.js +0 -17
  512. package/test262/node_modules/test262-stream/test/collateral/valid-insertionindex-with-copyright/fake-test262/harness/sta.js +0 -12
  513. package/test262/node_modules/test262-stream/test/collateral/valid-insertionindex-with-copyright/fake-test262/test/raw.js +0 -15
  514. package/test262/node_modules/test262-stream/test/collateral/valid-insertionindex-with-copyright/fake-test262/test/runtime.js +0 -7
  515. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-content/test/asyncNegative_default.js +0 -11
  516. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-content/test/asyncNegative_strict_mode.js +0 -12
  517. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-content/test/async_default.js +0 -10
  518. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-content/test/async_strict_mode.js +0 -11
  519. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-content/test/bothStrict_default.js +0 -15
  520. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-content/test/bothStrict_strict_mode.js +0 -16
  521. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-content/test/error_default.js +0 -8
  522. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-content/test/error_strict_mode.js +0 -9
  523. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-content/test/module_default.js +0 -6
  524. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-content/test/module_strict_mode.js +0 -7
  525. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-content/test/negative-empty_default.js +0 -6
  526. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-content/test/negative-empty_strict_mode.js +0 -7
  527. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-content/test/noStrict_default.js +0 -5
  528. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-content/test/rawNoStrict_default.js +0 -14
  529. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-content/test/rawStrict_default.js +0 -15
  530. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-content/test/strict_strict_mode.js +0 -10
  531. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-metadata/test/asyncNegative_default.json +0 -18
  532. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-metadata/test/asyncNegative_strict_mode.json +0 -18
  533. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-metadata/test/async_default.json +0 -14
  534. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-metadata/test/async_strict_mode.json +0 -14
  535. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-metadata/test/bothStrict_default.json +0 -21
  536. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-metadata/test/bothStrict_strict_mode.json +0 -21
  537. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-metadata/test/error_default.json +0 -16
  538. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-metadata/test/error_strict_mode.json +0 -16
  539. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-metadata/test/module_default.json +0 -14
  540. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-metadata/test/module_strict_mode.json +0 -14
  541. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-metadata/test/negative-empty_default.json +0 -16
  542. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-metadata/test/negative-empty_strict_mode.json +0 -16
  543. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-metadata/test/noStrict_default.json +0 -14
  544. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-metadata/test/rawNoStrict_default.json +0 -14
  545. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-metadata/test/rawStrict_default.json +0 -14
  546. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/expected-metadata/test/strict_strict_mode.json +0 -18
  547. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/fake-test262/harness/assert.js +0 -17
  548. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/fake-test262/harness/doneprintHandle.js +0 -6
  549. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/fake-test262/harness/sta.js +0 -12
  550. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/fake-test262/test/async.js +0 -10
  551. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/fake-test262/test/asyncNegative.js +0 -11
  552. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/fake-test262/test/bothStrict.js +0 -15
  553. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/fake-test262/test/error.js +0 -8
  554. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/fake-test262/test/module.js +0 -6
  555. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/fake-test262/test/module_FIXTURE.js +0 -2
  556. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/fake-test262/test/negative-empty.js +0 -6
  557. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/fake-test262/test/noStrict.js +0 -5
  558. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/fake-test262/test/rawNoStrict.js +0 -14
  559. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/fake-test262/test/rawStrict.js +0 -15
  560. package/test262/node_modules/test262-stream/test/collateral/valid-omit-runtime/fake-test262/test/strict.js +0 -9
  561. package/test262/node_modules/test262-stream/test/collateral/valid-version-ignored/expected-content/test/strict_strict_mode.js +0 -41
  562. package/test262/node_modules/test262-stream/test/collateral/valid-version-ignored/expected-metadata/test/strict_strict_mode.json +0 -21
  563. package/test262/node_modules/test262-stream/test/collateral/valid-version-ignored/fake-test262/harness/assert.js +0 -17
  564. package/test262/node_modules/test262-stream/test/collateral/valid-version-ignored/fake-test262/harness/doneprintHandle.js +0 -6
  565. package/test262/node_modules/test262-stream/test/collateral/valid-version-ignored/fake-test262/harness/sta.js +0 -12
  566. package/test262/node_modules/test262-stream/test/collateral/valid-version-ignored/fake-test262/package.json +0 -3
  567. package/test262/node_modules/test262-stream/test/collateral/valid-version-ignored/fake-test262/test/strict.js +0 -9
  568. package/test262/node_modules/test262-stream/test/collateral/valid-version-supported/expected-content/test/strict_strict_mode.js +0 -41
  569. package/test262/node_modules/test262-stream/test/collateral/valid-version-supported/expected-metadata/test/strict_strict_mode.json +0 -21
  570. package/test262/node_modules/test262-stream/test/collateral/valid-version-supported/fake-test262/harness/assert.js +0 -17
  571. package/test262/node_modules/test262-stream/test/collateral/valid-version-supported/fake-test262/harness/doneprintHandle.js +0 -6
  572. package/test262/node_modules/test262-stream/test/collateral/valid-version-supported/fake-test262/harness/sta.js +0 -12
  573. package/test262/node_modules/test262-stream/test/collateral/valid-version-supported/fake-test262/package.json +0 -3
  574. package/test262/node_modules/test262-stream/test/collateral/valid-version-supported/fake-test262/test/strict.js +0 -9
  575. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/expected-content/test/missing-raw-flag_default.js +0 -44
  576. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/expected-content/test/missing-raw-flag_strict_mode.js +0 -45
  577. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/expected-content/test/raw-with-ls-and-license-on-same-line_default.js +0 -20
  578. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/expected-content/test/raw-with-ls-multiline-block_default.js +0 -18
  579. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/expected-content/test/raw-with-ls_default.js +0 -17
  580. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/expected-content/test/raw-with-ps-and-license-on-same-line_default.js +0 -20
  581. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/expected-content/test/raw-with-ps-multiline-block_default.js +0 -18
  582. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/expected-content/test/raw-with-ps_default.js +0 -17
  583. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/expected-content/test/rawWithLicense_default.js +0 -21
  584. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/expected-content/test/raw_default.js +0 -17
  585. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/expected-metadata/test/missing-raw-flag_default.json +0 -22
  586. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/expected-metadata/test/missing-raw-flag_strict_mode.json +0 -22
  587. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/expected-metadata/test/raw-with-ls-and-license-on-same-line_default.json +0 -21
  588. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/expected-metadata/test/raw-with-ls-multiline-block_default.json +0 -21
  589. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/expected-metadata/test/raw-with-ls_default.json +0 -21
  590. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/expected-metadata/test/raw-with-ps-and-license-on-same-line_default.json +0 -21
  591. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/expected-metadata/test/raw-with-ps-multiline-block_default.json +0 -21
  592. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/expected-metadata/test/raw-with-ps_default.json +0 -21
  593. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/expected-metadata/test/rawWithLicense_default.json +0 -21
  594. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/expected-metadata/test/raw_default.json +0 -21
  595. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/fake-test262/harness/assert.js +0 -17
  596. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/fake-test262/harness/doneprintHandle.js +0 -6
  597. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/fake-test262/harness/sta.js +0 -12
  598. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/fake-test262/test/missing-raw-flag.js +0 -13
  599. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/fake-test262/test/raw-with-ls-and-license-on-same-line.js +0 -20
  600. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/fake-test262/test/raw-with-ls-multiline-block.js +0 -18
  601. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/fake-test262/test/raw-with-ls.js +0 -17
  602. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/fake-test262/test/raw-with-ps-and-license-on-same-line.js +0 -20
  603. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/fake-test262/test/raw-with-ps-multiline-block.js +0 -18
  604. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/fake-test262/test/raw-with-ps.js +0 -17
  605. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/fake-test262/test/raw.js +0 -17
  606. package/test262/node_modules/test262-stream/test/collateral/valid-with-hashbang/fake-test262/test/rawWithLicense.js +0 -21
  607. package/test262/node_modules/test262-stream/test/collateral/valid-with-includes/custom-includes/assert.js +0 -17
  608. package/test262/node_modules/test262-stream/test/collateral/valid-with-includes/custom-includes/doneprintHandle.js +0 -9
  609. package/test262/node_modules/test262-stream/test/collateral/valid-with-includes/custom-includes/sta.js +0 -13
  610. package/test262/node_modules/test262-stream/test/collateral/valid-with-includes/expected-content/test/async_default.js +0 -52
  611. package/test262/node_modules/test262-stream/test/collateral/valid-with-includes/expected-content/test/async_strict_mode.js +0 -53
  612. package/test262/node_modules/test262-stream/test/collateral/valid-with-includes/expected-content/test/bothStrict_default.js +0 -47
  613. package/test262/node_modules/test262-stream/test/collateral/valid-with-includes/expected-content/test/bothStrict_strict_mode.js +0 -48
  614. package/test262/node_modules/test262-stream/test/collateral/valid-with-includes/expected-metadata/test/async_default.json +0 -18
  615. package/test262/node_modules/test262-stream/test/collateral/valid-with-includes/expected-metadata/test/async_strict_mode.json +0 -18
  616. package/test262/node_modules/test262-stream/test/collateral/valid-with-includes/expected-metadata/test/bothStrict_default.json +0 -24
  617. package/test262/node_modules/test262-stream/test/collateral/valid-with-includes/expected-metadata/test/bothStrict_strict_mode.json +0 -24
  618. package/test262/node_modules/test262-stream/test/collateral/valid-with-includes/fake-test262/harness/assert.js +0 -17
  619. package/test262/node_modules/test262-stream/test/collateral/valid-with-includes/fake-test262/harness/doneprintHandle.js +0 -6
  620. package/test262/node_modules/test262-stream/test/collateral/valid-with-includes/fake-test262/test/async.js +0 -10
  621. package/test262/node_modules/test262-stream/test/collateral/valid-with-includes/fake-test262/test/bothStrict.js +0 -15
  622. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/expected-content/test/async/asyncNegative_default.js +0 -49
  623. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/expected-content/test/async/asyncNegative_strict_mode.js +0 -50
  624. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/expected-content/test/async/async_default.js +0 -48
  625. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/expected-content/test/async/async_strict_mode.js +0 -49
  626. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/expected-content/test/bothStrict_default.js +0 -46
  627. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/expected-content/test/bothStrict_strict_mode.js +0 -47
  628. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/expected-content/test/strict/no/noStrict_default.js +0 -36
  629. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/expected-content/test/strict/no/rawNoStrict_default.js +0 -14
  630. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/expected-metadata/test/async/asyncNegative_default.json +0 -22
  631. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/expected-metadata/test/async/asyncNegative_strict_mode.json +0 -22
  632. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/expected-metadata/test/async/async_default.json +0 -18
  633. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/expected-metadata/test/async/async_strict_mode.json +0 -18
  634. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/expected-metadata/test/bothStrict_default.json +0 -24
  635. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/expected-metadata/test/bothStrict_strict_mode.json +0 -24
  636. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/expected-metadata/test/strict/no/noStrict_default.json +0 -17
  637. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/expected-metadata/test/strict/no/rawNoStrict_default.json +0 -14
  638. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/fake-test262/harness/assert.js +0 -17
  639. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/fake-test262/harness/doneprintHandle.js +0 -6
  640. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/fake-test262/harness/sta.js +0 -12
  641. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/fake-test262/test/async/async.js +0 -10
  642. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/fake-test262/test/async/asyncNegative.js +0 -11
  643. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/fake-test262/test/bothStrict.js +0 -15
  644. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/fake-test262/test/error.js +0 -8
  645. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/fake-test262/test/negative-empty.js +0 -6
  646. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/fake-test262/test/strict/no/noStrict.js +0 -5
  647. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/fake-test262/test/strict/no/rawNoStrict.js +0 -14
  648. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/fake-test262/test/strict/rawStrict.js +0 -15
  649. package/test262/node_modules/test262-stream/test/collateral/valid-with-paths/fake-test262/test/strict/strict.js +0 -9
  650. package/test262/node_modules/test262-stream/test/test.js +0 -319
  651. package/test262/node_modules/to-regex-range/LICENSE +0 -21
  652. package/test262/node_modules/to-regex-range/README.md +0 -305
  653. package/test262/node_modules/to-regex-range/index.js +0 -288
  654. package/test262/node_modules/to-regex-range/package.json +0 -88
  655. package/test262/package-lock.json +0 -279
  656. package/test262/package.json +0 -6
  657. package/test262/prelude.js +0 -75
  658. package/test262/results.json +0 -1
package/index.html DELETED
@@ -1,1264 +0,0 @@
1
- <head>
2
- <title>porffor</title>
3
-
4
- <meta charset="UTF-8">
5
- <meta name="viewport" content="width=device-width,initial-scale=1">
6
-
7
- <meta itemprop="name" content="porffor">
8
- <meta property="og:title" content="porffor">
9
- <meta itemprop="description" content="a basic experimental wip AOT optimizing JS -> Wasm compiler in JS">
10
- <meta property="og:description" content="a basic experimental wip AOT optimizing JS -> Wasm compiler in JS">
11
- <meta property="og:type" content="website">
12
-
13
- <style>
14
- @font-face {
15
- font-family: Whitney;
16
- font-style: normal;
17
- font-weight: 400;
18
- src: url(https://capybara.openasar.dev/whitney.woff2) format("woff2")
19
- }
20
-
21
- @font-face {
22
- font-family: Ginto;
23
- font-style: normal;
24
- font-weight: 500;
25
- src: url(https://capybara.openasar.dev/ginto.woff2) format("woff2")
26
- }
27
-
28
- :root {
29
- --font-normal: Whitney, "Helvetica Neue", Helvetica, Arial, sans-serif;
30
- --font-header: Ginto, "Helvetica Neue", Helvetica, Arial, sans-serif;
31
- --font-mono: Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace;
32
-
33
- --header-primary: #ffffff;
34
- --header-secondary: #b9bbbe;
35
-
36
- /* --text-normal: #dcddde;
37
- --text-muted: #a3a6aa; */
38
-
39
- --text-normal: #ffffff;
40
- --text-muted: #c1c1c2;
41
-
42
- --accent: #8545cf;
43
- --accent-light: #9c60e0;
44
- --accent-dark: #6b2faf;
45
-
46
- --background-primary: #101418;
47
- --background-secondary: #202428;
48
- --background-header: 0, 4, 8;
49
- }
50
-
51
- html, body {
52
- margin: 0;
53
- padding: 0;
54
- }
55
-
56
- body {
57
- background: var(--background-primary);
58
- }
59
-
60
- * {
61
- box-sizing: border-box;
62
- }
63
-
64
- h1 {
65
- font-weight: 500;
66
- font-family: var(--font-header);
67
- font-size: 32px;
68
-
69
- color: var(--header-primary);
70
-
71
- margin: 0;
72
- }
73
-
74
- h2 {
75
- font-weight: 500;
76
- font-family: var(--font-header);
77
- font-size: 28px;
78
-
79
- color: var(--header-primary);
80
-
81
- margin-top: 60px;
82
- margin-bottom: 8px;
83
- }
84
-
85
- header {
86
- width: 100%;
87
- height: fit-content;
88
-
89
- padding: 4px 24px;
90
-
91
- background: rgba(var(--background-header), 0.6);
92
- box-shadow: 0 8px 16px rgb(0 0 0 / 24%);
93
- backdrop-filter: blur(2px) saturate(0.5);
94
-
95
- display: flex;
96
- align-items: baseline;
97
-
98
- position: sticky;
99
- top: 0;
100
- z-index: 10;
101
- }
102
-
103
- header > h1 {
104
- color: var(--accent-light);
105
- }
106
-
107
- header code {
108
- font-family: var(--font-mono);
109
- font-size: 20px;
110
- color: var(--text-muted);
111
- }
112
-
113
- header > div {
114
- flex-grow: 1;
115
- margin-left: 4vw;
116
-
117
- display: flex;
118
- gap: 50px;
119
-
120
- /* justify-content: flex-end; */
121
- }
122
-
123
- header a {
124
- color: var(--text-normal);
125
- text-decoration: none;
126
-
127
- font-weight: 500;
128
- font-family: var(--font-header);
129
- font-size: 24px;
130
-
131
- transition: .5s color;
132
- }
133
-
134
- a:after {
135
- content: '';
136
- display: block;
137
- margin: auto;
138
- margin-top: 2px;
139
- height: 2px;
140
- width: 0px;
141
- background: transparent;
142
- transition: width .5s ease, background-color .5s ease;
143
- }
144
-
145
- header a:hover {
146
- color: var(--header-primary);
147
- }
148
-
149
- a:hover:after {
150
- width: 100%;
151
- background: var(--accent-light);
152
- }
153
-
154
- a:active:after {
155
- width: 100%;
156
- background: var(--accent);
157
- }
158
-
159
- article {
160
- padding: 6px 50px;
161
- width: 100%;
162
- max-width: 2000px;
163
- margin: auto;
164
- }
165
-
166
- .tagline {
167
- }
168
-
169
- p {
170
- font-size: 18px;
171
- font-family: var(--font-normal);
172
- color: var(--text-muted);
173
-
174
- margin-bottom: 20px;
175
- margin-top: 0px;
176
- }
177
-
178
- .cards {
179
- display: grid;
180
- grid-template-columns: repeat(3, 1fr);
181
- gap: 80px;
182
-
183
- margin-top: 12px;
184
- margin-bottom: 60px;
185
- }
186
-
187
- .columns {
188
- grid-template-columns: repeat(2, 1fr);
189
- }
190
-
191
- .cards > div {
192
- background: var(--background-secondary);
193
- box-shadow: 0 8px 16px rgb(0 0 0 / 24%);
194
- padding: 16px;
195
-
196
- display: flex;
197
-
198
- border-radius: 8px;
199
-
200
- flex-direction: column;
201
- }
202
-
203
- .cards > div svg {
204
- width: 32px;
205
- height: 32px;
206
- }
207
-
208
- .cards > div svg.stroke path {
209
- stroke: currentColor;
210
- fill: none;
211
- stroke-width: 6px;
212
- }
213
-
214
- .cards > div > h1 {
215
- font-family: var(--font-header);
216
- color: var(--header-primary);
217
-
218
- display: flex;
219
- gap: 10px;
220
-
221
- align-items: center;
222
- }
223
-
224
- .cards > div > p {
225
- font-family: var(--font-normal);
226
- color: var(--text-normal);
227
- font-size: 22px;
228
-
229
- margin-top: 12px;
230
- margin-bottom: 10px;
231
- }
232
-
233
- .cards > span {
234
- color: var(--text-muted);
235
- font-family: var(--font-header);
236
- font-size: 28px;
237
-
238
- display: flex;
239
- align-items: center;
240
- justify-content: center;
241
- }
242
-
243
- .stats {
244
- display: flex;
245
- flex-direction: column;
246
- align-self: center;
247
- }
248
-
249
- .stats > h2 {
250
- margin: 0;
251
- color: var(--text-normal);
252
- font-weight: 400;
253
-
254
- display: flex;
255
- align-items: center;
256
- }
257
-
258
- .stats > h2:not(:last-child) {
259
- margin-bottom: 40px;
260
- }
261
-
262
- .stats span {
263
- font-weight: 600;
264
- color: var(--accent-light);
265
- }
266
-
267
- .stats svg {
268
- width: 32px;
269
- height: 32px;
270
- margin-right: 12px;
271
- }
272
-
273
- header .stats svg {
274
- width: 24px;
275
- height: 24px;
276
- margin-right: 8px;
277
- }
278
-
279
- .stats [id^="stat_"] {
280
- margin: 0 8px;
281
- }
282
-
283
- /* .stats::before {
284
- content: '';
285
- width: 80%;
286
- height: 2px;
287
- background: var(--background-secondary);
288
- margin: auto;
289
-
290
- position: relative;
291
- top: -4vw;
292
- }
293
-
294
- article > :nth-last-child(2) {
295
- margin-bottom: 4vw;
296
- } */
297
-
298
- a {
299
- color: var(--accent-light);
300
- text-decoration: none;
301
- font-weight: 600;
302
-
303
- display: inline-block;
304
- }
305
-
306
- ::-webkit-scrollbar {
307
- width: 12px;
308
- }
309
-
310
- ::-webkit-scrollbar-corner {
311
- background-color: transparent;
312
- }
313
-
314
- ::-webkit-scrollbar-thumb {
315
- background-color: #303438;
316
- }
317
-
318
- ::-webkit-scrollbar-track {
319
- background-color: #000408;
320
- }
321
-
322
- ::-webkit-scrollbar-thumb, ::-webkit-scrollbar-track {
323
- border: 4px solid transparent;
324
- background-clip: padding-box;
325
- border-radius: 12px;
326
- }
327
-
328
- table {
329
- background: #202428;
330
- color: var(--header-primary);
331
- font-family: var(--font-header);
332
-
333
- border-collapse: collapse;
334
- table-layout: fixed;
335
- }
336
-
337
- .compat tr:first-child {
338
- background: #101418;
339
- font-size: 20px;
340
- }
341
-
342
- .compat tr:first-child > td:nth-child(2), .compat tr:first-child > td:nth-child(3) {
343
- width: 160px;
344
- }
345
-
346
- .compat tr {
347
- border: 2px solid var(--header-secondary);
348
- font-size: 18px;
349
- }
350
-
351
- .compat td {
352
- padding: 4px;
353
- border: 2px solid black;
354
- }
355
-
356
- .compat td:not(:first-child) {
357
- text-align: center;
358
- }
359
-
360
- td.most {
361
- background: #97ca00;
362
- }
363
-
364
- td.some {
365
- background: #dfb317;
366
- }
367
-
368
- td.initial {
369
- background: #fe7d37;
370
- }
371
-
372
- td.unsupported {
373
- background: #e05d44;
374
- }
375
-
376
- .index {
377
- margin-bottom: 20px;
378
- }
379
-
380
- .index td {
381
- padding: 4px;
382
- }
383
-
384
- .index td:first-child {
385
- border-left: 3px solid transparent;
386
- padding-left: 10px;
387
- }
388
-
389
- .index td:nth-child(2) {
390
- width: 70%;
391
- color: var(--text-normal);
392
- }
393
-
394
- .sandbox-table {
395
- margin-top: 12px;
396
- margin-bottom: 12px;
397
- }
398
-
399
- .sandbox-table td {
400
- padding: 6px;
401
- }
402
-
403
- .sandbox-table td:last-child {
404
- text-align: center;
405
- }
406
-
407
- .detailed.cards {
408
- gap: 60px;
409
- }
410
-
411
- .detailed.cards p {
412
- font-size: 20px;
413
- margin-bottom: 20px;
414
- }
415
-
416
- .detailed.cards h2 {
417
- font-size: 24px;
418
- color: var(--text-normal);
419
- margin-top: 10px;
420
- margin-bottom: -4px;
421
- }
422
-
423
- .detailed.cards p + p {
424
- margin-top: 0;
425
- }
426
-
427
- ul, ol {
428
- margin-top: 0px;
429
- margin-bottom: 16px;
430
-
431
- color: var(--text-muted);
432
- font-family: var(--font-normal);
433
- font-size: 20px;
434
- }
435
-
436
- code {
437
- font-family: var(--font-mono);
438
- font-size: 80%;
439
- color: var(--text-muted);
440
- }
441
-
442
- .usage-header {
443
- display: flex;
444
- align-items: center;
445
- justify-content: space-between;
446
- }
447
-
448
- .usage-header code {
449
- font-size: 16px;
450
- }
451
-
452
- .check {
453
- border-radius: 50%;
454
- background: var(--accent);
455
- width: 20px;
456
- height: 20px;
457
- }
458
-
459
- .check.no {
460
- background: none;
461
- }
462
-
463
- .tagline {
464
- font-size: 32px;
465
- }
466
-
467
- .subtag {
468
- color: #dcddde;
469
- font-size: 18px;
470
- margin: 0;
471
- margin-top: 4px;
472
- margin-bottom: 26px;
473
- }
474
-
475
- #split {
476
- border-top: 1px solid #606468;
477
- display: grid;
478
- grid-template-columns: 60% 1fr;
479
-
480
- width: 100%;
481
- height: 70vh;
482
- }
483
-
484
- #split > :last-child {
485
- background: #0c0c0c;
486
- color: #d0d0d0;
487
-
488
- padding: 6px;
489
-
490
- font-family: var(--font-mono);
491
- font-size: 14px;
492
- border-left: 1px solid #606468;
493
-
494
- white-space: pre;
495
-
496
- height: 100%;
497
- overflow-x: hidden;
498
- overflow-y: auto;
499
- }
500
-
501
- #output, #status {
502
- border-top: 1px solid #606468;
503
- color: var(--text-muted);
504
- background: var(--background-secondary);
505
- font-family: var(--font-mono);
506
-
507
- width: 100%;
508
- height: 8vh;
509
- font-size: 14px;
510
- padding: 6px;
511
-
512
- white-space: pre;
513
-
514
- overflow-x: hidden;
515
- overflow-y: auto;
516
- }
517
-
518
- #status {
519
- padding: 4px;
520
- font-size: 14px;
521
- height: 26px;
522
- }
523
-
524
- .ansi-31 {
525
- color: rgb(197, 15, 31);
526
- }
527
- .ansi-34 {
528
- color: rgb(0, 55, 218);
529
- }
530
- .ansi-36 {
531
- color: rgb(58, 150, 221);
532
- }
533
- .ansi-35 {
534
- color: rgb(136, 23, 152);
535
- }
536
- .ansi-95 {
537
- color: rgb(180, 0, 158);
538
- }
539
- .ansi-33 {
540
- color: rgb(193, 156, 0);
541
- }
542
- .ansi-90 {
543
- color: rgb(118, 118, 118);
544
- }
545
-
546
- #wasm-size {
547
- position: absolute;
548
- right: 6px;
549
- top: 6px;
550
- pointer-events: none;
551
- }
552
-
553
- #split > * {
554
- position: relative;
555
- }
556
-
557
- #js-size {
558
- position: absolute;
559
- right: 24px;
560
- top: 6px;
561
- pointer-events: none;
562
-
563
- z-index: 9;
564
-
565
- font-family: var(--font-mono);
566
- font-size: 14px;
567
- color: #d0d0d0;
568
-
569
- display: none;
570
- }
571
-
572
- #args {
573
- background: var(--background-secondary);
574
- font-family: var(--font-mono);
575
-
576
- width: calc(100% - 180px - 240px);
577
- margin: 0;
578
-
579
- color: var(--text-normal);
580
- border: 0;
581
- padding: 6px;
582
- float: right;
583
- font-size: 14px;
584
- }
585
-
586
- #examples_dropdown {
587
- width: 180px;
588
- padding: 4px;
589
- height: 29px;
590
- display: inline-block;
591
-
592
- color: var(--text-normal);
593
- font-family: var(--font-normal);
594
- font-size: 16px;
595
- background: var(--background-secondary);
596
- border: none;
597
-
598
- margin-right: 20px;
599
- }
600
-
601
- article {
602
- color: var(--text-muted);
603
- font-family: var(--font-normal);
604
- }
605
-
606
- #valtype_dropdown, #opt_dropdown {
607
- width: fit-content;
608
- padding: 4px;
609
- height: 29px;
610
- display: inline-block;
611
-
612
- color: var(--text-normal);
613
- font-family: var(--font-normal);
614
- font-size: 14px;
615
- background: var(--background-secondary);
616
- border: none;
617
-
618
- margin-left: 4px;
619
- margin-right: 12px;
620
- }
621
-
622
- #test262 {
623
- display: grid;
624
- grid-template-columns: 400px 1fr;
625
- gap: 24px;
626
- margin: 48px 0;
627
-
628
- width: 100%;
629
- /* height: 80vh; */
630
- height: 600px;
631
- }
632
-
633
- #commit_log {
634
- display: grid;
635
- grid-template-columns: 1fr;
636
- gap: 24px;
637
-
638
- overflow-x: auto;
639
- }
640
-
641
- #commit_log > div {
642
- display: flex;
643
- flex-direction: column;
644
-
645
- background: var(--background-secondary);
646
- padding: 8px;
647
- border-radius: 8px;
648
- }
649
-
650
- #commit_log > div > :first-child {
651
- font-size: 18px;
652
- font-weight: 500;
653
- color: var(--text-normal);
654
- }
655
-
656
- #commit_log > div > :last-child {
657
- font-size: 18px;
658
- font-weight: 500;
659
-
660
- color: #57F287;
661
-
662
- margin-top: 6px;
663
- }
664
-
665
- #commit_log > div > :last-child > span {
666
- color: var(--text-muted);
667
- font-size: 16px;
668
- margin-left: 6px;
669
- }
670
-
671
- #commit_log > div > :last-child > div {
672
- font-size: 16px;
673
- font-weight: 400;
674
- color: var(--text-muted);
675
-
676
- display: inline;
677
- float: right;
678
- }
679
-
680
- header img {
681
- vertical-align: middle;
682
- border-radius: 4px;
683
- margin-right: 8px;
684
- }
685
-
686
- #graph {
687
- /* background: var(--background-secondary);
688
-
689
- border-radius: 8px;
690
- padding: 8px; */
691
- }
692
-
693
- #graph > div {
694
- display: inline-flex;
695
- flex-direction: column;
696
- height: 100%;
697
- vertical-align: top;
698
- }
699
-
700
- #graph > div > :first-child {
701
- height: calc(100% - 20px);
702
-
703
- display: flex;
704
- flex-direction: column;
705
- }
706
-
707
- #graph > div > :last-child {
708
- height: 20px;
709
- font-size: 12px;
710
- font-family: var(--font-header);
711
- padding: 2px;
712
-
713
- border-top: 1px solid #606468;
714
- background: #000408;
715
- }
716
-
717
- .graph-0 {
718
- background: #13a10e;
719
- }
720
- .graph-1 {
721
- background: #c19c00;
722
- }
723
- .graph-2 {
724
- background: #e74856;
725
- }
726
- .graph-3 {
727
- background: #792027;
728
- }
729
- .graph-4 {
730
- background: #c50f1f;
731
- }
732
- .graph-5 {
733
- background: #cccccc;
734
- }
735
- .graph-6 {
736
- background: #dd5719;
737
- }
738
-
739
- #benches {
740
- width: 100%;
741
-
742
- display: grid;
743
- grid-template-columns: 1fr 1fr;
744
- gap: 24px 64px;
745
-
746
- margin-bottom: 64px;
747
- }
748
-
749
- #benches h2 {
750
- font-size: 22px;
751
- margin-top: 0;
752
- margin-bottom: 12px;
753
- }
754
-
755
- #benches code {
756
- font-size: 1em;
757
- }
758
-
759
- #benches > div > div {
760
- display: flex;
761
- margin-bottom: 6px;
762
- }
763
-
764
- #benches > div > div > :first-child {
765
- font-size: 18px;
766
- color: var(--text-normal);
767
- flex-basis: 140px;
768
- flex-shrink: 0;
769
- }
770
-
771
- #benches > div > div > :last-child {
772
- padding: 0 4px;
773
- background: var(--background-secondary);
774
-
775
- color: var(--text-muted);
776
- font-size: 16px;
777
-
778
- height: 22px;
779
- line-height: 22px;
780
-
781
- border-radius: 6px;
782
- }
783
-
784
- #benches .porffor {
785
- background: var(--accent-light) !important;
786
- color: var(--text-normal) !important;
787
- }
788
- </style>
789
- </head>
790
-
791
- <body>
792
- <header>
793
- <h1><img width="32" src="logo.png">porffor</h1>
794
-
795
- <div>
796
- <a href="https://github.com/CanadaHonk/porffor">GitHub</a>
797
- </div>
798
- </header>
799
-
800
- <article>
801
- <h1 class="tagline">a basic experimental wip AOT optimizing JS -> Wasm compiler in JS</h1>
802
- <!-- <h2 class="subtag">about as insane as it sounds</h2> -->
803
-
804
- <p>porffor is a very unique js engine, due a very different approach. it is seriously limited, but what it can do, it does pretty well. made from scratch except parser. began ~3 weeks ago.</p>
805
- <!-- <ul>
806
- <li>100% aot compiled</li>
807
- <li>everything is a number</li>
808
- <li>no constant runtime/preluded code</li>
809
- </ul> -->
810
-
811
- <select id="examples_dropdown"></select>
812
- valtype <select id="valtype_dropdown"></select>
813
- opt <select id="opt_dropdown"></select>
814
- <input type="text" placeholder="extra compiler args" id="args">
815
- <div id="split"></div>
816
- <div id="output"></div>
817
- <div id="status"></div>
818
-
819
- <div id="test262">
820
- <div id="commit_log"></div>
821
- <div id="graph"></div>
822
- </div>
823
-
824
- <div id="benches">
825
- <div id="bench_0">
826
- <h2>sum 1 million random numbers</h2>
827
- </div>
828
-
829
- <div id="bench_1">
830
- <h2>count prime numbers 1-10000</h2>
831
- </div>
832
-
833
- <div id="bench_2">
834
- <h2>factorial of 100</h2>
835
- </div>
836
- </div>
837
- </article>
838
-
839
- <script> (async () => {
840
- if (window.crossOriginIsolated === false) {
841
- console.log('not cross-origin isolated, registering service worker for later');
842
- const worker = await navigator.serviceWorker.register('./sw.js');
843
- }
844
-
845
- const loadScript = async x => {
846
- const el = document.createElement('script');
847
- el.src = x;
848
- document.head.append(el);
849
-
850
- await new Promise(res => el.onload = res);
851
- };
852
-
853
- if (!window.monaco) {
854
- await loadScript('https://cdn.openasar.dev/monaco-editor/min/vs/loader.js');
855
- // await new Promise(res => setTimeout(res, 500));
856
-
857
- require.config({ paths: { vs: 'https://cdn.openasar.dev/monaco-editor/min/vs' } });
858
- await new Promise(res => require(['vs/editor/editor.main'], res));
859
- }
860
-
861
- const monacoContainer = document.createElement('div');
862
- // monacoContainer.style.width = '100%';
863
- // monacoContainer.style.height = '75vh';
864
- split.appendChild(monacoContainer);
865
-
866
- const jsSize = document.createElement('div');
867
- jsSize.id = 'js-size';
868
- monacoContainer.append(jsSize);
869
-
870
- const wasmView = document.createElement('div');
871
- split.appendChild(wasmView);
872
-
873
- const status = document.getElementById('status');
874
-
875
- const examples = {
876
- 'Prime Numbers': `function isPrime(number) {
877
- if (number < 2) return false;
878
-
879
- for (let i = 2; i < number; i++) {
880
- if (number % i == 0) return false;
881
- }
882
-
883
- return true;
884
- }
885
-
886
- let counter = 0;
887
- while (counter <= 10000) {
888
- if (isPrime(counter)) console.log(counter);
889
- counter++;
890
- }`,
891
- 'Fibonacci': `let a = 0, b = 1;
892
- console.log(a); console.log(b);
893
-
894
- for (let i = 2; i <= 45; i++) {
895
- let t = b + a;
896
- a = b;
897
- b = t;
898
-
899
- console.log(t);
900
- }`,
901
- 'Factorial': `const factorial = n => n === 0 ? 1 : (n * factorial(n - 1));
902
- console.log(factorial(10));`,
903
- 'Sum of Digits': `let n = 654, sum = 0;
904
- while (n > 0) {
905
- sum += n % 10;
906
- n /= 10;
907
- }
908
-
909
- console.log(sum);`,
910
- 'Exception': `throw new Error('Hello, world!')`,
911
- 'Array Reading': `let arr = [ 2, 4, 8, 16 ];
912
- for (let i = 0; i < arr.length; i++) console.log(arr[i]);`,
913
- 'Array Prototype': `let arr = [ 1, 2, 3 ];
914
- arr.push(4); // 4
915
- arr.shift(); // 1
916
- arr.pop(); // 4
917
-
918
- arr.at(0); // 2
919
- arr.at(-1); // 3`,
920
- 'Math Proposals': `console.log(Math.signbit(1)) // false
921
- console.log(Math.signbit(-1)) // true
922
- console.log(Math.radians(180)) // 3.141592...
923
- console.log(Math.RAD_PER_DEG) // 0.017453...
924
- console.log(Math.clamp(12, 0, 10)) // 10
925
- console.log(Math.scale(4, 0, 10, 0, 1)) // 0.4`,
926
- };
927
- const defaultExample = 'Prime Numbers';
928
- let code = examples[defaultExample];
929
-
930
- const addOptions = (container, options, def) => {
931
- for (const x of options) {
932
- const el = document.createElement('option');
933
- el.textContent = x;
934
- el.selected = x === def;
935
-
936
- container.appendChild(el);
937
- }
938
- };
939
-
940
- addOptions(examples_dropdown, Object.keys(examples), defaultExample);
941
-
942
- addOptions(valtype_dropdown, [ 'i32', 'i64', 'f64' ], 'f64');
943
- addOptions(opt_dropdown, [ 0, 1, 2, 3 ], 1);
944
-
945
- examples_dropdown.oninput = () => {
946
- code = examples[examples_dropdown.value];
947
- editor.setValue(code);
948
- comp();
949
- };
950
-
951
- valtype_dropdown.oninput = opt_dropdown.oninput = () => comp();
952
-
953
- window.editor = monaco.editor.create(monacoContainer, {
954
- value: code,
955
- codeLens: false,
956
- language: 'javascript',
957
- theme: 'vs-dark',
958
- minimap: {
959
- enabled: false
960
- }
961
- });
962
-
963
- const debounce = (handler, timeout) => {
964
- let timer;
965
- return (...args) => {
966
- clearTimeout(timer);
967
- timer = setTimeout(() => handler(...args), timeout);
968
- };
969
- };
970
-
971
- const compile = (await import('../compiler/wrap.js')).default;
972
-
973
- const comp = async () => {
974
- globalThis.process = {
975
- argv: ['', '', ...args.value.split(' '), `-valtype=${valtype_dropdown.value}`, `-O${opt_dropdown.value}`]
976
- };
977
-
978
- jsSize.textContent = `${new Blob([code]).size} bytes`;
979
-
980
- let cache = '';
981
- const print = str => {
982
- cache += str;
983
-
984
- if (str === '\n') {
985
- // output.textContent += cache;
986
- // cache = '';
987
- }
988
- };
989
-
990
- output.textContent = '';
991
- wasmView.innerHTML = '';
992
- status.textContent = 'compiling...';
993
-
994
- let wasm, exports, times, decomps;
995
- try {
996
- 0, { wasm, exports, times, decomps } = await compile(code, [ 'module', 'decomp' ], {}, print);
997
- } catch (e) {
998
- console.error(e);
999
- status.textContent = `${e.constructor.name}: ${e.message}`;
1000
- return;
1001
- }
1002
-
1003
- wasmView.innerHTML = `<div id="wasm-size">${wasm.byteLength} bytes</div>` + decomps.join('\n').replaceAll('\x1B[0m', '</span>').replace(/\x1B\[([0-9]{2})m/g, (_, esc) => `<span class="ansi-${esc}">`);
1004
- status.textContent = `compiled in ${times[0].toFixed(2)}ms`;
1005
-
1006
- await new Promise(res => setTimeout(res, 10));
1007
-
1008
- const t2 = performance.now();
1009
- try {
1010
- exports.main();
1011
- } catch (e) {
1012
- console.error(e);
1013
- status.textContent = `${e.constructor.name}: ${e.message}`;
1014
- return;
1015
- }
1016
-
1017
- print('\n');
1018
-
1019
- const execTime = performance.now() - t2;
1020
- status.textContent += `. executed in ${execTime.toFixed(2)}ms`;
1021
-
1022
- const t3 = performance.now();
1023
- try {
1024
- eval(code);
1025
- } catch {}
1026
-
1027
- const evalTime = performance.now() - t3;
1028
- status.textContent += `. eval took ${evalTime.toFixed(2)}ms (${(evalTime / execTime).toFixed(1)}x)`;
1029
-
1030
- output.textContent = cache;
1031
- };
1032
-
1033
- const compDebounce = debounce(comp, 500);
1034
-
1035
- editor.getModel().onDidChangeContent(e => {
1036
- code = editor.getValue();
1037
- compDebounce();
1038
- });
1039
-
1040
- args.oninput = () => compDebounce();
1041
-
1042
- comp();
1043
-
1044
- const niceDate = x => {
1045
- let hours = x.getHours();
1046
- let ind = 'am';
1047
- if (hours >= 12) {
1048
- hours = hours % 12;
1049
- if (hours === 0) hours = 12;
1050
- ind = 'pm';
1051
- }
1052
-
1053
- return `${x.toLocaleString('default', { month: 'long' })} ${x.getDate()}, ${x.getFullYear()}`;
1054
- // return `${hours}:${x.getMinutes().toString().padStart(2, '0')} ${ind} · ${x.toLocaleString('default', { month: 'long' })} ${x.getDate()}, ${x.getFullYear()}`;
1055
- };
1056
-
1057
- const getCommits = async pages => {
1058
- let out = [];
1059
- for (let i = 1; i <= pages; i++) {
1060
- out.push(...(await (await fetch('https://api.github.com/repos/canadahonk/porffor/commits?per_page=100&page=' + i)).json()));
1061
- }
1062
-
1063
- return out;
1064
- };
1065
- let commits = await getCommits(3);
1066
-
1067
- const getCommitPercent = x => parseFloat(x.commit.message.trim().split('\n').pop().match(/([0-9]+(\.[0-9]+)?)%/)?.[1]);
1068
- const getCommitDetails = x => x.commit.message.trim().split('\n').pop().split(' | ').slice(1).map(x => x.split(' ')[1]);
1069
-
1070
- const graphData = {};
1071
- for (let i = 0; i < commits.length; i++) {
1072
- const x = commits[i];
1073
- const msg = x.commit.message.trim().split('\n');
1074
- const el = document.createElement('div');
1075
-
1076
- const textEl = document.createElement('div');
1077
- textEl.textContent = msg[0].slice(0, 42) + (msg[0].length > 42 ? '...' : '');
1078
-
1079
- const when = new Date(x.commit.committer.date);
1080
- const whenEl = document.createElement('div');
1081
- whenEl.textContent = niceDate(when);
1082
-
1083
- const percent = getCommitPercent(x);
1084
- if (isNaN(percent)) continue;
1085
-
1086
- let prevPercent = NaN;
1087
- for (let j = i + 1; j < commits.length; j++) {
1088
- prevPercent = getCommitPercent(commits[j]);
1089
- if (!isNaN(prevPercent)) break;
1090
- }
1091
-
1092
- let change = 0;
1093
- if (!isNaN(prevPercent)) change = percent - prevPercent;
1094
- if (change === 0) continue;
1095
-
1096
- const percentEl = document.createElement('div');
1097
- percentEl.innerHTML = `${percent.toFixed(2)}%${change !== 0 ? `<span>(${change > 0 ? '+' : ''}${change.toFixed(2)})</span>` : ''}`;
1098
-
1099
- // textEl.append(percentEl);
1100
- percentEl.append(whenEl);
1101
-
1102
- el.append(textEl, percentEl);
1103
- commit_log.append(el);
1104
-
1105
- let details = getCommitDetails(x);
1106
- if (!details || details.length === 0) continue;
1107
-
1108
- // add 0 timeouts if not included
1109
- if (details.length === 7) details = [ ...details.slice(0, 6), 0, details[6] ];
1110
-
1111
- const key = `${when.getDate().toString().padStart(2, '0')}/${(when.getMonth() + 1).toString().padStart(2, '0')}`;
1112
- if (graphData[key]) continue;
1113
- graphData[key] = details;
1114
- }
1115
-
1116
- let last = [];
1117
- for (let i = 8; i <= (new Date()).getDate(); i++) {
1118
- const key = `${i.toString().padStart(2, '0')}/07`;
1119
- if (!graphData[key]) graphData[key] = last;
1120
- else last = graphData[key];
1121
- }
1122
-
1123
- for (const x of Object.keys(graphData).sort((a, b) => parseInt(a.slice(0, 2)) - parseInt(b.slice(0, 2)))) {
1124
- const details = graphData[x];
1125
- const [ total, passes, fails, runtimeErrors, wasmErrors, compileErrors, timeouts, todos ] = details;
1126
-
1127
- const containerEl = document.createElement('div');
1128
- const barEl = document.createElement('div');
1129
-
1130
- let i = 0;
1131
- for (const y of details.slice(1)) {
1132
- const el = document.createElement('div');
1133
- el.style.height = `${(y / total) * 100}%`;
1134
- el.className = `graph-${i}`;
1135
-
1136
- el.title = (['Pass', 'Fail', 'Runtime error', 'Wasm error', 'Compile error', 'Timeout', 'Todo'])[i] + `: ${y} (${((y / total) * 100).toFixed(2)}%)`;
1137
-
1138
- barEl.appendChild(el);
1139
-
1140
- i++;
1141
- }
1142
-
1143
- const keyEl = document.createElement('div');
1144
- keyEl.textContent = x;
1145
-
1146
- containerEl.append(barEl, keyEl);
1147
-
1148
- graph.appendChild(containerEl);
1149
- }
1150
-
1151
- const benches = async () => {
1152
- const SAMPLES = 10;
1153
- const results = {};
1154
-
1155
- const avg = arr => arr.reduce((acc, x) => acc + x, 0) / arr.length;
1156
-
1157
- const bench = (which, what, run) => {
1158
- let times = [];
1159
-
1160
- for (let i = 0; i < SAMPLES; i++) {
1161
- const t = performance.now();
1162
- run();
1163
- times.push(performance.now() - t);
1164
- }
1165
-
1166
- if (!results[which]) results[which] = {};
1167
- results[which][what] = avg(times);
1168
- };
1169
-
1170
- function randoms(max) {
1171
- let sum = 0;
1172
- for (let i = 0; i < max; i++) {
1173
- sum += Math.random();
1174
- }
1175
-
1176
- return sum;
1177
- }
1178
-
1179
- function countPrimes(max) {
1180
- function isPrime(number) {
1181
- if (number < 2) return false;
1182
-
1183
- for (let i = 2; i < number; i++) {
1184
- if (number % i == 0) return false;
1185
- }
1186
-
1187
- return true;
1188
- }
1189
-
1190
- let counter = 0, primes = 0;
1191
- while (counter <= max) {
1192
- if (isPrime(counter)) primes++;
1193
- counter++;
1194
- }
1195
-
1196
- return primes;
1197
- }
1198
-
1199
- function factorial(n) {
1200
- if (n === 0) return 1;
1201
-
1202
- return n * factorial(n - 1);
1203
- }
1204
-
1205
- const maxes = [ 1000000, 10000, 100 ];
1206
- const funcs = [ randoms, countPrimes, factorial ];
1207
-
1208
- for (let i = 0; i < funcs.length; i++) {
1209
- const func = funcs[i];
1210
- const max = maxes[i];
1211
-
1212
- bench(i, 'your browser', () => {
1213
- func(max);
1214
- });
1215
-
1216
- globalThis.process = { argv: [] };
1217
- const compiled = (await compile('export ' + func.toString())).exports[func.name];
1218
-
1219
- bench(i, 'porffor', () => {
1220
- compiled(max);
1221
- });
1222
-
1223
- /* try {
1224
- process.argv.push('-valtype=i32');
1225
- if (['factorial'].includes(func.name)) throw 'overflow';
1226
- const compiledI32 = (await compile('export ' + func.toString())).exports[func.name];
1227
-
1228
- bench(i, 'porffor (i32)', () => {
1229
- compiledI32(max);
1230
- });
1231
- } catch {
1232
- // ignore as some things are unsupported in i32 mode
1233
- } finally {
1234
- process.argv.pop();
1235
- } */
1236
- }
1237
-
1238
- for (let i = 0; i < funcs.length; i++) {
1239
- const maxTime = Math.max(...Object.values(results[i])) * 1.1;
1240
-
1241
- const parentEl = document.getElementById(`bench_${i}`);
1242
-
1243
- const keys = Object.keys(results[i]).sort((a, b) => results[i][a] - results[i][b]);
1244
- for (const x of keys) {
1245
- const result = results[i][x];
1246
- const el = document.createElement('div');
1247
-
1248
- const labelEl = document.createElement('div');
1249
- labelEl.textContent = x;
1250
-
1251
- const barEl = document.createElement('div');
1252
- barEl.textContent = result.toFixed(2) + 'ms';
1253
- barEl.style.width = `calc((100% - 140px) * ${(result / maxTime)})`;
1254
- barEl.className = x;
1255
-
1256
- el.append(labelEl, barEl);
1257
- parentEl.append(el);
1258
- }
1259
- }
1260
- };
1261
-
1262
- setTimeout(benches, 3000);
1263
- })();</script>
1264
- </body>