https://github.com/lloydlobo/compiler-cpp
Compiler for IO, a hobby programming language
https://github.com/lloydlobo/compiler-cpp
compiler cpp language
Last synced: about 1 month ago
JSON representation
Compiler for IO, a hobby programming language
- Host: GitHub
- URL: https://github.com/lloydlobo/compiler-cpp
- Owner: lloydlobo
- Created: 2023-09-07T04:37:09.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-29T10:06:48.000Z (over 1 year ago)
- Last Synced: 2025-02-09T00:14:41.431Z (3 months ago)
- Topics: compiler, cpp, language
- Language: C++
- Homepage:
- Size: 18.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# io lang: C++ Language Compiler
## Build
```shell
cmake -S . -B build && cmake --build build
./build/io test.io
echo $?./out
echo $?
```## `asm` with linking
```shell
nasm -felf64 test.asm
ld test.o -o test
./test
echo $?
```## Credits
- YouTube video series "[Creating a Compiler](https://www.youtube.com/playlist?list=PLUDlas_Zy_qC7c5tCgTMYq2idyyT241qs)" by Pixeled
- Source [orosmatthew/hydrogen-cpp](https://github.com/orosmatthew/hydrogen-cpp) by Pixeled