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

v0.3.0

Choose a tag to compare

@HelloAIXIAOJI HelloAIXIAOJI released this 20 Jul 20:12
· 1048 commits to master since this release

CodeNothing Programming Language Interpreter v0.3.0 Changelog

[v0.3.0] - 2025-01-21

New Features

Method Chaining

  • Added full method chaining syntax support:
    • Basic syntax: object.method1().method2().method3()
    • Supported for strings, arrays and maps
    • Fully backward compatible

String Methods

  • trim() - Trim whitespace
  • to_upper() - Convert to uppercase
  • to_lower() - Convert to lowercase
  • length() - Get string length
  • substring(start, end) - Extract substring

Array Methods

  • length() - Get array length
  • push(item) - Append element
  • pop() - Remove and return last element

Map Methods

  • size() - Get map size
  • get(key) - Get value by key
  • set(key, value) - Set key-value pair

JIT Improvements

  • Added partial JIT compilation support

Optimizations

  • Enhanced type checking in expression evaluator
  • Improved method call error handling
  • Increased JIT compiler compatibility

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

[v0.3.0] - 2025-01-21

新增功能

链式调用

  • 新增完整的链式调用语法支持:
    • 基本语法:object.method1().method2().method3()
    • 支持字符串、数组和映射类型
    • 完全向后兼容

字符串方法

  • trim() - 去除首尾空格
  • to_upper() - 转换为大写
  • to_lower() - 转换为小写
  • length() - 获取字符串长度
  • substring(start, end) - 截取子字符串

数组方法

  • length() - 获取数组长度
  • push(item) - 添加元素到末尾
  • pop() - 移除并返回最后一个元素

映射方法

  • size() - 获取映射大小
  • get(key) - 根据键获取值
  • set(key, value) - 设置键值对

JIT改进

  • 新增部分JIT编译支持

优化改进

  • 增强表达式求值器的类型检查
  • 改进方法调用的错误处理
  • 提升JIT编译器兼容性

Full Changelog: CodeNothingCommunity/CodeNothing@v0.2.7...v0.3.0

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 编程语言解释器了。

系统要求

  • Windows/Linux 操作系统
  • 适当的文件解压工具