Skip to content

v1.4.0 - apollovm: 0.1.37 (C# language, lambdas, package:web, transpile panel)#6

Merged
gmpassos merged 1 commit into
mainfrom
update-apollovm-0.1.37
Jun 26, 2026
Merged

v1.4.0 - apollovm: 0.1.37 (C# language, lambdas, package:web, transpile panel)#6
gmpassos merged 1 commit into
mainfrom
update-apollovm-0.1.37

Conversation

@gmpassos

Copy link
Copy Markdown
Contributor

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# language: added to the example category selector, the run-language selector, and the "Convert to all languages" transpile targets.
  • New examples (all verified to run via the interpreter):
    • 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)

  • 0.1.36: Python, ternary/conditional, lambda and Dart async/await examples.
  • package:web migration: replaced the deprecated dart:html with package:web + dart:js_interop (DOM via document.querySelector, events via addEventListener, innerHTML/textContent/classList).
  • Two-selector example picker: a Language selector that filters an Example selector.
  • "Wasm" example category: Wasm-compatible snippets (Fibonacci, Factorial, GCD, Power, Sum, Collatz, Prime, class instance method) that auto-enable the Wasm-compiled run mode — verified end-to-end in the browser via the Wasm path.
  • "Convert to all languages": one-click transpilation into every other supported language, shown in a tabbed, closable panel.

Verification

  • dart format clean; dart analyze --fatal-warnings passes (one info-level unnecessary_import for dart:js_interop, which dom_tools transitively re-exports — kept explicit as the idiomatic choice for package:web).
  • webdev/build_runner release build compiles.
  • New examples verified via the interpreter; C# category, the new lambdas, and Convert→C# verified end-to-end in a headless browser.

Note: .github/workflows/dart.yml has a now-stale comment attributing the non-fatal-infos analyze to dart:html; the lingering info is now the dart:js_interop import. Left as-is here.

🤖 Generated with Claude Code

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>
@gmpassos gmpassos merged commit 3927681 into main Jun 26, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant