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

Releases: CodeNothingCommunity/CodeNothing-Zero

v0.3.0

20 Jul 20:12

Choose a tag to compare

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 操作系统
  • 适当的文件解压工具

v0.2.7

20 Jul 16:39

Choose a tag to compare

CodeNothing Programming Language Interpreter v0.2.7 Changelog

[v0.2.7] - 2025-07-21

New Features

IO Library Enhancement

  • Added input as an alias for io::read_line

JIT Compilation Support

  • Added partial JIT implementation supporting:
    • Arithmetic operations (+, -, *, /, %) for int/long/float types
    • Comparison operations for numeric types
  • Added --cn-query-jit parameter to:
    • Check if JIT is being used in current execution
    • Output detailed JIT invocation statistics

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

[v0.2.7] - 2025-07-21

新增功能

IO库增强

  • io::read_line 添加了 input 别名

JIT编译支持

  • 新增部分JIT实现,支持:
    • int/long/float类型的加减乘除模运算
    • 数值类型的比较运算
  • 新增 --cn-query-jit 参数用于:
    • 查询本次运行是否使用JIT
    • 输出详细的JIT调用统计信息

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

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 操作系统
  • 适当的文件解压工具

v0.2.6

20 Jul 14:58

Choose a tag to compare

CodeNothing Programming Language Interpreter v0.2.6 Changelog

[v0.2.6] - 2025-07-20

New Features

Exception Handling

Added complete exception handling mechanism with:

  • try-catch statements:
    try {  
        // Code that may throw exceptions  
    } catch (exception : Exception) {  
        // Exception handling  
    };  
    
  • try-catch-finally statements:
    try {  
        // Code that may throw exceptions  
    } catch (exception : Exception) {  
        // Exception handling  
    } finally {  
        // Cleanup code (always executes)  
    };  
    
  • throw statements:
    throw "Error message";  
    throw someVariable;  
    
  • Supports nested try-catch structures
  • Exceptions propagate up the call stack until caught
  • Supports type declaration for exception variables (Exception type)

Optimizations

Code Structure

  • Split src\parser\mod.rs and src\interpreter\mod.rs for better modularity

Time Library Improvements

  • Updated sleep_seconds and sleep to support floating-point parameters:
    • sleep_seconds(0.2) now works correctly (200ms)
    • sleep(0.5) now works correctly (0.5ms)
  • Added sleep_microseconds() for microsecond-level delays
  • Now uses nanosecond precision for more accurate timing

Namespace Improvements

  • Fixed and optimized namespace prefix calling mechanism
  • using ns xxx; can now be used in any scope (function body, code blocks)
    • Only affects unprefixed calls in current scope and child scopes
    • Does not affect prefixed calls (e.g., math::add(...))

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

[v0.2.6] - 2025-07-20

新增功能

异常处理机制

新增完整的异常处理支持:

  • try-catch 语句
    try {  
        // 可能抛出异常的代码  
    } catch (exception : Exception) {  
        // 异常处理代码  
    };  
    
  • try-catch-finally 语句
    try {  
        // 可能抛出异常的代码  
    } catch (exception : Exception) {  
        // 异常处理代码  
    } finally {  
        // 总是执行的清理代码  
    };  
    
  • throw 语句
    throw "异常信息";  
    throw someVariable;  
    
  • 支持嵌套的 try-catch 结构
  • 异常会在函数调用栈中向上传播,直到被捕获
  • 支持异常变量的类型声明(Exception 类型)

优化改进

代码结构

  • 拆分 src\parser\mod.rssrc\interpreter\mod.rs 以提高模块化程度

时间库优化

  • 更新 sleep_secondssleep 支持浮点数参数:
    • sleep_seconds(0.2) 现在可以正常工作(200 毫秒)
    • sleep(0.5) 现在可以正常工作(0.5 毫秒)
  • 新增 sleep_microseconds() 支持微秒级延时
  • 使用纳秒级精度,提供更精确的延时控制

