8000 GitHub - xia0pin9/compiler: Compiler Course Example Projects
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

xia0pin9/compiler

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Setting Up Development Environment

  1. Download and install Sireum by following the instructions at: http://www.sireum.org/download.

    (Alternatively, you can install the compiler tools listed at: http://compiler.santoslab.org/tools)

  2. Launch Compiler Development Environment (DE) (add -h for help to supply custom Eclipse command-line arguments such as configuring memory):

    sireum launch compilerdev
    

    Pick a directory for your workspace when asked.

  3. Add SIREUM_HOME/apps/platform/java in Eclipe's Java Installed JREs preference page, and make it the default. In addition, set Eclipse's Java Compiler compliance level to 1.7. (If Eclipse shows you a dialog box indicating that "Subversive Native Library Not Available", it means that you do not have native SVN installed; click Ok to close the dialog box. You can correct this issue by setting SVN Interface Client to "SVNKit" in the Eclipse's Team->SVN preference page.)

  4. Download the StaticJava Compiler (sjc) project set file. Import the project set file. This should import two projects into your workspace:

    There should not be any compile error.

  5. Run the JUnit tests in compiler-sjc and compiler-examples by right clicking each of the projects and select "Run As" and then "JUnit Test"; all tests should pass.

About

Compiler Course Example Projects

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0