This repository was archived by the owner on Aug 18, 2025. It is now read-only.
  
  
  
  
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 filesyntax 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 voidreturn 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.cndemonstrating basic file import functionality
- Added examples/nested_import.cnshowing nested import usage
- Added examples/circular_import_test.cnfor 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
- 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)
 
- Interpreter main package  (
Installation Steps
- Extract both packages
- Create a subfolder named libraryin the interpreter's main directory
- Copy all extracted library files (.dll or .so) into the newly created libraryfolder
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-{OS}.zip)
- 标准库(library)压缩包(codenothing-all-libraries-{OS}-latest.tar.gz)
 
- 解释器本体压缩包(
安装步骤
- 解压两个压缩包
- 在解释器本体文件夹中创建子文件夹:library
- 将解压出的 library 文件(.dll 或 .so)全部复制到新建的 library文件夹中
使用说明
完成上述步骤后,您就可以开始使用 CodeNothing 编程语言解释器了。
系统要求
- Windows/Linux 操作系统
- 适当的文件解压工具