]> ruin.nu Git - proglang.git/commitdiff
updating documentation
authorMichael Andreen <harv@ruin.nu>
Tue, 14 Mar 2006 20:54:11 +0000 (20:54 +0000)
committerMichael Andreen <harv@ruin.nu>
Tue, 14 Mar 2006 20:54:11 +0000 (20:54 +0000)
documentation

index fd4664dac04d54fd6b6dcd63704cf8532714b799..47008eefba987fb88613cf46094072b64c289764 100644 (file)
@@ -1,7 +1,18 @@
 ####### DOCUMENTATIATOIAITAT ION ########
 
 ####### DOCUMENTATIATOIAITAT ION ########
 
+Usage:
+
+./CompInt [-c] [file]
+
+-c : Compile [file], interprets if it isn't specified
+
+if no arguments are specified then the file is interpreted
 
 Files:
 
 Files:
+Interpret.hs: Handles the interpretation of a program
+
+Compile.hs: Compiles the program into a c program
+
 Typechecker.hs: Simple modification of the bnfc-generated Testsyntax which calls the type-checking functions.
 
 Typecheck.hs: Contains the type-checking functions typeCheckExp, typeCheckVar and typeCheckStm and some utility functions, responsible for the entire type-checking process.
 Typechecker.hs: Simple modification of the bnfc-generated Testsyntax which calls the type-checking functions.
 
 Typecheck.hs: Contains the type-checking functions typeCheckExp, typeCheckVar and typeCheckStm and some utility functions, responsible for the entire type-checking process.