Skip to content

jamesmcnamara/tiger

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

62 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Setup

Setting up things on OS X is easy thanks to Homebrew. Simple run the following command:

$ brew install smlnj rlwrap

Usage

We'll make use of the CM module for building the projects. To use it you need a sources.cm file. Then run the following commands.

$ rlwrap sml
Standard ML of New Jersey v110.78 [built: Thu Aug 20 19:23:18 2015]
- CM.make "sources.cm";
...
val it = true : bool

- Lexer.lexFile "fixtures/test1.tig";

Coding Conventions

  • Use 4 spaces for basic indentation, and never use tabs.

About

Compiler for the tiger programming language

Resources

Stars

Watchers

Forks

Packages

No packages published

Contributors 3

  •  
  •  
  •