Skip to content

glyphc v1.3.0

Choose a tag to compare

@MrModelOS MrModelOS released this 07 Sep 14:56
· 21 commits to main since this release

Glyph v1.3.0

New: Map runtime

  • #{ "key": value, ... } literal syntax
  • Index read/write: m["k"] and m["k"] = v (missing key aborts at runtime)
  • Methods: put(key, value), get(key) -> Option<V>, len(), free()
  • FNV-1a hash + chained buckets, GlyphMap runtime C type
  • Iteration over Map is typechecked and rejected (no runtime backing yet)

Lists: reference counting

  • free() is now safe with aliases (releases one reference)
  • append()/expression aliasing does copy-on-write
  • Locals and parameters auto-release at function end

Diagnostics

  • Type errors now report the source line: in function 'main': line 3: ...

Tooling & docs

  • Live example examples/fifteen.glyph
  • Prebuilt binaries in this release (Linux + macOS) built by a new release workflow
  • English README (Russian version lives in README.ru.md)

Status

  • 23 example programs pass, 51 unit tests, zero warnings