Skip to content

v2026.6.0

Choose a tag to compare

@github-actions github-actions released this 08 Jun 21:24
· 160 commits to master since this release

Objeck Language v2026.6.0

New System.AI library, System.ML overhaul, record types, JIT/compiler fixes

✨ What's New

  • New System.AI library (-lib ai or @ai) — classic AI in the standard library: graph search (Dijkstra, AStar, BreadthFirst, DepthFirst), adversarial game search (Minimax with alpha-beta, MonteCarloTreeSearch), metaheuristics (GeneticAlgorithm, SimulatedAnnealing, HillClimbing) and tabular RL (QLearning, Sarsa, MarkovDecisionProcess value iteration); all stochastic algorithms seeded for reproducible runs
  • System.ML overhaul — 13 new estimators (RidgeRegression/LassoRegression/ElasticNet, Perceptron, SVM, PCA, GaussianNaiveBayes, AdaBoost, DBSCAN, GaussianMixture, KDTree, RegressionTree, GradientBoostedTrees); real recursive DecisionTree and voting RandomForest; k-means++ KMeans; NeuralNetwork hidden/output bias (clean XOR convergence); seedable System.ML.Random; uniform Fit/Predict/Score/IsFitted/Store/Load API across every estimator. Breaking: RandomForest->Train is now Fit; stored NeuralNetwork model files must be regenerated
  • record typesrecord Point { @x : Int; @y : Int; } generates the constructor and accessors; record : readonly : omits setters and the compiler rejects field assignment outside constructors; supports generics, inheritance and user-defined member overrides
  • VM/JIT fix — traps reading interpreter locals (Serializer->Write, Date->New, file-time queries) crashed once a method crossed the auto-JIT threshold; such methods now stay interpreted on AMD64 and ARM64
  • Compiler fixes — bool array literals after the first in a program no longer receive the first literal's data (broken literal-pool comparator); literal dedup now works for all array types; array dimensions capped at 8 with a proper diagnostic
  • XML library improvements — truncated/malformed documents are now rejected instead of parsing as success; ' decoding fixed; new EncodeText, SetEncodedContent, GetDecodedContent and GetDecodedValue conveniences
  • Library aliases documented-lib @std/@ml/@game and the new @ai group, user-editable via lib/configobjk.ini; AI/ML developer guide gains System.ML and System.AI sections with runnable examples
  • CI hardening — vcpkg installs retry on transient CDN failures; mcp_server_test validates JSON-RPC bodies before accepting

📦 Installation

Windows

  • x64: Download objeck-windows-x64_2026.6.0.msi and run the installer
  • ARM64: Download objeck-windows-arm64_2026.6.0.msi and run the installer
  • Portable: Download .zip files for portable installations

Linux

  • x64: tar -xzf objeck-linux-x64_2026.6.0.tgz
  • ARM64: tar -xzf objeck-linux-arm64_2026.6.0.tgz

macOS

  • ARM64 (M1/M2/M3) Installer: Download objeck-macos-arm64_2026.6.0.pkg and run
  • ARM64 (M1/M2/M3) Archive: tar -xzf objeck-macos-arm64_2026.6.0.tgz

LSP (Language Server Protocol)

  • Download objeck-lsp-2026.6.0.zip for IDE integration

📚 Documentation

🔐 Verification

All Windows MSI installers are digitally signed for security.

🐛 Issues

Report issues at: https://github.com/objeck/objeck-lang/issues


Full Changelog: v2026.5.4...v2026.6.0