1.1 KiB
1.1 KiB
GraphC - visual programming tool
When i was working on my compiler project, i understood that AST processing code isn't clear even for me because of hundreds lines of condition branches. GraphC is GUI editor of condition trees. It generates optimized AST processing code in C. GUI is based on Dear ImGui and SDL
Installation
- Clone the repository
git clone --recurse-submodules https://github.com/Timerix22/GraphC
-
Install SDL2 from package manager or compile it from source.
If you are using msys, switch to mingw64 shell.cd dependencies/SDL2 ./configure make -j [number of cpu threads]Then you can install it systemwide:
make installor copy to ./libs:
mkdir -p ../../libs cp ./build/.libs/SDL2.dll ../../libs/If it didn't work, read SDL docs and INSTALL.txt.
-
Compile the program
make build_exec
- Copy program files from
bin/*to any directory