Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 926 Bytes

INSTALL.md

File metadata and controls

22 lines (16 loc) · 926 Bytes

Installing the SubTiger compiler provided in this repository

  • The source for the compiler is written in Standard ML, hence make sure to install the essential software tools on your system.

    # install Standard ML interpreter
    sudo apt install smlnj smlnj-doc libsmlnj-smlnj ml-build
    
    # install Standard ML compiler
    sudo apt install mlton
    
    # install required utilities for building parser and lexers
    sudo apt install ml-yacc ml-lex ml-burg ml-lpt
    
    # install the SPIM simulator
    sudo apt install spim
  • Clone this repository and execute the command make from the terminal in the following directories to generate the binary executable:

  • See SUMMARY.md and SYNTAX.md for more information on how to use the compiler