Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ThePhD/a_c_compiler
A C compiler. ... That's it.
https://github.com/ThePhD/a_c_compiler
Last synced: 3 months ago
JSON representation
A C compiler. ... That's it.
- Host: GitHub
- URL: https://github.com/ThePhD/a_c_compiler
- Owner: ThePhD
- License: other
- Created: 2023-08-22T18:25:46.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-09-12T20:54:20.000Z (about 1 year ago)
- Last Synced: 2024-05-02T02:12:51.286Z (7 months ago)
- Language: C++
- Homepage:
- Size: 127 KB
- Stars: 41
- Watchers: 9
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# A C Compiler
## Building
The usual CMake workflow:
```shell
$ cmake -S. -Bbuild
$ cmake --build build
```## Testing
```shell
$ cd build
$ ctest
Internal ctest changing into directory: /home/betsy/workspace/a_c_compiler/build
Test project /home/betsy/workspace/a_c_compiler/build
Start 1: test.lex.main
1/2 Test #1: test.lex.main .................... Passed 0.00 sec
Start 2: test.lex.numlit
2/2 Test #2: test.lex.numlit .................. Passed 0.00 sec100% tests passed, 0 tests failed out of 2
Total Test time (real) = 0.00 sec
```## Developing
See the `doc` directory for documentation on developing A C Compiler.