GraphC/README.md
2024-02-22 02:40:28 +06:00

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

  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