v1.4.0 - apollovm: 0.1.37 (C# language, lambdas, package:web, transpile panel)#6
Merged
Conversation
Update to ApolloVM 0.1.37 and grow the playground. This batch also folds in the unreleased 1.3.0 work (0.1.36 examples + the `package:web` migration and UI features), all squashed into one release. apollovm 0.1.37: - Add C# to the language selectors (example category + run language) and to the "Convert to all languages" targets. - New examples (verified to run): C# Class / Conditional / Exceptions, and Java11 / Kotlin / Lua "Lambdas" (these now parse in 0.1.37). Carried-over 1.3.0 work: - 0.1.36: Python, ternary, lambda and Dart async/await examples. - Migrated the web UI from deprecated `dart:html` to `package:web` + `dart:js_interop`. - Example picker split into linked Language + Example selectors. - "Wasm" example category with Wasm-compatible snippets (auto-enables the Wasm-compiled run mode), verified end-to-end in the browser. - "Convert to all languages" one-click transpilation panel (tabbed, closable). Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updates the playground to ApolloVM 0.1.37 and bundles the previously-unreleased 1.3.0 work into a single 1.4.0 release.
apollovm 0.1.37
C# — Class,C# — Conditional (a > b ? a : b),C# — Exceptions (try/catch/finally)Java11 — Lambdas,Kotlin — Lambdas,Lua — Lambdas— anonymous functions stored in variables and invoked; these now parse in 0.1.37 (previously omitted from the lambdas group).Folded-in 1.3.0 work (was uncommitted)
package:webmigration: replaced the deprecateddart:htmlwithpackage:web+dart:js_interop(DOM viadocument.querySelector, events viaaddEventListener,innerHTML/textContent/classList).Verification
dart formatclean;dart analyze --fatal-warningspasses (one info-levelunnecessary_importfordart:js_interop, whichdom_toolstransitively re-exports — kept explicit as the idiomatic choice forpackage:web).webdev/build_runnerrelease build compiles.Note:
.github/workflows/dart.ymlhas a now-stale comment attributing the non-fatal-infos analyze todart:html; the lingering info is now thedart:js_interopimport. Left as-is here.🤖 Generated with Claude Code