dart_eval
dart_eval copied to clipboard
Extensible Dart interpreter for Dart with full interop
Like the badCertificateCallback on Httpclient which requires type ```(bool Function(X509Certificate cert, String host, int port)?)``` how would I set it using $setProperty?
I've read the entire readme and some wiki pages and still dont know how to call a void function from a class in my project. How am i supposed to...
``` Map e = ...; for (var item in e) { print(item['displayLogId']); // null bool ifNull = item['displayLogId'] == null; print(ifNull); / false } ``` i print `item['displayLogId']` which is...
this is my testcase: ```dart test('test dynamic2 ', () { final runtime = compiler.compileWriteAndLoad({ 'example': { 'main.dart': ''' abstract class A { A(); int func1() { return 1; } }...
I have multi Compiler(), when running individually, everything functions properly; however, upon completing one execution and proceeding to the next, an error is encountered, as follows: ``` Method not found...
Hi, @ethanblake4 i can do the 2 and 3 points you said. The 1st and 4th are just beyond me. If you could elaborate just on them 🙏🙏 it would...
This will need: Support in the parser (parser.dart) A new EvalSet type in primitives.dart A new DartSetLiteral class in literals.dart ???
Hi I'm working with dart_eval and the current goal is to await an async function which has parameters. Without parameters everything is fine: `void start() async { await aa(); }...
Hi. I want to use dart_eval to develop an interactive interpreter, i.e. a user does not send codes to the interpreter at once. The interpreter should remember what (for example...
- [x] Basic support: just convert these to `Function` - [ ] Support for type checks