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

v0.2.3

Pre-release
Pre-release

Choose a tag to compare

@HelloAIXIAOJI HelloAIXIAOJI released this 15 Jul 18:10
· 1127 commits to master since this 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 操作系统
  • 适当的文件解压工具