Compiler Development Final assignment 1.0 Help

How to start

This topic provides information how to setup and run application.

How to build program

Run make command

make all

Program Usage

Run program in Interactive Mode

To run program in Interactive mode follow instruction:

  1. Run program in your terminal

    ./prog
  2. Enter your query

    InterativeMode
  3. Finish your query with EOF signal.

  1. You will get output in files:

  • out.S-- assembly file

  • tree-- tree file in a readable form

Run program in File Read Mode

  1. Run program with file name as argument in your terminal:

./prog tests/2.t
  1. You will get output in files:

  • out.S-- assembly file

  • tree-- tree file in a readable form

Last modified: 06 June 2024