Skip to content
This repository was archived by the owner on Aug 18, 2025. It is now read-only.

v0.3.2

Choose a tag to compare

@HelloAIXIAOJI HelloAIXIAOJI released this 22 Jul 19:06
· 1016 commits to master since this release

CodeNothing Programming Language Interpreter v0.3.2 Changelog

[v0.3.2] - 2025-07-23

🔧 OOP Feature Fixes and Improvements

Fixes

  • ✅ Constructor Execution - Fixed issue where constructors weren't being called
  • ✅ Field Initialization - Fixed object field initialization logic
  • ✅ Method Call Framework - Added basic infrastructure for method calls
  • ✅ this Keyword Support - Implemented this.field assignment in constructors

Current Status

  • ✅ Class definition & parsing - Fully supported
  • ✅ Object creation - Fully supported
  • ✅ Constructor invocation - Fully supported
  • ✅ Constructor parameter passing - Fully supported
  • ✅ Field access - Fully supported
  • ✅ Method call framework - Established
  • ⏳ Method body execution - Needs this context and return statement handling

Major Fixes

  • ✅ Constructor Parameter Passing - Fully fixed, object initialization now works correctly
  • ✅ Method Calls No Longer Crash - Fixed panic issues
  • ✅ Basic OOP Tests Fully Pass - Object creation, field access, multi-object tests all successful

Pending Improvements

  • Proper this.field access context in method bodies
  • Method return value handling needs refinement
  • None value handling in string concatenation

CodeNothing 编程语言解释器 v0.3.2 更新日志

[v0.3.2] - 2025-07-23

🔧 OOP功能修复和完善

修复问题

  • ✅ 构造函数执行 - 修复了构造函数未被调用的问题
  • ✅ 字段初始化 - 修复了对象字段初始化逻辑
  • ✅ 方法调用框架 - 添加了方法调用的基础架构
  • ✅ this关键字支持 - 实现了构造函数中的this.field赋值

当前状态

  • ✅ 类定义和解析 - 完全支持
  • ✅ 对象创建 - 完全支持
  • ✅ 构造函数调用 - 完全支持
  • ✅ 构造函数参数传递 - 完全支持
  • ✅ 字段访问 - 完全支持
  • ✅ 方法调用框架 - 已建立
  • ⏳ 方法体执行 - 需要完善this上下文和return语句处理

重大修复

  • ✅ 构造函数参数传递 - 完全修复,对象初始化正确工作
  • ✅ 方法调用不再崩溃 - 修复了panic问题
  • ✅ 基础OOP测试完全通过 - 对象创建、字段访问、多对象测试全部成功

待完善问题

  • 方法体中的this.field访问需要正确的上下文
  • 方法返回值处理需要完善
  • 字符串拼接中的None值处理

Full Changelog: CodeNothingCommunity/CodeNothing@v0.3.1...v0.3.2

Installation Guide

Download Steps

  1. Download the following two packages for your operating system:
    • Interpreter main package (codenothing-{OS}.zip
    • Standard library package (codenothing-all-libraries-{OS}-latest.tar.gz

Installation Steps

  1. Extract both packages
  2. Create a subfolder named library in the interpreter's main directory
  3. Copy all extracted library files (.dll or .so) into the newly created library folder

Usage

After completing the above steps, you can start using the CodeNothing programming language interpreter.

System Requirements

  • Windows/Linux operating system
  • Appropriate file extraction tools

安装指南

下载步骤

  1. 下载适用于您操作系统的以下两个压缩包:
    • 解释器本体压缩包(codenothing-{OS}.zip
    • 标准库(library)压缩包(codenothing-all-libraries-{OS}-latest.tar.gz

安装步骤

  1. 解压两个压缩包
  2. 在解释器本体文件夹中创建子文件夹:library
  3. 将解压出的 library 文件(.dll 或 .so)全部复制到新建的 library 文件夹中

使用说明

完成上述步骤后,您就可以开始使用 CodeNothing 编程