Skip to content
LexerLangv0.2.0
Download

One file. One line to install.

LexerLang is a single binary: no runtime, no virtual machine and no package manager to install. Download it, put it on your PATH, and run lexer serve.

v0.2.0released 2026-11-01Release history

macOS

Apple Silicon and Intel. The installer picks the right architecture.

curl -fsSL https://lexer.gurerlabs.com/install.sh | sh

Linux

glibc or musl makes no difference: the binary is static, with no external dependencies.

curl -fsSL https://lexer.gurerlabs.com/install.sh | sh

Windows

PowerShell 5.1 and above. No administrator rights required.

irm https://lexer.gurerlabs.com/install.ps1 | iex

All files

PlatformFileSizeSHA-256
macOSlexer-0.2.0-darwin-arm64.tar.gz6.8 MB
macOSlexer-0.2.0-darwin-amd64.tar.gz7.4 MB
Linuxlexer-0.2.0-linux-amd64.tar.gz7.4 MB
Linuxlexer-0.2.0-linux-arm64.tar.gz6.7 MB
Windowslexer-0.2.0-windows-amd64.zip7.5 MB
Windowslexer-0.2.0-windows-arm64.zip6.6 MB

All checksums in one file: SHA256SUMS

Verify what you downloaded

The binary arrives over the network, and like anything that arrives over the network it should be verifiable. Download the checksum list and compare it against the archive next to it — if they do not match, do not run the file.

Terminal
curl -fsSL -o lexer-0.2.0-linux-amd64.tar.gz https://downloads.gurerlabs.com/lexer/linux-amd64/0.2.0
curl -fsSL -o SHA256SUMS https://downloads.gurerlabs.com/lexer/sha256/0.2.0
shasum -a 256 -c SHA256SUMS --ignore-missing

Release history

Changes and packages for every release (release notes are written in Turkish). To update an installed lexer: lexer update lexer@latest; to switch to a specific version: lexer update lexer@0.2.0.

v0.2.0

2026-11-01

NarDB, before ara katmanı ve güvenilen proxy'ler

  • Security trust_proxy: X-Forwarded-For artık sağdan ve yalnızca güvenilen proxy'den gelen bağlantıda okunuyor; başlığa adres yazarak IP izin listesi ve hız sınırı aşılamıyor.
  • Breaking trust_proxy(true) yalnızca aynı makinedeki proxy'ye (127.0.0.1, ::1) güvenir; başka proxy'ler için trust_proxy({proxies: [...]}) ya da {hops: N}.
  • Breaking use edilmemiş bir modül artık dosya çalışmadan, satırıyla birlikte hata verir; try içinde yutulmaz.
  • Added use nardb: gömülü ya da nardb serve üzerinden NarDB; $db.from('uyeler').where({...}).to_array() / to_json() / fetch_one().to_object().
  • Added NarDB hataları $e.type ile ayırt edilir: SchemaExists, UniqueViolation, CheckFailed, NotFound, PermissionDenied.
  • Added $app.before(fn, {paths, skip}): statik dosyalardan ve route'lardan önce çalışan, isteği kesebilen ara katman.
  • Added lexer update lexer@latest (ve lexer@beta, lexer@0.2.0): SHA-256 doğrulamalı kendi kendini güncelleme.
  • Added time.parse, ISO metin girişi ve saat dilimi: time.format('DD.MM.YYYY HH:mm', $iso, 'Europe/Istanbul').
  • Added rate_limit({prefix: ...}): Redis anahtar öneki ayarlanabilir.
  • Added Satır sonundaki ikili işleç ya da virgül ifadeyi alt satıra taşır.
  • Improved Önbellek kaydı salt okunur uygulama dizininde LEXER_CACHE_DIR ya da ~/.lexer/cache'e düşer; uyarı bir kez yazılır.

macOS Apple SiliconmacOS IntelLinux amd64Linux arm64Windows amd64Windows arm64SHA256SUMS

Building from source

With Go 1.26 and make you can produce the binary yourself. External dependencies are two database drivers, golang.org/x/crypto and the embedded NarDB engine; all pure Go, so no C toolchain is needed.

Terminal
cd bin-proj
make build
./bin/lexer version