GoloScript v0.0.4 is out!

🤓 GoloScript v0.0.4 - dev.20260201.🐡

New Features and Changes

Golo Bridge - Go Library for TinyGo WASM Modules

The major addition in this release is Golo Bridge, a Go library that simplifies writing WASM guest modules with TinyGo for GoloScript.

Golo Bridge abstracts away the pointer arithmetic and memory encoding needed to exchange data (strings, numbers, callbacks) across the WASM boundary.

The library exposes two packages:

Installation:

go get codeberg.org/TypeUnsafe/golo-script/golo-bridge@v0.0.0

Three new examples accompany this feature:

Full documentation: docs/golo-bridge/ (EN + FR)

Or check the documentation section: GRP - Golo Bridge

New currentDir() Function

A new built-in function currentDir() returns the current working directory.

let dir = currentDir()
println(dir)

Bug Fixes

isFloat() on Strings (#80)

Issue: The isFloat() method was incorrectly returning true for strings representing integers (e.g., "123").

Fix: isFloat() now checks for the presence of a decimal point before attempting conversion. A string without . immediately returns false.

FileInfo.IsDir() (#79)

Issue: Directory detection in file information was not working correctly.

Fix: Improved type checking and error handling in the json, mcp, mcp_helpers, openai, and wasm modules.


Supported Platforms

OS Architecture Binary
macOS Intel (amd64) golo-v0.0.4-darwin-amd64
macOS Apple Silicon (arm64) golo-v0.0.4-darwin-arm64
Linux 64-bit (amd64) golo-v0.0.4-linux-amd64
Linux ARM 64-bit (arm64) golo-v0.0.4-linux-arm64
Linux 32-bit (386) golo-v0.0.4-linux-386
Windows 64-bit (amd64) golo-v0.0.4-windows-amd64.exe
Windows ARM 64-bit (arm64) golo-v0.0.4-windows-arm64.exe
Windows 32-bit (386) golo-v0.0.4-windows-386.exe

Included Pull Requests

PR Branch Description
#83 feature/fix-printstyled Fix and improvement of print-styled
#82 feature/golo-bridge Golo Bridge - WASM library for TinyGo
#81 feature/currentdir New currentDir() function
#80 fix/isfloat Fix isFloat() bug
#79 fix/fileinfo-isdir Fix FileInfo.IsDir()

© 2026 GoloScript Project | Built with Gu10berg

Subscribe: 📡 RSS | ⚛️ Atom