Installation
To get Zynk up and running, you have two main options: downloading the precompiled interpreter or building from source. Follow the instructions below based on your preference.
1. Download Precompiled Interpreter (Recommended)
- Go to the Releases page on GitHub.
- Download the latest release of interpreter suitable for your operating system.
- Extract the interpreter to your desired location.
2. Building from Source
If you prefer to build Zynk from source, follow these steps:
Prerequisites
Before building Zynk, make sure you have the following software installed:
- CMake: A cross-platform build system generator. You can download it from the CMake website.
- A C++ Compiler: Such as GCC, Clang, or MSVC. Ensure that the compiler is compatible with C++17 or later.
- Git: For cloning the repository. You can download it from the Git website.
Build Instructions
-
Clone the repository:
To clone a specific version, replace
TAG_NAME
with the desired tag. You can find available tags on the Tags page on GitHub.git clone --branch TAG_NAME --single-branch https://github.com/xXenvy/Zynk.git
Example for cloning the
v1.0.0
tag:git clone --branch v1.0.0 --single-branch https://github.com/xXenvy/Zynk.git
-
Navigate to the project directory:
cd Zynk
-
Create a directory for temporary files (commonly named
build
):mkdir build
-
Change to the build directory:
cd build
-
Configure CMake and build the project:
First, run:
cmake ..
Then build the project:
cmake --build . --config Release
-
Once the compilation is complete, you can run the Zynk interpreter from the
src
directory:./Zynk