Skip to content

tmprender/texy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TeXy README
seg2181, zh2312, xz2432, tmp2133 -> *@Columbia.edu

This deliverable was tested using Ubuntu 16.04 and LLVM 3.8

To compile and test:
 $ make
 $ ./testall.sh

 The script is included in the main folder.

##########################################

New features implemented:

Static Array for types: Int, Float, Word, Bool
 test-array.texy  (Declare, Assignment and Access of Word Array)
 fail-array1.texy (type mismatch in same array)
 fail-array2.texy (bad index, not using integer)

File I/O and open/close, read/write
 test-file.texy (also tests Word, our implementation of string)
 test-file.txt (DO NOT REMOVE FILE FROM MAIN DIRECTORY)
 


OTHER TESTS:
 fail-function.texy -> duplicate function name
 test-fib.texy -> recursion succesful
 test-func1.texy -> tests simple function successfully
 test-gloabl1.texy -> tests that global vairables are recognized and working
 test-if1.texy -> control flow of IF
 test-while1.texy -> control flow of WHILE 

About

compiler

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published