Go to file
2024-05-06 17:02:50 +05:00
.vscode fixed rebuild_imgui-node-editor 2023-04-02 20:59:10 +06:00
cbuild@574ce6eab3 cbuild v7 2024-02-22 01:15:34 +06:00
dependencies format() 2024-03-23 02:21:32 +05:00
fonts embed_fonts 2023-04-01 17:03:29 +06:00
src gui error handler 2024-05-06 17:02:50 +05:00
tasks pre_build.sh fix 2024-03-22 17:02:30 +05:00
.gitignore NodeEditor class 2024-02-22 04:44:26 +06:00
.gitmodules imgui-node-editor removed 2024-02-22 04:49:25 +06:00
default.config c++17 2024-05-06 16:01:48 +05:00
Makefile node editor with RBTree 2024-05-02 07:20:58 +05:00
README.md sdl update 2024-02-22 02:40:28 +06:00

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

  1. Clone the repository
git clone --recurse-submodules https://github.com/Timerix22/GraphC
  1. 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 install
    

    or copy to ./libs:

    mkdir -p ../../libs
    cp ./build/.libs/SDL2.dll ../../libs/
    

    If it didn't work, read SDL docs and INSTALL.txt.

  2. Compile the program

make build_exec
  1. Copy program files from bin/* to any directory