GNC is Not C. It is intended for a better and more effective c language.
- int main() ...
- declare local int variable
- unary operation
- binary operation
- conditional statement
- loop statement
- scope
- function
- global variable
- more types
- cast expression
- pointer
- string
-
scanf()
andprintf()
- Pest as frontend
- LLVM as backend
- Parse tree and AST visualization using AntV
- HLVM (High Level Virtual Machine Interpreter)
- Full compiler capabilities in the browser using WASM
$ cargo build --package GNC --bin GNC
$ cd forntend
$ yarn
$ yarn build
# install zx
$ npm i -g zx
$ cd test
$ zx ./minidecaf-test.mjs