Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 866 Bytes

Build.md

File metadata and controls

37 lines (29 loc) · 866 Bytes

Build Instructions for SSJITCompiler

Prerequisites

  • CMake (version 3.10 or higher)
  • C++11 compiler (e.g., GCC, Clang)

Build Steps

  1. Clone the SSJITCompiler repository:

    git clone https://github.com/SpoinkOSDevs/SanityScrew.git
  2. Navigate to the src directory:

    cd src
  3. Generate the build files with CMake:

    cmake .
  4. Build the SSJITCompiler executable:

    cmake --build .
  5. After successful compilation, the SSJITCompiler executable will be available in the build directory.

Running the SSJITCompiler

To compile and run code using the SSJITCompiler, follow these steps:

  1. Create a text file containing SSJIT code (e.g., example.ss).
  2. Run the SSJITCompiler executable with the input file as an argument:
    ./SSJITCompiler example.ss