Skip to content

Releases: issadicko/kodi-script-go

v0.1.1

Choose a tag to compare

@issadicko issadicko released this 02 Jan 16:22

What's New

  • Added while loop support
  • Implemented layered native function registry for memory efficiency

While Loop Syntax

while (condition) {
  // body
}

See control-flow documentation for more details.

v0.1.0 - LRU Cache & Performance

Choose a tag to compare

@issadicko issadicko released this 01 Jan 14:35
0f51db9

What's New

  • LRU AST Cache: Avoid re-parsing identical scripts
  • WithCache() API: Control cache behavior
  • Benchmarks: Comprehensive performance tests
  • Pool Optimizations: Object pooling for memory efficiency

KodiScript Go v0.0.1

Choose a tag to compare

@issadicko issadicko released this 30 Dec 16:51

🎉 First Release

KodiScript v0.0.1 - A lightweight scripting language interpreter for Go.

Installation

go get github.com/issadicko/kodi-script-go@v0.0.1

Usage

import kodi "github.com/issadicko/kodi-script-go"

result := kodi.Run(`
    let name = "World"
    print("Hello " + name)
`)

Features

  • Variables and expressions
  • Null-safety operators (?., ?:)
  • Control flow (if/else)
  • Native functions (string, math, crypto, JSON, arrays)
  • Custom function registration

Links