com.io7m.jstructural.tools

## Class JSCMain

- java.lang.Object
- - com.io7m.jstructural.tools.JSCMain

-     public final class JSCMain
      extends Object

  The `jstructural` compiler frontend.

- - ### Method Summary

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static com.io7m.jlog.LogUsableType` | `getLog(boolean debug)`
    `static void` | `main(String[] args)` Main entry.
    `static void` | `run(com.io7m.jlog.LogUsableType log, String[] args)` Run the compiler with the given command-line arguments.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Method Detail

    - #### getLog

          public static com.io7m.jlog.LogUsableType getLog(boolean debug)

      Parameters:
        `debug` - If debugging and stack traces should be enabled
      Returns:
        The log handle used by the compiler

    - #### main

          public static void main(String[] args)

      Main entry.
      Parameters:
        `args` - Program arguments

    - #### run

          public static void run(com.io7m.jlog.LogUsableType log,
                 String[] args)
                          throws Throwable

      Run the compiler with the given command-line arguments.
      Parameters:
        `log` - The log handle
        `args` - The arguments
      Throws:
        `Throwable` - On errors

Copyright © 2014 <code@io7m.com> http://io7m.com