Skip to content

Wolang 1.4.0

Latest

Choose a tag to compare

@github-actions github-actions released this 02 Nov 21:58
00c3704

1.4.0 is the embedding fixes a game engine found while moving its scripts onto
Wolang.

Added

  • wolang_vm_load_package_source (C API 1.7, D293) loads a package the host
    holds as data under the name its scripts need, so a host can ship mowo
    and std inside its program. A reload loads it again.
  • wolang_vm_save and wolang_vm_load_save (C API 1.6, D292) write and read an
    object graph with the bytes std.save writes.

Fixed

  • An effect declared in a sibling file, or imported, can be named in uses
    (E0701).
  • A name the host gives, as in wolang_vm_expect_struct, finds the program's
    type and not a dependency's helper of the same name (D291).
  • The formatter keeps the parentheses of a cast that ends the left side of <
    ((stop as float) < y1), which it used to drop and so wrote code the parser
    rejects, and never breaks a line inside the {} of a string (D290).

Install

macOS and Linux:

curl -fsSL https://raw.githubusercontent.com/MowoGames/Wolang/alpha/install.sh | sh -s -- --version 1.4.0

Windows: run wolang-1.4.0-x86_64.msi from the assets below, or

& ([scriptblock]::Create((irm https://raw.githubusercontent.com/MowoGames/Wolang/alpha/install.ps1))) -Version 1.4.0

Every archive is listed in SHA256SUMS; the installers check it.

What's Changed

  • fix(docs): the site build failed on a wrapped code span in the decisions page by @monntecc in #14
  • Wolang 1.4.0: embedding fixes from MowoEngine lane 120 by @monntecc in #15

Full Changelog: v1.3.0...v1.4.0