• v2.4.0 02599ba789

    root released this 2026-03-13 21:00:38 -03:00 | 245 commits to main since this release

    Koder v2.4.0 — Native AOT Completo

    Native Compiler (Cranelift)

    • Closures com captura real
    • begin/rescue/ensure
    • Herança de classes com override e super
    • Blocks/yield com block_given?
    • String interpolation nativa
    • 144 testes

    O compilador nativo agora suporta OOP completo com herança, exceções e closures. Binários de ~36KB.

    2765 testes, 0 falhas

    Downloads
  • v2.3.0 37ad131c36

    root released this 2026-03-13 20:21:42 -03:00 | 246 commits to main since this release

    Koder v2.3.0

    Native Compiler (Cranelift)

    • Classes com constructors/ivars/methods
    • Case/when, break/next, bitwise, pipe, lambdas
    • 30+ runtime functions, 129 testes

    LSP Server

    • 28 módulos completions, 220+ hover docs

    Debugger

    • Conditional breakpoints, watchpoints, pretty print

    Stdlib: 23 módulos novos

    Linter: empty rescue, shadowed variable

    Formatter: hash style, line breaks

    2750 testes, 0 falhas

    Downloads
  • v2.2.0 4829f6becc

    root released this 2026-03-13 20:01:58 -03:00 | 247 commits to main since this release

    Koder v2.2.0

    VM — Typed Hash Data Structures (7)

    Set, Queue, Stack, StringBuffer, Matrix, Complex, Rational

    VM — Metaprogramming

    method_missing, respond_to?, define_method, Object universal methods, Comparable auto-derive

    JS Transpiler

    Pattern matching, yield/blocks, runtime helpers

    WASM Compiler

    String ops, boolean short-circuit, multi-arg functions

    Testes: 2653, 0 falhas

    Downloads
  • v2.1.0 ade92ac89a

    root released this 2026-03-13 19:31:22 -03:00 | 248 commits to main since this release

    Koder v2.1.0 — Paridade Compiler+VM

    VM — Métodos Built-in (+60)

    • String +10, Array +17, Hash +18, Integer +8, Float +7

    VM — Módulos Novos (6)

    • Regex, Process, Time, Base64, Digest, IO
    • Math/JSON/ENV expandidos

    Compiler — Melhorias

    • Pattern matching: array destructuring, hash patterns, guards, capture
    • retry em rescue, closures em methods, block params
    • Module: constantes scopadas, class methods

    Testes

    • VM: 352 testes
    • Compiler: 117 testes
    • Total: 2533 testes, 0 falhas

    Pacotes

    • .deb — Ubuntu/Debian/Mint
    • .rpm — Fedora/Red Hat/SUSE
    • .tar.gz — Linux genérico
    Downloads
  • v2.0.0 ac0eaffdd7

    root released this 2026-03-13 19:11:27 -03:00 | 249 commits to main since this release

    Koder v2.0.0 — Interpreter Completo 🎉

    Esta é a release marco v2.0, marcando a completude do interpreter tree-walking da linguagem Koder.

    Estatísticas

    • 25.544 linhas no interpreter principal
    • 2.402 testes no workspace (0 falhas)
    • 19 crates no workspace Rust
    • ~60K+ linhas de código total
    • 30+ módulos stdlib

    Features da linguagem

    • OOP completo: classes, herança, módulos, mixins, visibilidade (public/private/protected)
    • Metaprogramming: method_missing, define_method, class_eval, instance_eval, refinements
    • Funcional: lambdas, closures, curry, blocks, yield, Enumerable/Comparable
    • Pattern matching com destructuring, splat, guards
    • Exception handling com hierarquia, retry, ensure, throw/catch
    • Tipos numéricos: Integer, Float, Complex, Rational
    • Collections: Array, Hash, Set, SortedSet, Queue, Stack, LinkedList, Matrix
    • Concorrência: Thread, Mutex, Fiber, Channel, Atomic
    • I/O: File, Dir, IO, Net (HTTP client)
    • Encoding: Base64, Digest (MD5, SHA256, CRC32)
    • Stdlib: Math, JSON, CSV, Regex, Process, Env, Time/Date/DateTime
    • Tooling: REPL, debugger, formatter, linter, LSP, doc generator
    • Backends: bytecode compiler+VM, JS transpiler, WASM compiler, native AOT (Cranelift)

    Pacotes

    • .deb — Ubuntu/Debian/Mint
    • .rpm — Fedora/Red Hat/SUSE
    • .tar.gz — Linux genérico
    Downloads
  • v1.9.0 cbf59f84e0

    v1.9.0 Stable

    root released this 2026-03-13 18:48:46 -03:00 | 250 commits to main since this release

    Koder v1.9.0

    Novidades

    • Refinements: monkey-patching escopado com refine/using
    • Complex numbers: aritmética completa, polar, conjugate
    • Rational numbers: auto-simplificação GCD, aritmética
    • Numeric tower: Integer+Rational→Rational, Integer+Complex→Complex
    • Comparable module: include Comparable + <=> auto-deriva operadores
    • Enumerable module: include Enumerable + each auto-gera map/select/sort/etc
    • Metaprogramming: define_method, class_eval, instance_eval, Object#extend
    • Frozen classes: Config.freeze impede reopen
    • Math: erf, gamma, gcd, lcm
    • 2272 testes, 0 falhas

    Pacotes

    • .deb — Ubuntu/Debian/Mint
    • .rpm — Fedora/Red Hat/SUSE
    • .tar.gz — Linux genérico
    Downloads
  • v1.8.0 62a690a7b8

    v1.8.0 Stable

    root released this 2026-03-13 18:15:02 -03:00 | 251 commits to main since this release

    Koder v1.8.0

    Novidades

    • GC module (stubs de API)
    • Magic variables: __method__, __dir__, __FILE__, __LINE__
    • Kernel#loop, String freeze (-"hello")
    • Thread/Mutex melhorados: current, list, main, kill, synchronize, deadlock detection
    • Signal module (29 sinais POSIX), system() global, Timeout
    • Data structures: Queue (FIFO), Stack (LIFO), LinkedList, SortedSet
    • Matrix module: identity, zero, add/sub/mul, transpose, determinant, trace
    • Range: each_slice, character ranges, infinite ranges
    • 2242 testes, 0 falhas

    Pacotes

    • .deb — Ubuntu/Debian/Mint
    • .rpm — Fedora/Red Hat/SUSE
    • .tar.gz — Linux genérico
    Downloads
  • v1.7.0 0e5ef58f7d

    v1.7.0 Stable

    root released this 2026-03-13 17:23:52 -03:00 | 252 commits to main since this release

    Koder v1.7.0

    Novidades

    • Protected methods com verificação de hierarquia
    • method_added hook para rastreamento
    • Base64 module (encode/decode/urlsafe/strict)
    • Digest module (md5/sha256/hash/crc32)
    • Array#pack / String#unpack (C*, A*, N*)
    • ObjectSpace.count_objects
    • Enumerable expandido: sum(initial), minmax, minmax_by, one?, zip com bloco, chunk
    • String: ord, each_byte, each_line
    • 2172 testes, 0 falhas

    Pacotes

    • .deb — Ubuntu/Debian/Mint
    • .rpm — Fedora/Red Hat/SUSE
    • .tar.gz — Linux genérico
    Downloads
  • v1.6.0 b0c736862e

    v1.6.0 Stable

    root released this 2026-03-13 14:29:48 -03:00 | 253 commits to main since this release

    Koder v1.6.0

    Novidades

    • Lazy Enumerator: chains lazy sem arrays intermediários
    • Enumerator.new: criação de enumeradores via bloco
    • Hierarquia de exceções: rescue por tipo (TypeError, ArgumentError, etc.)
    • retry em rescue: re-executa begin com limite de 100
    • throw/catch: controle de fluxo não-exceção
    • IO module expandido: IO.read, IO.readlines, IO.foreach, STDIN/STDOUT/STDERR
    • Fiber: concorrência cooperativa (new, resume, yield, alive?)
    • Struct: classes de dados simples com getters/setters
    • Array#sort com <=>: sort de objetos customizados
    • 2084 testes, 0 falhas (+33 novos)

    Pacotes

    • .deb — Ubuntu/Debian/Mint
    • .rpm — Fedora/Red Hat/SUSE
    • .tar.gz — Linux genérico
    Downloads
  • v1.5.0 f6f1812804

    v1.5.0 Stable

    root released this 2026-03-13 13:56:37 -03:00 | 254 commits to main since this release

    Koder v1.5.0

    Novidades

    • StringBuffer module: buffer de string mutável (new, append, prepend, to_s, length, clear, insert)
    • Proc/Lambda melhorado: arity, lambda?, curry com aplicação parcial
    • Method objects: obj.method(:name) retorna lambda callable
    • Array expandido: partition, zip multi-array, flatten(depth), product multi-array
    • Number formatting: Integer#to_s(base), Integer#digits(base), Float#pow
    • String expandido: prepend, insert, swapcase, chomp(sep), squeeze, tr, bytes, hex, oct
    • Hash expandido: compact, assoc, rassoc
    • Kernel functions: Array(), String(), warn(), pp()
    • respond_to? melhorado
    • 2051 testes, 0 falhas (+113 novos)

    Pacotes

    • .deb — Ubuntu/Debian/Mint
    • .rpm — Fedora/Red Hat/SUSE
    • .tar.gz — Linux genérico
    Downloads