命名空间优化

  • 修复并优化命名空间前缀调用机制
  • using ns xxx; 现在可以在任意作用域(函数体、代码块)中使用:
    • 只影响当前作用域及其子作用域的无前缀调用
    • 不影响带前缀调用(如 math::add(...)

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 操作系统
  • 适当的文件解压工具

Full Changelog: CodeNothingCommunity/CodeNothing@v0.2.4...v0.2.6

v0.2.5.re

16 Jul 08:21

Choose a tag to compare

v0.2.5.re Pre-release
Pre-release

CodeNothing Programming Language Interpreter v0.2.5 Changelog

[v0.2.5] - 2025-07-16

New Features

Language Features

  • Added const keyword for constant definitions

File System Library

Added comprehensive filesystem operations:

Root Namespace Functions

  • exists(path) - Check if path exists
  • is_file(path) - Check if path is a file
  • is_dir(path) - Check if path is a directory

File Operations (file::)

  • file::read(path) - Read file content
  • file::read_bytes(path) - Read file as binary (returns hex string)
  • file::write(path, content) - Write to file
  • file::append(path, content) - Append to file
  • file::delete(path) - Delete file
  • file::copy(src, dst) - Copy file
  • file::rename(old_path, new_path) - Rename file
  • file::size(path) - Get file size

Directory Operations (dir::)

  • dir::create(path) - Create directory
  • dir::delete(path) - Delete directory
  • dir::delete_all(path) - Recursively delete directory
  • dir::list(path) - List directory contents
  • dir::current() - Get current working directory

Path Operations (path::)

  • path::join(part1, part2, ...) - Join path components
  • path::parent(path) - Get parent directory
  • path::filename(path) - Get filename
  • path::extension(path) - Get file extension
  • path::stem(path) - Get filename without extension
  • path::is_absolute(path) - Check if path is absolute

Project Files

  • Added LICENSE file

Fixes

  • Fixed constant definition and usage issues
  • Fixed constant usage inside functions

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

[v0.2.5] - 2025-07-16

新增功能

语言特性

  • 新增const关键字用于定义常量

文件系统库

新增完整的文件系统操作:

根命名空间函数

  • exists(path) - 检查路径是否存在
  • is_file(path) - 检查是否为文件
  • is_dir(path) - 检查是否为目录

文件操作 (file::)

  • file::read(path) - 读取文件内容
  • file::read_bytes(path) - 以二进制读取文件(返回十六进制字符串)
  • file::write(path, content) - 写入文件
  • file::append(path, content) - 追加内容到文件
  • file::delete(path) - 删除文件
  • file::copy(src, dst) - 复制文件
  • file::rename(old_path, new_path) - 重命名文件
  • file::size(path) - 获取文件大小

目录操作 (dir::)

  • dir::create(path) - 创建目录
  • dir::delete(path) - 删除目录
  • dir::delete_all(path) - 递归删除目录
  • dir::list(path) - 列出目录内容
  • dir::current() - 获取当前工作目录

路径操作 (path::)

  • path::join(part1, part2, ...) - 拼接路径
  • path::parent(path) - 获取父目录
  • path::filename(path) - 获取文件名
  • path::extension(path) - 获取文件扩展名
  • path::stem(path) - 获取不带扩展名的文件名
  • path::is_absolute(path) - 检查是否为绝对路径

项目文件

  • 新增LICENSE文件

修复

  • 修复了常量定义和使用的问题
  • 修复了函数内部使用常量的问题

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 操作系统
  • 适当的文件解压工具

Full Changelog: CodeNothingCommunity/CodeNothing@v0.2.4...v0.2.5.re

v0.2.4

16 Jul 05:01

Choose a tag to compare

v0.2.4 Pre-release
Pre-release

CodeNothing Programming Language Interpreter v0.2.4 Changelog

[v0.2.4] - 2025-07-16

New Features

JSON Library

Added comprehensive JSON support with the following functions:

  • json::parse - Parse JSON strings
  • json::format - Format JSON data
  • json::create_object - Create JSON objects
  • json::create_array - Create JSON arrays
  • json::get_value - Extract values from JSON
  • json::is_valid - Validate JSON
  • json::merge - Merge JSON objects

Fixes

Issue 1: JSON String Parsing Errors

Symptom: "key must be a string at line 1 column 2" error when parsing JSON strings.

Solutions:

  • Added preprocess_json_string to handle escape characters
  • Added fix_json_string to automatically fix common JSON formatting issues
  • Added JSON extraction from HTTP responses
  • JSON strings are now parsed correctly, including from HTTP responses

Issue 2: Numeric Type Handling

Symptom: Numeric strings were treated as regular strings instead of numbers.

Solutions:

  • Added numeric type detection in cn_create_object and cn_create_array
  • Strings are now automatically converted to integers or floats when possible
  • Numeric strings are now correctly identified as JSON number types

Issue 3: Library Namespace Handling

Symptom: Hardcoded namespace handling limited extensibility.

Solutions:

  • Removed hardcoded namespace checks in the parser
  • Improved namespace function call handling
  • Removed special handling for std namespace
  • All library namespaces are now automatically recognized
  • Unified namespace function call interface for better extensibility

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

[v0.2.4] - 2025-07-16

新增功能

JSON库

新增完整的JSON支持,包含以下功能:

  • json::parse - 解析JSON字符串
  • json::format - 格式化JSON数据
  • json::create_object - 创建JSON对象
  • json::create_array - 创建JSON数组
  • json::get_value - 从JSON中提取值
  • json::is_valid - 验证JSON有效性
  • json::merge - 合并JSON对象

修复

问题1:JSON字符串解析错误

症状: 解析JSON字符串时出现"key must be a string at line 1 column 2"错误

解决方案:

  • 新增preprocess_json_string处理转义字符
  • 新增fix_json_string自动修复常见JSON格式问题
  • 新增从HTTP响应中提取JSON功能
  • 现在可以正确解析JSON字符串,包括从HTTP响应中提取

问题2:数值类型处理问题

症状: 数字字符串被当作普通字符串处理

解决方案:

  • cn_create_objectcn_create_array中增加数字类型检测
  • 字符串现在会自动尝试转换为整数或浮点数
  • 数字字符串现在能被正确识别为JSON数值类型

问题3:库命名空间处理问题

症状: 硬编码命名空间处理限制了扩展性

解决方案:

  • 移除解析器中的硬编码命名空间检查
  • 改进命名空间函数调用处理
  • 移除对std命名空间的特殊处理
  • 现在可以自动识别所有库的命名空间
  • 统一命名空间函数调用接口,提高扩展性

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 操作系统
  • 适当的文件解压工具

Full Changelog: CodeNothingCommunity/CodeNothing@v0.2.3...v0.2.4

v0.2.3

15 Jul 18:10

Choose a tag to compare

v0.2.3 Pre-release
Pre-release

CodeNothing Programming Language Interpreter v0.2.3 Changelog

[v0.2.3] - 2025-07-16

New Features

HTTP Library

  • Added HTTP library supporting:
    • HTTP requests (GET/POST/PUT/DELETE)
    • URL encoding/decoding utilities

Foreach Loop Syntax

  • Introduced foreach loop for iterating over arrays, maps and strings:
    foreach (item in collection) {  
        // Operations on each element  
    };  
    

Conditional Expressions

  • Added ternary operator for concise conditional logic:
    result = condition ? value_if_true : value_if_false;  
    

Fixes

Critical Issues

  • Fixed library namespace functionality
  • Corrected namespace function call parsing logic
  • Improved namespace management:
    • Auto-load namespace info from library.json
    • Simplified calling convention (no library prefix required)
    • Support for shared namespaces across libraries

Optimizations

  • Reduced strong dependency on library.json

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

[v0.2.3] - 2025-07-16

新增功能

HTTP库

  • 新增HTTP库支持:
    • HTTP请求(GET/POST/PUT/DELETE)
    • URL编解码工具

foreach循环语法

  • 新增foreach循环用于遍历数组、映射和字符串:
    foreach (item in collection) {  
        // 对每个元素执行操作  
    };  
    

条件表达式

  • 新增三元运算符简化条件逻辑:
    result = condition ? value_if_true : value_if_false;  
    

修复

关键问题

  • 修复库命名空间功能
  • 修正命名空间函数调用解析逻辑
  • 改进命名空间管理:
    • 从library.json自动加载命名空间信息
    • 简化调用方式(无需库名前缀)
    • 支持多库共享命名空间

优化

  • 降低对library.json的强依赖

Full Changelog: CodeNothingCommunity/CodeNothing@v0.2.2...v0.2.3

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 操作系统
  • 适当的文件解压工具

v0.2.2

15 Jul 11:51

Choose a tag to compare

v0.2.2 Pre-release
Pre-release

CodeNothing Programming Language Interpreter v0.2.2 Changelog

[v0.2.2] - 2025-07-15

Fixes

  • Fixed issue where using ns syntax was not working
  • Fixed problems with library-defined namespaces

Improvements

  • Enhanced namespace registration for libraries
  • Optimized library loading mechanism

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

[v0.2.2] - 2025-07-15

修复

  • 修复了using ns语法无法正常工作的问题
  • 修复了库定义命名空间错误的问题

改进

  • 改进了库命名空间的注册机制
  • 优化了库加载流程

Full Changelog: CodeNothingCommunity/CodeNothing@v0.2.1...v0.2.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 编程语言解释器了。

系统要求

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

v0.2.1

15 Jul 08:12

Choose a tag to compare

v0.2.1 Pre-release
Pre-release

CodeNothing Programming Language Interpreter v0.2.1 Changelog

[v0.2.1] - 2025-07-15

Error Reporting Improvements

  • The interpreter now displays all syntax errors at once instead of stopping after the first error
  • Redesigned error reporting system with clearer error messages
  • Added error recovery mechanism to check as much code as possible even with multiple errors
  • Added --cn-parser parameter to display detailed parsing debug information
  • Standardized error message format for better readability

Robustness Enhancements

  • Improved error handling flow to prevent complete parsing termination due to single errors
  • Added error point skipping recovery strategy to allow parser to continue processing subsequent code
  • Optimized internal error information collection mechanism to reduce memory usage

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

[v0.2.1] - 2025-07-15

错误报告改进

  • 解释器现在能够一次性显示所有语法错误,而不是在第一个错误后停止
  • 重新设计的错误报告系统,错误信息显示更清晰
  • 新增错误恢复机制,即使存在多个错误也能尽可能多地检查代码
  • 添加 --cn-parser 参数用于显示详细的解析调试信息
  • 统一错误消息格式,提高可读性

健壮性提升

  • 改进错误处理流程,防止因单个错误导致整个解析过程终止
  • 新增错误点跳过恢复策略,使解析器能够继续处理后续代码
  • 优化内部错误信息收集机制,减少内存占用

Full Changelog: CodeNothingCommunity/CodeNothing@v0.2.0...v0.2.1

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 操作系统
  • 适当的文件解压工具

v0.2.0

15 Jul 05:03

Choose a tag to compare

v0.2.0 Pre-release
Pre-release

CodeNothing Programming Language Interpreter v0.2.0 Changelog

[v0.2.0] - 2025-07-15

New Features

File Import System

  • Added using file syntax to import functions, variables and namespaces from other files
  • Implemented nested import support allowing indirect imports through other files
  • Added circular import detection to prevent stack overflow from cyclic dependencies

Void Return Type

  • Added void return type for functions that don't return values
  • Standardized function return behavior - void functions must use valueless return; statements

Example Files

  • Added examples/import_example.cn demonstrating basic file import functionality
  • Added examples/nested_import.cn showing nested import usage
  • Added examples/circular_import_test.cn for testing circular import detection
  • Added multiple utility function files demonstrating modular code organization

Fixes

  • Fixed memory leaks in parser when handling multi-file projects
  • Fixed scope resolution errors when calling namespace functions
  • Improved error reporting system for more accurate import-related error locations
  • Fixed Windows filesystem path handling compatibility issues

Performance Optimizations

  • Optimized file caching mechanism to avoid reloading imported files
  • Improved symbol table lookup algorithm for faster compilation of multi-file projects

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

[v0.2.0] - 2025-07-15

新增功能

文件导入系统

  • 添加using file语法支持从其他文件导入函数、变量和命名空间
  • 实现嵌套导入支持,允许通过其他文件间接导入内容
  • 添加循环导入检测机制防止因循环依赖导致的栈溢出

void返回类型

  • 添加void返回类型用于不需要返回值的函数
  • 规范化函数返回行为,void类型函数必须使用不带值的return;语句

示例文件

  • 添加examples/import_example.cn演示基本文件导入功能
  • 添加examples/nested_import.cn演示嵌套导入功能
  • 添加examples/circular_import_test.cn测试循环导入检测
  • 添加多个工具函数文件展示模块化代码组织

修复

  • 修复多文件项目处理时的内存泄漏问题
  • 修复命名空间函数调用时的作用域解析错误
  • 改进错误报告系统,更准确显示导入相关错误信息
  • 修复Windows系统文件路径处理的兼容性问题

性能优化

  • 优化文件缓存机制避免重复加载已导入文件
  • 改进符号表查找算法提升多文件项目编译速度

Full Changelog: CodeNothingCommunity/CodeNothing@v.0.1.1...v0.2.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 操作系统
  • 适当的文件解压工具

v.0.1.1

14 Jul 17:54

Choose a tag to compare

v.0.1.1 Pre-release
Pre-release

CodeNothing Programming Language Interpreter v0.1.1 Changelog

New Features

NULL

Bug Fixes

  • Fixed an issue where libraries could not be imported on Linux systems

Installation Guide

Download Steps

  1. Download the following two packages for your operating system:
    • Interpreter main package
    • Standard library package

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

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

新版本特性

NULL

修复问题

  • 修复了 Linux 系统下无法导入 library 的问题

安装指南

下载步骤

  1. 下载适用于您操作系统的以下两个压缩包:
    • 解释器本体压缩包
    • 标准库(library)压缩包

安装步骤

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

使用说明

完成上述步骤后,您就可以开始使用 CodeNothing 编程语言解释器了。

系统要求

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

Full Changelog: CodeNothingCommunity/CodeNothing@v.0.1.0...v.0.1.1