Comments (2)
I'm less worried about code size than I am about modules that:
- expect a 100% ES5 JavaScript implementation
- expect a node environment
- the full
process
object, etc.
- the full
- expect a --harmony environment
- have dependencies on modules that are provided by node itself
- have dependencies on compiled modules
Any thoughts for how to handle these issues?
from espruinowebide.
Well:
- Keep it as an option that is off by default (and that comes with a warning :) )
- Have a list of modules that we know don't work/aren't in Espruino (and check to see if a module is one of those or uses one).
I think it's worth having as an option though - some modules will work, and hopefully I'll be able to get some reports about which bits of Espruino are causing problems (or maybe even pull requests). When referencing built-in functions, exceptions and regex are implemented I think most other incompatibilities should be relatively trivial to fix (although I'm aware that there will be quite a few!).
from espruinowebide.
Related Issues (20)
- Minor nuisance adblockers HOT 1
- Minification / Rollup improvements HOT 2
- IDE no longer able to connect. No service matching UUID found on device. HOT 15
- How to change the tabulator size? HOT 4
- console.warn HOT 2
- File System Access API HOT 4
- Error connect to ESP8266 in WinIDE HOT 2
- Errors Loading UTF-8 formatted files via Chrome App HOT 4
- Clicking on image from g.dump() download a BMP file
- Bangle.js 2 emulator on Chrome for Mac OS cuts off rightmost column of pixels HOT 2
- How to filter devices when connection via WebIDE HOT 3
- Error in Screenshot Links in Readme File HOT 1
- Can't change UI theme HOT 3
- Time out with large StorageFile HOT 1
- getPorts disabled on timeout HOT 3
- Using Monaco editor instead of Codemirror HOT 4
- Add nullish coalescing support to WebIDE HOT 3
- Decode JS interprets string contents as tokens HOT 1
- "The state of the DFU process does not allow this operation" HOT 1
- Ctrl+u makes an undo before upload HOT 4
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 espruinowebide.