dspl
Class dsplc

java.lang.Object
  extended by dspl.dsplc

public class dsplc
extends java.lang.Object

Author:
dlariviere, vkm

Constructor Summary
dsplc()
           
 
Method Summary
private static int compileAsmFile(java.lang.String asmFile, java.lang.String outputExecutableFile, Options cOps)
           
private static int compileSourceFile(java.lang.String inputFile, java.lang.String outputFile, Options compileOptions)
           
static void main(java.lang.String[] args)
           
private static void printUsage()
          Responsible for printing the usage parameters of dsplc to the console.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

dsplc

public dsplc()
Method Detail

main

public static void main(java.lang.String[] args)
Parameters:
args -

printUsage

private static void printUsage()
Responsible for printing the usage parameters of dsplc to the console.


compileSourceFile

private static int compileSourceFile(java.lang.String inputFile,
                                     java.lang.String outputFile,
                                     Options compileOptions)
Parameters:
inputFile: - name of dspl source file to compile
outputFile: - name of output assembly file to generate
Returns:
0 if sucessfull, -1 if error occured

compileAsmFile

private static int compileAsmFile(java.lang.String asmFile,
                                  java.lang.String outputExecutableFile,
                                  Options cOps)