https://github.com/canislupaster/cplus
i dont know why c+ isnt used yet
https://github.com/canislupaster/cplus
Last synced: 12 months ago
JSON representation
i dont know why c+ isnt used yet
- Host: GitHub
- URL: https://github.com/canislupaster/cplus
- Owner: canislupaster
- Created: 2019-10-23T06:26:17.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-07-29T19:00:13.000Z (almost 6 years ago)
- Last Synced: 2025-01-06T07:52:13.191Z (over 1 year ago)
- Language: C
- Size: 217 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# About
Work-in-progress compiler for a simple but powerful language.
Sample code snippet:
```
x + y = for y x +x
x - y = for y x -(+(-x))
x * y = for x z=0 (for y z +z)
(-x) abs = x
x abs = x
x == y = for (for y x x-1) 1 0
bool = true, false
// is the same as
bool 0
bool 1
true = bool 0
false = bool 1
(bool x) if do else = for x do else
```
This project uses makeheaders to automatically generate header files for each source file. Makeheaders is maintained [here](https://www.fossil-scm.org/fossil/file/src/makeheaders.c). Simply build it and put it in your path.