Java Reference
In-Depth Information
File/Folder
Description
j-- root directory 2 .
j--/
src/
jminusminus/
*.java The compiler source files; J*.java files define classes
representing AST nodes, CL*.java files supply back-
end code that is used by j-- to create JVM byte code,
and N*.java files implement JVM-to-SPIM transla-
tion and register allocation.
j--.jj JavaCC input file for generating a scanner and
parser.
package.html Describes the jminusminus package for javadoc .
spim/
*.s,*.java SPIM 3 run-time files and their Java wrappers.
package.html Describes the spim package for javadoc.
overview.html Describes the j-- project for javadoc.
lib/
Contains jar files for JavaCC 4 , JUnit 5 , and
Java2HTML 6 . Also contains the jar file generated
for the compiler.
bin/
Contains UNIX and Windows scripts for running the
compiler and the Java class file emitter ( CLEmitter ).
tests/
clemitter/ Contains Java programs that programmatically gen-
erate class files using the CLEmitter interface.
pass/ Contains j-- conformance tests.
fail/ Contains j-- deviance tests. None of these tests
should compile successfully, that is, the compiler
should not produce class files for any of these tests.
junit/ Contains JUnit test cases for compiling and running
j-- test programs.
spim/ Contains j-- test programs that compile to SPIM.
lexicalgrammar Lexical grammar for j--.
grammar Syntactic grammar for j--.
build.xml Ant 7 file for building and testing the compiler.
.externalToolBuilders/ Contains project settings for Eclipse.
.classpath
.project
2 The directory that contains thej--root directory is referred to as $j .
3 A self-contained simulator that runs MIPS32 programs; http://spimsimulator.sourceforge
.net/ .
4 A lexer and parser generator for Java; http://javacc.dev.java.net/ .
5 A regression testing framework; http://www.junit.org .
6 Converts Java source code into a colorized and browsable HTML representation. http://www.
java2html.com .
7 A Java-based build tool; http://ant.apache.org .
 
Search WWH ::




Custom Search