This repository was archived by the owner on Aug 18, 2025. It is now read-only.
v0.4.1
CodeNothing Programming Language Interpreter v0.4.1 Changelog
[v0.4.1] - 2025-07-24
New Features
✨ Strong Type System
- Implemented strict type checking for variables
- Added
autotype support for weakly-typed variables (e.g.variable : auto = value) - Type matching check during variable declaration
- Type constraint check during variable assignment
- Maintained strong type checking for constants
- Supports mixed type system: strong + weak typing options
Type System Features
- 🔒 Strongly-Typed Variables:
intVar : int = 42- Type-safe, only accepts same-type assignments - 🔄 Auto Type:
autoVar : auto = value- Weakly-typed, accepts any type assignments - ⚡ Type Checking: Real-time type validation during declaration and assignment
- 📝 Clear Errors: Detailed type mismatch error messages
Technical Improvements
- 🔧 Extended AST with
Type::Autotype - 🔧 Enhanced parser to support
autokeyword - 🔧 Added variable type storage mechanism in interpreter
- 🔧 Implemented type constraint checking for variable assignments
CodeNothing 编程语言解释器 v0.4.1 更新日志
[v0.4.1] - 2025-07-24
新增功能
✨ 强类型系统
- 实现变量强类型检查
- 新增
auto类型支持弱类型变量 (如variable : auto = value) - 变量声明时进行类型匹配检查
- 变量赋值时进行类型约束检查
- 保持常量的强类型检查机制
- 支持混合类型系统:强类型 + 弱类型选择
类型系统特性
- 🔒 强类型变量:
intVar : int = 42- 类型安全,只能赋值相同类型 - 🔄 Auto 类型:
autoVar : auto = value- 弱类型,可以赋值任意类型 - ⚡ 类型检查: 变量声明和赋值时的实时类型验证
- 📝 清晰错误: 详细的类型不匹配错误信息
技术改进
- 🔧 扩展 AST 添加
Type::Auto类型 - 🔧 增强解析器支持
auto关键字 - 🔧 在解释器中添加变量类型存储机制
- 🔧 实现变量赋值的类型约束检查
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 操作系统
- 适当的文件解压工具
Full Changelog: CodeNothingCommunity/CodeNothing@v0.4.0...v0.4.1