porffor 0.18.5 → 0.18.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -7
- package/compiler/builtins/array.ts +2 -0
- package/package.json +1 -1
- package/runner/index.js +1 -1
package/README.md
CHANGED
@@ -254,25 +254,18 @@ Basically none right now (other than giving people headaches). Potential ideas:
|
|
254
254
|
## Todo
|
255
255
|
No particular order and no guarentees, just what could happen soon™
|
256
256
|
|
257
|
-
- Arrays
|
258
|
-
- Destructuring
|
259
257
|
- Objects
|
260
258
|
- Basic object expressions (eg `{}`, `{ a: 0 }`)
|
261
259
|
- Asur
|
262
260
|
- Support memory
|
263
261
|
- Support exceptions
|
264
|
-
- More math operators (`**`, etc)
|
265
|
-
- Typed export inputs (array)
|
266
262
|
- Exceptions
|
267
|
-
- Rewrite to use actual strings (optional?)
|
268
263
|
- `try { } finally { }`
|
269
264
|
- Rethrowing inside catch
|
270
265
|
- Optimizations
|
271
266
|
- Rewrite local indexes per func for smallest local header and remove unused idxs
|
272
267
|
- Smarter inline selection (snapshots?)
|
273
|
-
- Remove const ifs (`if (true)`, etc)
|
274
268
|
- Memory alignment
|
275
|
-
- Add general pref for always using "fast" (non-short circuiting) or/and
|
276
269
|
- Runtime
|
277
270
|
- WASI target
|
278
271
|
- Run precompiled Wasm file if given
|
@@ -292,6 +285,7 @@ No particular order and no guarentees, just what could happen soon™
|
|
292
285
|
- Precompiled TS built-ins
|
293
286
|
- Asur
|
294
287
|
- `escape()` optimization
|
288
|
+
- PGO
|
295
289
|
- Self hosted testing?
|
296
290
|
|
297
291
|
## VSCode extension
|
@@ -46,6 +46,8 @@ export const __Array_prototype_slice = (_this: any[], start: number, end: number
|
|
46
46
|
return out;
|
47
47
|
};
|
48
48
|
|
49
|
+
// todo: splice
|
50
|
+
|
49
51
|
// @porf-typed-array
|
50
52
|
export const __Array_prototype_fill = (_this: any[], value: any, start: any, end: any) => {
|
51
53
|
const len: i32 = _this.length;
|
package/package.json
CHANGED