Evan Wallace

Results 542 comments of Evan Wallace

Small update: It turns out that the top-level await specification and/or V8 have some subtle bugs that cause undesirable behavior. More details are here: https://github.com/evanw/tla-fuzzer/issues/1. Many thanks to @sokra on...

The newly-released version 0.10.0 has preliminary support for bundling with top-level await (previously top-level await was not allowed at all when bundling). From [the release notes](https://github.com/evanw/esbuild/releases/tag/v0.10.0): > * Initial support...

> Is there a reason to don't wrap the entire bundle, by default (or just if it have some top-level await)? Yes. Doing that would be incorrect. Top-level await is...

Ultimately top-level await will be supported with the `iife` format, which is really what you're trying to do. It will work similarly to `--banner:js='(async () => {'` `--footer:js='})()'` but that...

The callback approach you are describing is subtly incorrect or at least different from real JavaScript VMs in certain cases, but the correct approach is something similar to that. I...

I believe the existing path alias feature already does this. You can configure a `tsconfig.json` or `jsconfig.json` file with the `paths` and `baseUrl` parameters like this: ```json { "compilerOptions": {...

I don't currently have any plans to support SystemJS. The format seems pretty complicated compared to other browser-based formats, especially the way live bindings need to be implemented. All of...

Did you try dragging the arrow? Arrows between states will curve when dragged.

Yes, the `@` annotations are strictly a compile-time construct. I'm not planning on making the language reflective at this time (reflection is very hard to do consistently across target languages...

Cool! I'm glad your son's having fun with it, and thanks for trying to get it running. Unfortunately it's a pretty old university project and it's bit-rotted since we made...