Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zhoujingya/compiler-essentials
Learning compiler essentials
https://github.com/zhoujingya/compiler-essentials
compilers llvm
Last synced: 4 months ago
JSON representation
Learning compiler essentials
- Host: GitHub
- URL: https://github.com/zhoujingya/compiler-essentials
- Owner: zhoujingya
- License: mit
- Created: 2024-05-13T08:51:51.000Z (9 months ago)
- Default Branch: main
- Last Pushed: 2024-09-26T09:59:43.000Z (4 months ago)
- Last Synced: 2024-09-27T10:42:48.462Z (4 months ago)
- Topics: compilers, llvm
- Language: C++
- Homepage:
- Size: 1.14 MB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## How to build
`cmake -B build -G Ninja`
`cmake --build build`
`./install-riscv.sh` to install `riscv` toolchain
> Build debug version llvm, then export toolchain binary path
## How to test
`lit build/test`
## [small cc](src/smallcc)
base on [chibicc](https://github.com/rui314/chibicc), but use RISC-V ISA