This Rust-based tool generates, compiles, and tests code using LLMs, resolves dependencies, and provides explanations of existing code through embeddings.
# Install build essentials and CMake
sudo apt-get update
sudo apt-get install -y build-essential cmake
# Install Google Test
sudo apt-get install -y libgtest-dev
cd /usr/src/gtest
sudo cmake .
sudo make
sudo cp libgtest*.a /usr/lib/
# Navigate back to your project directory
cd ~/path_to_your_project/cpp
Launch example
Example query:
Example generation:
CMakeLists.txt
src/solution.cpp
src/solution.h
tests/solution_test.cpp
Example install dependencies
Example build
Example launch tests