Comments (4)
That wouldn't really help since the loop will block the event loop. The setTimeout
callback would never run (or am I misunderstanding your suggestion?). The only solution would be to run the transform in a webworker.
from astexplorer.
Ah.. right. Is there enough support for webworkers across browsers that it would be reasonable to use them?
from astexplorer.
This is actually pretty annoying, while writing a completely safe for loop it's easy to cause an infinite loop and crash the tab. For example this puts you in an un-recoverable state if there's any valid statement after it.
const maxDepth = 3;
for (let i = 0; i < maxDepth;)
from astexplorer.
This should be solved now with #39.
from astexplorer.
Related Issues (20)
- [feature request] custom parser HOT 2
- [Feature Request] select parser version in browser HOT 1
- in the website/,`npm run watch` cannot observe the change of files HOT 4
- The error is displayed in a rich coral color because of it, the cursor is not visible and it is impossible to correct the error
- Cannot read properties of undefined (reading 'decoratorsBeforeExport') HOT 1
- Change request: Replace the GLSL parser HOT 1
- [Feature request] add a tab with the generated Babel code HOT 2
- App crashes when data in localStorage references unexisting parser
- Feature request: jscodeshift output from arbitrary input
- Add support for semantic / tree-sitter HOT 1
- The Solidity parsers are outdated. There's a maintained alternative that should be used
- error when typescript with TSAsExpression HOT 1
- Update espree parser HOT 1
- [Feature request] Upgrade Hermes parser HOT 1
- Update Go parser with generics support
- Is Groovy Supported by astexplorer ?
- CodeMirror editor displays error on JavaScript class private fields HOT 1
- Update TypeScript version
- Unable to create snippet error
- Website freezes if Java Parser is selected with JSON view tab HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from astexplorer.