https://github.com/hikalium/compilium
C compiler + hikalium
https://github.com/hikalium/compilium
Last synced: 7 months ago
JSON representation
C compiler + hikalium
- Host: GitHub
- URL: https://github.com/hikalium/compilium
- Owner: hikalium
- License: mit
- Created: 2018-04-24T03:18:12.000Z (over 7 years ago)
- Default Branch: v2
- Last Pushed: 2020-10-24T08:16:55.000Z (about 5 years ago)
- Last Synced: 2024-11-09T23:02:28.086Z (about 1 year ago)
- Language: C
- Size: 854 KB
- Stars: 35
- Watchers: 5
- Forks: 52
- Open Issues: 9
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
- AwesomeCompiler - compilium
README
# compilium v2
[](https://circleci.com/gh/hikalium/compilium/tree/v2)
[](https://opensource.org/licenses/MIT)
[WIP] C compiler + hikalium
## Build
```
make
```
## Usage
```
./compilium [--os_type=Linux|Darwin]
```
compilium takes stdin as an input, so you can compile your code like this (in bash):
```
./compilium <<< "int main(){ return 0; }"
```
## Test
```
make testall
```
## Local CI
```
circleci config validate
circleci local execute
```
## Debug Tips
```
make debug FAILCASE_FILE=examples/calc.c
```
## License
MIT
## Author
[hikalium](https://github.com/hikalium)