Skip to content

MikeGriniezakis/compiler-hy340

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

HY340

Prerequisites

  • CMake version 3.18 or higher
  • Flex library
  • Bison Library

Steps

  1. Navigate to the project directory

    Use the cd command to navigate into the project directory.

    cd hy340
  2. Create a build directory

    It's a good practice to create a separate directory for the build files. You can do this with the following command:

    mkdir build
  3. Navigate to the build directory

    Use the cd command to navigate into the build directory.

    cd build
  4. Run CMake

    Now you can run CMake to generate the build files. Use the following command:

    cmake ..

    The .. tells CMake to look for a CMakeLists.txt file in the parent directory.

  5. Build the project

    Finally, you can build the project with the following command:

    make

    This will build the project and create an executable file in the build directory.

Running the Project

After building the project, you can run it with the following command:

./hy340 <path_to_input_file>

This will run the hy340 executable. Replace <path_to_input_file> with the path to your input file.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published