https://github.com/two-project/2Lang
[Work in progress] An assembler for the 2Lang programming language
https://github.com/two-project/2Lang
assembly assembly-language binary compiler language programming-language
Last synced: 5 months ago
JSON representation
[Work in progress] An assembler for the 2Lang programming language
- Host: GitHub
- URL: https://github.com/two-project/2Lang
- Owner: hudson-newey
- Created: 2023-09-04T00:07:23.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-16T12:03:09.000Z (about 1 year ago)
- Last Synced: 2025-01-05T23:50:46.848Z (about 1 year ago)
- Topics: assembly, assembly-language, binary, compiler, language, programming-language
- Language: Rust
- Homepage:
- Size: 90.8 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