Comments (7)
The first part of doing this is covered in #53 and ethanblake4/flutter_eval#3 which I would like to have working in v0.6 (next major release).
The second part is basically some kind of auto-diffing to see what has changed since the last version. I have thought about that but it's definitely a 1.0 or post-1.0 feature.
from dart_eval.
The first part of doing this is covered in #53 and ethanblake4/flutter_eval#3 which I would like to have working in v0.6 (next major release).
Looking forward to that!
some kind of auto-diffing to see what has changed since the last version.
For a minimalist solution (which does create false positive though) - Maybe just generate bytecode for each and every code, and check equality?
from dart_eval.
For a minimalist solution (which does create false positive though) - Maybe just generate bytecode for each and every code, and check equality?
I don't really understand, can you explain more? What is it checking equality to?
from dart_eval.
Checking eq of bytecode bytes?
from dart_eval.
So you are saying, generate bytecode for 'before' and 'after' case and then just see what has changed? Unfortunately i don't think that's possible due to the way the bytecode works (even a minor change to one part of the code can cause a lot of bytecodes to change, because they can store absolute offsets for functions/jumps which get 'pushed' by all previous changes)
from dart_eval.
I will add though, it maybe should not work like that because it's also annoying for incremental compilation. Maybe we can do that then if I end up changing it
from dart_eval.
Oh I see. That is a problem
from dart_eval.
Related Issues (20)
- Null check operator used on a null value HOT 1
- how to write a wrapper for TopLevelVariableDeclaration? HOT 2
- CompileError: Unknown method dynamic.read at "ref.read(1)"
- Null check operator used on a null value
- Cannot access null value from map
- How to write a Wrapper for extension?
- Support short-circuit evaluation for && operator HOT 3
- Add support for functions that returns List<UserModel>
- Add support for string & some math functions like toStringAsFixed, abs(), double.infinity
- Multiple ( ? ) null check operator in nested optional object - not work.
- Kindly add support methods like fold, contains in List<Some>
- kindly add support for Spread Operator (...)
- Setting static setter: `Null check operator used on a null value`
- feat: Allow nullable generics like `List<String?>`
- Utf8Codec.encode has incorrect return type HOT 1
- Support for overriding class properties
- How to use .toDouble() and perform Addition on int and double
- dart_eval runtime exception: type '$int' is not a subtype of type 'int' in type cast HOT 1
- "import as" doesn't work for extending classes
- Un able to send List<dynamic> argument in functions
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 dart_eval.