这段话主要介绍了 dart_eval 的主要目标是与真正的 Dart 代码互操作。它可以使用包装器在解释器内部使用在“真正的 Dart”中创建的类,并可以通过创建接口和桥接类在解释器外部使用在解释器中创建的类。dart_eval 的编译器在底层由 Dart 分析器驱动,因此它可以实现 100%正确和最新的解析(尽管编译和评估还没有完全实现)。目前,dart_eval 实现了相当数量的 Dart 规范,但仍缺少一些功能,例如生成器、Set 和扩展方法。此外,许多标准库尚未实现。

The primary aspect of dart_evals goal is to be interoperable with real Dart code Classes created in real Dart can be used inside the interpreter with a wrapper and classes created in the interpreter c

原文地址: https://www.cveoy.top/t/topic/dlcn 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录