https://github.com/two-project/2lang
[Work in progress] An assembler for the 2Lang meta programming language
https://github.com/two-project/2lang
assembly assembly-language binary compiler language programming-language
Last synced: 11 months ago
JSON representation
[Work in progress] An assembler for the 2Lang meta programming language
- Host: GitHub
- URL: https://github.com/two-project/2lang
- Owner: two-project
- Created: 2023-09-04T00:07:23.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2025-02-08T12:55:50.000Z (12 months ago)
- Last Synced: 2025-02-27T00:53:54.278Z (11 months ago)
- Topics: assembly, assembly-language, binary, compiler, language, programming-language
- Language: Rust
- Homepage:
- Size: 124 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 2 Lang
The worlds most efficient systems programming language
- [Language Docs](docs/language.md)
- [Compiler Docs](docs/compiler.md)
- [Docgen Spec](docs/docgen.md)
## Theory
2 Lang is built upon three simple ideas
- Writing the number 0 will write an **unset** bit (0) to a file
- Writing the number 1 will write a **set** bit (1) to a file
- You can repeat a template of 1s and 0s using a macro
- `#(MY::MACRO) 1101` will write the bits 1101 whenever `(MY::MACRO)` is written