# LaTenS

| Daniel Schwartz | Eliana Ward-Lev | Elsbeth Turcan |   Mohit Rajpal     |
|:---------------:|:---------------:|:--------------:|:------------------:|
|     `ds3263`    |    `erw2138`    |    `ect2150`   |     `mr3522`       |
|     *Manager*   |  *Language Guru*|     *Tester*   | *System Architect* |


To run code:
0) ./latens.native -s < test_input.tens > out.ll 
   - does semantic checking on test_input.tens and pretty prints sast into out.ll
   - -a flag for printing ast
1) /usr/local/opt/llvm/bin/lli out.ll
   - runs a .ll file

~~~~~ Links ~~~~~  
1) https://www.sharelatex.com/project/57e067ad0934347f40c1dea4  
2) http://llvm.org/releases/3.8.0/docs/tutorial/OCamlLangImpl3.html  
3) https://llvm.moe/ocaml/  
4) http://llvm.org/releases/2.6/docs/LangRef.html

Commenting:
for latex printing: only allowed before blocks and fdecls: can be any number of lines beginning with %%.
    - note: the block/fdecl must continue on the next line
    - similarly, the first %% must be on its own line

Scripts:
1) script_num_pass.sh counts the number of tests that pass and the number that fail. Divide the number that fail by two.