Skip to content

Commit

Permalink
v0.7.2
Browse files Browse the repository at this point in the history
  • Loading branch information
ethanblake4 committed Nov 24, 2023
1 parent d97417f commit 3889842
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 4 deletions.
11 changes: 9 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,17 @@
## 0.7.2
- Support inferring variable types when using the `if (x is Y)` pattern
- Compiler now infers variable types when using the `if (x is Y)` pattern
- Support for setters with a different type than getters / fields of the
same name
- Support for return statements without a value
- Fix type resolution of super constructor parameters
- Add binding for `ArgumentError`
- Support for most `Uri` methods and constructors (thanks @Noobware1 and
@kodjodevf)
- Support for `Base64Codec`, `Base64Decoder`, `Base64Encoder`,
`utf8.decode()`, and `utf8.encode()` (thanks @kodjodevf)
- Support for `Map.containsKey()` (thanks @DeleMike)
- Support for `String.codeUnits` (thanks @Noobware1)
- Support for `String.fromCharCodes` (thanks @kodejodevf)
- Support for `ArgumentError`, `StateError`, and `StreamView`

## 0.7.1
- Eliminate requirement to call setup() on the Runtime. Setup is now
Expand Down
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,8 @@ can be used outside it by creating an interface and [bridge class](#bridge-inter

dart_eval's compiler is powered under the hood by the Dart
[analyzer](https://pub.dev/packages/analyzer), so it achieves 100% correct and
up-to-date parsing (although compilation and evaluation aren't quite there yet.)
up-to-date parsing. While compilation and execution aren't quite there yet, dart_eval
has over 200 tests that are run in CI to ensure correctness.

Currently dart_eval implements a majority of the Dart spec, but there
are still missing features like generators, Sets and extension methods.
Expand Down
2 changes: 1 addition & 1 deletion pubspec.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: dart_eval
description: A flexible Dart bytecode compiler and interpreter written in Dart, enabling dynamic execution and code push for AOT Dart apps.
version: 0.7.1
version: 0.7.2
homepage: https://github.com/ethanblake4/dart_eval
platforms:
android:
Expand Down

0 comments on commit 3889842

Please sign in to comment.