3bc-lang 中文文档教程

发布于 3年前 浏览 32 项目主页 更新于 3年前

3BC Language

版本许可证qualitycovarageBuild Status

低级语言,可在计算机和微控制器上运行的微型虚拟机。 (友好打孔卡片)

Documentation

About project

Common questionsanswer
What is the purpose of the language?the idea is to be a low level, simple and intuitive language that anyone can learn! (and that can even be read on punched cards)
Do you need knowledge of C to understand 3BC?No, they have different syntaxes
What is the language's typing level ?There is no distinction of types, they are just data
Does it have garbage collector?No, the developer has full control over the memory, this follows the same philosophy as C "freedom with responsibility"
Does it work as a compiler?No, it currently works as an interpreter (although a very fast one), or also by packaging bytecode with a vm in a single binary.
What are the influences?Languages Cobol, Ruby and Java; Assembly´s WASM, ARM and x86
Is it more compact than Lua?Yeah, because it has the same performance target as the Arduino Uno microcontroller. And this impacts it's size (depending on the CPU's architecture, 20KiB ROM and 300 bytes RAM )

3bc lang logo 本项目在 GNU GPL 3.0 或更高版本 下获得许可,请阅读 LICENSE.txt 文件。

3BC Language

versionlicensequalitycovarageBuild Status

Low level language, tiny virtual machine that works on computers and microcontrollers. (Friendly Punched cards)

Documentation

About project

Common questionsanswer
What is the purpose of the language?the idea is to be a low level, simple and intuitive language that anyone can learn! (and that can even be read on punched cards)
Do you need knowledge of C to understand 3BC?No, they have different syntaxes
What is the language's typing level ?There is no distinction of types, they are just data
Does it have garbage collector?No, the developer has full control over the memory, this follows the same philosophy as C "freedom with responsibility"
Does it work as a compiler?No, it currently works as an interpreter (although a very fast one), or also by packaging bytecode with a vm in a single binary.
What are the influences?Languages Cobol, Ruby and Java; Assembly´s WASM, ARM and x86
Is it more compact than Lua?Yeah, because it has the same performance target as the Arduino Uno microcontroller. And this impacts it's size (depending on the CPU's architecture, 20KiB ROM and 300 bytes RAM )

3bc lang logo This project is licensed under GNU GPL 3.0 or higher, please read the LICENSE.txt file.

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文