Thoreau BASIC是一款自由x64解释器,在3.2版本中融合了现代计算特性与经典BASIC语法风格1。该项目从GW-BASIC汲取灵感,保留了行号和GOTO等传统元素,同时引入了原生x64 JIT编译、自动解释器回退机制等当代功能1。
新版本新增了多项技术增强1。核心性能方面支持原生x64 JIT编译、SSE2/AVX2加速和64位寻址,适应超大数组和复杂计算1。编程功能包括PARFOR多线程数值循环、复数与四元数等超复数原生支持1。图形与多媒体方面提供24位任意分辨率的图形、精灵和位图操作1,配备32个实时乐器通道与64个音效通道共256个声音1。网络方面在Windows和UEFI环境均支持TCP/IP通信1。
平台部署能力同样突出1。CREATEEXE和CREATEEFI功能可将BASIC程序编译为Windows可执行文件或直接可启动的UEFI应用1。开发工具集成了调试器、分析器、跟踪和程序分析功能1,并包含Mandelbrot实时交互式分形浏览器作为功能演示1。
Thoreau BASIC, a free x64 interpreter inspired by GW-BASIC, has reached version 3.2 with significant enhancements that blend vintage language syntax with contemporary computing capabilities1. The project explores what BASIC might have become had it remained relevant rather than fading from use1.
The latest release introduces native x64 JIT compilation with automatic interpreter fallback, enabling programs to achieve native performance while maintaining interactivity1. Version 3.2 extends BASIC's capabilities to include multi-threaded numerical loops via PARFOR, SSE2 and AVX2 acceleration for compute-intensive operations, and native support for complex numbers and quaternions1. The language supports 64-bit addressing and oversized arrays, positioning it for modern data-processing tasks1. Graphics functionality encompasses 24-bit arbitrary-resolution rendering with sprite and bitmap manipulation, while audio support provides 32 real-time instrument channels alongside 64 effect channels accommodating 256 sounds1.
Beyond execution, Thoreau BASIC integrates practical development tools including profilers, debuggers, tracing utilities, and program analysis features1. The interpreter runs on both Windows and bare-metal UEFI environments, with CREATEEXE and CREATEEFI commands allowing developers to compile BASIC programs into Windows executables or directly bootable UEFI applications respectively1. Networking capabilities include TCP/IP support across both platforms1. A Mandelbrot real-time interactive fractal browser demonstrates the language's combined graphical and computational capabilities1.
评论
还没有评论,欢迎留下第一条。