Hasty Briefsbeta

Nimony v0.2 – early preview of Nim 3.0's compiler

11 days ago
  • #Compiler
  • #Nim
  • #Programming
  • Nimony v0.2 is an early preview compiler for a Nim variant aimed at becoming Nim 3.0.
  • Focuses on Aufbruch mode: destructor-based memory management (ARC), value-centric semantics, predictable code generation, and plugin-based metaprogramming.
  • Supports basic programs with a working core, targeting developers interested in testing fundamentals.
  • Example program: a Tic-Tac-Toe game with AI in 250 lines using raylib for graphics.
  • Several standard library modules ported, providing a well-rounded set of functionality.
  • Many language features work, including methods and dynamic polymorphism, with quick bug fixes.
  • Common issue: type resolution errors, though not blocking program development.
  • Missing case-insensitive identifiers, noted due to odd AST node kind capitalization.
  • AI chatbots (e.g., GPT5-high) used to understand current capabilities and guide testing.
  • Templates and complex constants may not work, but plugins offer a solid alternative.
  • Encourages community involvement: testing, bug reports, questions, PRs, and contributions via Open Collective.