Aufräumen

This commit is contained in:
JanUlrich 2017-10-04 16:39:02 +02:00
parent a78b7c5af3
commit bd024d9f4a
88 changed files with 32 additions and 16393 deletions

View File

@ -1,22 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" path="src"/>
<classpathentry kind="src" path="test"/>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
<classpathentry kind="lib" path="lib/bcel-6.1-SNAPSHOT.jar" sourcepath="lib/bcel-6.1-SNAPSHOT-sources.jar"/>
<classpathentry kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
<classpathentry kind="lib" path="lib/antlr-complete.jar"/>
<classpathentry kind="lib" path="lib/annotations-2.0.1.jar"/>
<classpathentry kind="lib" path="lib/bcel-6.1-SNAPSHOT-sources.jar"/>
<classpathentry kind="lib" path="lib/cloning.jar"/>
<classpathentry kind="lib" path="lib/commons-bcel6-6.0-SNAPSHOT.jar"/>
<classpathentry kind="lib" path="lib/javassist-3.19.0-GA.jar"/>
<classpathentry kind="lib" path="lib/junit-4.0.jar"/>
<classpathentry kind="lib" path="lib/log4j-1.2.12.jar"/>
<classpathentry kind="lib" path="lib/reflections-0.9.10-javadoc.jar"/>
<classpathentry kind="lib" path="lib/reflections-0.9.10-sources.jar"/>
<classpathentry kind="lib" path="lib/reflections-0.9.10.jar" sourcepath="/reflections/src"/>
<classpathentry kind="lib" path="lib/guava-22.0.jar" sourcepath="lib/guava-22.0-sources.jar"/>
<classpathentry kind="lib" path="lib/guava-15.0.jar"/>
<classpathentry kind="output" path="bin"/>
</classpath>

View File

@ -1,22 +0,0 @@
<component name="libraryTable">
<library name="lib">
<CLASSES>
<root url="jar://$PROJECT_DIR$/lib/log4j-1.2.12.jar!/" />
<root url="jar://$PROJECT_DIR$/lib/guava-10.0.1.jar!/" />
<root url="jar://$PROJECT_DIR$/lib/bcel-6.1-SNAPSHOT.jar!/" />
<root url="jar://$PROJECT_DIR$/lib/bcel-6.1-SNAPSHOT-sources.jar!/" />
<root url="jar://$PROJECT_DIR$/lib/annotations-2.0.1.jar!/" />
<root url="jar://$PROJECT_DIR$/lib/guava-15.0.jar!/" />
<root url="jar://$PROJECT_DIR$/lib/junit-4.0.jar!/" />
<root url="jar://$PROJECT_DIR$/lib/commons-bcel6-6.0-SNAPSHOT.jar!/" />
<root url="jar://$PROJECT_DIR$/lib/reflections-0.9.10-javadoc.jar!/" />
<root url="jar://$PROJECT_DIR$/lib/reflections-0.9.10.jar!/" />
<root url="jar://$PROJECT_DIR$/lib/cloning.jar!/" />
<root url="jar://$PROJECT_DIR$/lib/javassist-3.19.0-GA.jar!/" />
<root url="jar://$PROJECT_DIR$/lib/reflections-0.9.10-sources.jar!/" />
<root url="jar://$PROJECT_DIR$/lib/antlr-complete.jar!/" />
</CLASSES>
<JAVADOC />
<SOURCES />
</library>
</component>

View File

@ -1,17 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>JavaCompilerCore</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
</natures>
</projectDescription>

View File

@ -1,12 +0,0 @@
eclipse.preferences.version=1
org.eclipse.jdt.core.compiler.codegen.inlineJsrBytecode=enabled
org.eclipse.jdt.core.compiler.codegen.methodParameters=do not generate
org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.8
org.eclipse.jdt.core.compiler.codegen.unusedLocal=preserve
org.eclipse.jdt.core.compiler.compliance=1.8
org.eclipse.jdt.core.compiler.debug.lineNumber=generate
org.eclipse.jdt.core.compiler.debug.localVariable=generate
org.eclipse.jdt.core.compiler.debug.sourceFile=generate
org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
org.eclipse.jdt.core.compiler.source=1.8

25
JavaTXcompiler.iml Normal file
View File

@ -0,0 +1,25 @@
<?xml version="1.0" encoding="UTF-8"?>
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4">
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8" inherit-compiler-output="false">
<output url="file://$MODULE_DIR$/target/classes" />
<output-test url="file://$MODULE_DIR$/target/test-classes" />
<content url="file://$MODULE_DIR$">
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" />
<sourceFolder url="file://$MODULE_DIR$/test" isTestSource="true" />
<excludeFolder url="file://$MODULE_DIR$/target" />
</content>
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
<orderEntry type="library" scope="TEST" name="Maven: junit:junit:4.0" level="project" />
<orderEntry type="library" name="Maven: org.antlr:antlr4:4.7" level="project" />
<orderEntry type="library" name="Maven: org.antlr:antlr4-runtime:4.7" level="project" />
<orderEntry type="library" name="Maven: org.antlr:antlr-runtime:3.5.2" level="project" />
<orderEntry type="library" name="Maven: org.antlr:ST4:4.0.8" level="project" />
<orderEntry type="library" name="Maven: org.abego.treelayout:org.abego.treelayout.core:1.0.3" level="project" />
<orderEntry type="library" name="Maven: org.glassfish:javax.json:1.0.4" level="project" />
<orderEntry type="library" name="Maven: com.ibm.icu:icu4j:58.2" level="project" />
<orderEntry type="library" name="Maven: com.google.guava:guava:19.0" level="project" />
<orderEntry type="library" name="Maven: org.reflections:reflections:0.9.11" level="project" />
<orderEntry type="library" name="Maven: org.javassist:javassist:3.21.0-GA" level="project" />
</component>
</module>

View File

@ -1,9 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>

View File

@ -0,0 +1,7 @@
package de.dhbwstuttgart.parser.scope;
/**
* Created by janulrich on 04.10.17.
*/
public class TypeScope {
}

View File

@ -1,3 +0,0 @@
y.output
*.java
*.class

View File

@ -1,46 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="JavaCompiler.buildParser" default="JavaParser" basedir=".">
<property name="ParserSrcDir" value="./../src/mycompiler/myparser/"/>
<target name ="JavaParser" depends="JavaLexer" description="Create the file JavaParser.java">
<exec executable="${basedir}/RunJay.sh" os="linux" failonerror="true"/>
<exec executable="${basedir}/RunJayDarwin.sh" os="mac" failonerror="true"/>
<exec executable="${basedir}/RunJay.bat" os="windows" failonerror="true"/>
<!--
<echo message="Hallo Welt: ${ParserSrcDir}JavaParser.jay"/>
<exec executable="ipconfig" failonerror="true">
<arg value="/all"/>
</exec>
-->
<!--
<exec executable="${basedir}/jay.cygwin32" dir="${ParserSrcDir}" failonerror="true">
<arg value="-v ${ParserSrcDir}JavaParser.jay &lt;skeleton&gt; ${ParserSrcDir}JavaParser.java"/>
<arg value="-v"/>
<arg value="${ParserSrcDir}JavaParser.jay"/>
<arg value="&lt;"/>
<arg value="skeleton"/>
<arg value="&gt;"/>
<arg value="${ParserSrcDir}JavaParser.java"/>
</exec>
-->
</target>
<target name ="JavaLexer" depends="Lexer" description="Move the file JavaParser.lex.java to JavaParser.java">
<copy file="${ParserSrcDir}JavaLexer.lex.java" tofile="${ParserSrcDir}JavaLexer.java" failonerror="true"/>
</target>
<target name ="Lexer" description="Create the file JavaLexer.lex.java">
<java classname="JLex.Main"
classpath="${basedir}/JLex_neu.jar"
fork="true"
failonerror="true">
<arg value="${ParserSrcDir}JavaLexer.lex"/>
</java>
</target>
</project>

View File

@ -1,43 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="JavaCompiler.buildParser" default="JavaParser" basedir=".">
<property name="ParserSrcDir" value="./../src/de/dhbwstuttgart/parser/"/>
<target name ="JavaParser" depends="JavaLexer" description="Create the file JavaParser.java">
<exec executable="${basedir}/RunJayDarwin.sh" failonerror="true"/>
<!--
<echo message="Hallo Welt: ${ParserSrcDir}JavaParser.jay"/>
<exec executable="ipconfig" failonerror="true">
<arg value="/all"/>
</exec>
-->
<!--
<exec executable="${basedir}/jay.cygwin32" dir="${ParserSrcDir}" failonerror="true">
<arg value="-v ${ParserSrcDir}JavaParser.jay &lt;skeleton&gt; ${ParserSrcDir}JavaParser.java"/>
<arg value="-v"/>
<arg value="${ParserSrcDir}JavaParser.jay"/>
<arg value="&lt;"/>
<arg value="skeleton"/>
<arg value="&gt;"/>
<arg value="${ParserSrcDir}JavaParser.java"/>
</exec>
-->
</target>
<target name ="JavaLexer" depends="Lexer" description="Move the file JavaParser.lex.java to JavaParser.java">
<move file="${ParserSrcDir}JavaLexer.lex.java" tofile="${ParserSrcDir}JavaLexer.java" failonerror="true"/>
</target>
<target name ="Lexer" description="Create the file JavaLexer.lex.java">
<java classname="JLex.Main"
classpath="${basedir}/JLex_neu.jar"
fork="true"
failonerror="true">
<arg value="${ParserSrcDir}JavaLexer.lex"/>
</java>
</target>
</project>

View File

@ -1,42 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="JavaCompiler.buildParser" default="JavaParser" basedir=".">
<property name="ParserSrcDir" value="./../src/mycompiler/myparser/"/>
<target name ="JavaParser" depends="JavaLexer" description="Create the file JavaParser.java">
<exec executable="${basedir}/RunJay.sh" failonerror="true"/>
<!--
<echo message="Hallo Welt: ${ParserSrcDir}JavaParser.jay"/>
<exec executable="ipconfig" failonerror="true">
<arg value="/all"/>
</exec>
-->
<!--
<exec executable="${basedir}/jay.cygwin32" dir="${ParserSrcDir}" failonerror="true">
<arg value="-v ${ParserSrcDir}JavaParser.jay &lt;skeleton&gt; ${ParserSrcDir}JavaParser.java"/>
<arg value="-v"/>
<arg value="${ParserSrcDir}JavaParser.jay"/>
<arg value="&lt;"/>
<arg value="skeleton"/>
<arg value="&gt;"/>
<arg value="${ParserSrcDir}JavaParser.java"/>
</exec>
-->
</target>
<target name ="JavaLexer" depends="Lexer" description="Move the file JavaParser.lex.java to JavaParser.java">
<move file="${ParserSrcDir}JavaLexer.lex.java" tofile="${ParserSrcDir}JavaLexer.java" failonerror="true"/>
</target>
<target name ="Lexer" description="Create the file JavaLexer.lex.java">
<java classname="JLex.Main"
classpath="${basedir}/JLex_neu.jar"
fork="true"
failonerror="true">
<arg value="${ParserSrcDir}JavaLexer.lex"/>
</java>
</target>
</project>

View File

@ -1,45 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<project name="JavaCompiler.buildParser" default="JavaParser" basedir=".">
<property name="ParserSrcDir" value="./../src/de/dhbwstuttgart/parser/"/>
<target name ="JavaParser" depends="JavaLexer" description="Create the file JavaParser.java">
<!-- Diese Buildfile wird ausgeführt, auch unter linux... -->
<exec executable="${basedir}/RunJay.sh" failonerror="true"/>
<!--
<echo message="Hallo Welt: ${ParserSrcDir}JavaParser.jay"/>
<exec executable="ipconfig" failonerror="true">
<arg value="/all"/>
</exec>
-->
<!--
<exec executable="${basedir}/jay.cygwin32" dir="${ParserSrcDir}" failonerror="true">
<arg value="-v ${ParserSrcDir}JavaParser.jay &lt;skeleton&gt; ${ParserSrcDir}JavaParser.java"/>
<arg value="-v"/>
<arg value="${ParserSrcDir}JavaParser.jay"/>
<arg value="&lt;"/>
<arg value="skeleton"/>
<arg value="&gt;"/>
<arg value="${ParserSrcDir}JavaParser.java"/>
</exec>
-->
</target>
<target name ="JavaLexer" depends="Lexer" description="Move the file JavaParser.lex.java to JavaParser.java">
<move file="${ParserSrcDir}JavaLexer.lex.java" tofile="${ParserSrcDir}JavaLexer.java" failonerror="true"/>
</target>
<target name ="Lexer" description="Create the file JavaLexer.lex.java">
<java classname="JLex.Main"
classpath="${basedir}/JLex_neu.jar"
fork="true"
failonerror="true">
<arg value="${ParserSrcDir}JavaLexer.lex"/>
</java>
</target>
</project>

Binary file not shown.

Binary file not shown.

File diff suppressed because it is too large Load Diff

View File

@ -1,12 +0,0 @@
#!/bin/bash
if [ $1 ] ;
then
/usr/lib/jvm/jdk1.8.0/bin/javac -d './' $1
echo $classfile
classfile=`echo $1 | sed 's/^.*\/\([^/]*\)\.java/\1/'`
#classfile=`pwd`"/$classfile"
echo "Klasse erfolgreich generiert: $classfile"
/usr/lib/jvm/jdk1.8.0/bin/java $classfile
else echo "Fehler: Bitte den Pfad zu einer .java Datei als Parameter übergeben!"
fi

View File

@ -1 +0,0 @@
jay.cygwin32 -v .\..\src\mycompiler\myparser\JavaParser.jay < skeleton > .\..\src\mycompiler\myparser\JavaParser.java

View File

@ -1 +0,0 @@
./../tools/jay -v ./../src/de/dhbwstuttgart/parser/JavaParser.jay < skeleton > ./../src/de/dhbwstuttgart/parser/JavaParser.java

View File

@ -1 +0,0 @@
./../tools/jay.darwin -v ./../src/de/dhbwstuttgart/parser/JavaParser.jay < skeleton > ./../src/de/dhbwstuttgart/parser/JavaParser.java

View File

@ -1,69 +0,0 @@
2004/11/18 14:39:17 Starting cygwin install, version 2.427
2004/11/18 14:39:17 Current Directory: D:\Downloads
2004/11/18 14:39:17 Changing gid to Users
2004/11/18 14:39:17 Could not open service McShield for query, start and stop. McAfee may not be installed, or we don't have access.
2004/11/18 14:39:21 source: network install
2004/11/18 14:39:25 root: C:\cygwin binary system
2004/11/18 14:39:47 Selected local directory: D:\Downloads\Cygwin
2004/11/18 14:39:52 net: Direct
2004/11/18 14:40:22 source: download
2004/11/18 14:40:23 Selected local directory: D:\Downloads\Cygwin
2004/11/18 14:40:24 net: Direct
2004/11/18 14:40:37 site: ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/sources.redhat.com/cygwin
2004/11/18 14:40:48 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/ash/ash-20040127-1.tar.bz2
2004/11/18 14:40:48 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/base-files/base-files-3.1-4.tar.bz2
2004/11/18 14:40:48 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/base-passwd/base-passwd-2.1-1.tar.bz2
2004/11/18 14:40:52 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/bash/bash-2.05b-16.tar.bz2
2004/11/18 14:40:54 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/bzip2/bzip2-1.0.2-6.tar.bz2
2004/11/18 14:40:56 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/cygutils/cygutils-1.2.5-1.tar.bz2
2004/11/18 14:41:05 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/cygwin/cygwin-1.5.12-1.tar.bz2
2004/11/18 14:41:10 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/cygwin-doc/cygwin-doc-1.3-7.tar.bz2
2004/11/18 14:41:12 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/diffutils/diffutils-2.8.7-1.tar.bz2
2004/11/18 14:41:13 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/editrights/editrights-1.01-1.tar.bz2
2004/11/18 14:41:15 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/fileutils/fileutils-4.1-2.tar.bz2
2004/11/18 14:41:16 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/findutils/findutils-4.1.7-4.tar.bz2
2004/11/18 14:41:21 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/gawk/gawk-3.1.4-3.tar.bz2
2004/11/18 14:41:22 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/gdbm/gdbm-1.8.3-7.tar.bz2
2004/11/18 14:41:22 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/grep/grep-2.5-1.tar.bz2
2004/11/18 14:41:38 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/groff/groff-1.18.1-2.tar.bz2
2004/11/18 14:41:38 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/gzip/gzip-1.3.5-1.tar.bz2
2004/11/18 14:41:39 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/less/less-381-1.tar.bz2
2004/11/18 14:41:39 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/bzip2/libbz2_1/libbz2_1-1.0.2-6.tar.bz2
2004/11/18 14:41:39 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/libiconv/libcharset1/libcharset1-1.9.2-1.tar.bz2
2004/11/18 14:41:39 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/gdbm/libgdbm/libgdbm-1.8.0-5.tar.bz2
2004/11/18 14:41:39 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/gdbm/libgdbm-devel/libgdbm-devel-1.8.3-7.tar.bz2
2004/11/18 14:41:40 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/gdbm/libgdbm3/libgdbm3-1.8.3-3.tar.bz2
2004/11/18 14:41:40 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/gdbm/libgdbm4/libgdbm4-1.8.3-7.tar.bz2
2004/11/18 14:41:41 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/gettext/libgettextpo0/libgettextpo0-0.14.1-1.tar.bz2
2004/11/18 14:41:46 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/libiconv/libiconv-1.9.2-1.tar.bz2
2004/11/18 14:41:51 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/libiconv/libiconv2/libiconv2-1.9.2-1.tar.bz2
2004/11/18 14:41:51 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/gettext/libintl1/libintl1-0.10.40-1.tar.bz2
2004/11/18 14:41:52 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/gettext/libintl2/libintl2-0.12.1-3.tar.bz2
2004/11/18 14:41:52 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/gettext/libintl3/libintl3-0.14.1-1.tar.bz2
2004/11/18 14:41:53 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/ncurses/libncurses5/libncurses5-5.2-1.tar.bz2
2004/11/18 14:41:54 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/ncurses/libncurses6/libncurses6-5.2-8.tar.bz2
2004/11/18 14:41:55 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/ncurses/libncurses7/libncurses7-5.3-4.tar.bz2
2004/11/18 14:41:57 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/ncurses/libncurses8/libncurses8-5.4-1.tar.bz2
2004/11/18 14:41:57 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/pcre/libpcre/libpcre-4.1-1.tar.bz2
2004/11/18 14:41:57 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/pcre/libpcre0/libpcre0-4.5-1.tar.bz2
2004/11/18 14:41:58 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/popt/libpopt0/libpopt0-1.6.4-4.tar.bz2
2004/11/18 14:41:58 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/readline/libreadline4/libreadline4-4.1-2.tar.bz2
2004/11/18 14:41:58 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/readline/libreadline5/libreadline5-4.3-5.tar.bz2
2004/11/18 14:41:59 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/readline/libreadline6/libreadline6-5.0-1.tar.bz2
2004/11/18 14:41:59 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/login/login-1.9-7.tar.bz2
2004/11/18 14:42:00 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/man/man-1.5o-1.tar.bz2
2004/11/18 14:42:00 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/mktemp/mktemp-1.5-3.tar.bz2
2004/11/18 14:42:02 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/ncurses/ncurses-5.4-1.tar.bz2
2004/11/18 14:42:03 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/readline/readline-5.0-1.tar.bz2
2004/11/18 14:42:04 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/sed/sed-4.1.2-1.tar.bz2
2004/11/18 14:42:07 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/sh-utils/sh-utils-2.0.15-4.tar.bz2
2004/11/18 14:42:10 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/tar/tar-1.13.25-5.tar.bz2
2004/11/18 14:42:10 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/termcap/termcap-20021106-2.tar.bz2
2004/11/18 14:42:11 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/terminfo/terminfo-5.4_20041009-1.tar.bz2
2004/11/18 14:42:15 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/texinfo/texinfo-4.2-4.tar.bz2
2004/11/18 14:42:18 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/textutils/textutils-2.0.21-1.tar.bz2
2004/11/18 14:42:19 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/which/which-1.5-2.tar.bz2
2004/11/18 14:42:19 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/zlib/zlib-1.2.2-1.tar.bz2
2004/11/18 14:42:19 Downloaded D:\Downloads\Cygwin/ftp%3a%2f%2fftp-stud.fht-esslingen.de%2fpub%2fMirrors%2fsources.redhat.com%2fcygwin/release/_update-info-dir/_update-info-dir-00230-1.tar.bz2
2004/11/18 14:42:19 mbox note: Download Complete
2004/11/18 14:42:21 Ending cygwin install

File diff suppressed because it is too large Load Diff

Binary file not shown.

Binary file not shown.

Binary file not shown.

BIN
tools/jay

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -1,28 +0,0 @@
JAVAC = javac -classpath .:
all: JavaLexer.class
$(JAVAC) *.java
pars: JavaLexer.class
$(JAVAC) JavaCompiler.java
JavaLexer.class: JavaParser.java JavaLexer.java
$(JAVAC) JavaLexer.java
JavaParser.class: JavaParser.java
$(JAVAC) JavaParser.java
JavaParser.java: JavaParser.jay
./jay -v JavaParser.jay < skeleton > JavaParser.java
JavaLexer.java: JavaLexer.lex.java
mv JavaLexer.lex.java JavaLexer.java
JavaLexer.lex.java: JavaLexer.lex
java -classpath .:JLex.jar JLex.Main JavaLexer.lex
clean:
rm *.class
rm JavaLexer.java
rm JavaParser.java
rm y.output

View File

@ -1,22 +0,0 @@
JAVAC = javac -classpath .;
MyCompiler.class: MyCompiler.java JavaParser.java
$(JAVAC) MyCompiler.java
JavaParser.class: JavaParser.java
$(JAVAC) JavaParser.java
JavaLexer.class: JavaLexer.java
$(JAVAC) JavaLexer.java
JavaParser.java: JavaParser.jay JavaLexer.java
jay.cygwin32 -v JavaParser.jay < skeleton > JavaParser.java
JavaLexer.java: JavaLexer.lex.java
copy JavaLexer.lex.java JavaLexer.java
JavaLexer.lex.java: JavaLexer.lex
java -classpath .;JLex.jar JLex.Main JavaLexer.lex
clean:
del *.class JavaLexer.java JavaParser.java JavaLexer.lex.java

View File

@ -1 +0,0 @@
nmake -f Makefile.cygwin

View File

@ -1,279 +0,0 @@
# jay skeleton
# character in column 1 determines outcome...
# # is a comment
# . is copied
# t is copied as //t if -t is set
# other lines are interpreted to call jay procedures
.// created by jay 0.7 (c) 1998 Axel.Schreiner@informatik.uni-osnabrueck.de
.
prolog ## %{ ... %} prior to the first %%
.// %token constants
. //{ //ergaenzt PL 23.01.01 wieder entfernt 21.12.01
tokens public static final int
.
. /** thrown for irrecoverable syntax errors and stack overflow.
. */
. public static class yyException extends java.lang.Exception {
. public Token token;
. public yyException (String message, Token token) {
. super(message);
. this.token=token;
. }
. }
.
. /** must be implemented by a scanner object to supply input to the parser.
. */
. public interface yyInput {
. /** move on to next token.
. @return false if positioned beyond tokens.
. @throws IOException on input error.
. */
. boolean advance () throws java.io.IOException;
. /** classifies current token.
. Should not be called if advance() returned false.
. @return current %token or single character.
. */
. int token ();
. /** associated with current token.
. Should not be called if advance() returned false.
. @return value for token().
. */
. Object value ();
. }
.
. /** simplified error message.
. @see <a href="#yyerror(java.lang.String, java.lang.String[])">yyerror</a>
. */
. public void yyerror (String message) {
. yyerror(message, null);
. }
.
. /** (syntax) error message.
. Can be overwritten to control message format.
. @param message text to be displayed.
. @param expected Menge of acceptable tokens, if available.
. */
. public String yyerror (String message, String[] expected) {
. if (expected != null && expected.length > 0) {
. System.err.print(message+", expecting");
. message+=", expecting";
. for (int n = 0; n < expected.length; ++ n){
. System.err.print(" "+expected[n]);
. message+=" "+expected[n];}
. System.err.println();
. return message;
. } else{
. System.err.println(message);
. return message;}
. }
.
. /** debugging support, requires the package jay.yydebug.
. Set to null to suppress debugging messages.
. */
t protected jay.yydebug.yyDebug yydebug;
.
debug ## tables for debugging support
.
. /** index-checked interface to yyName[].
. @param token single character or %token value.
. @return token name or [illegal] or [unknown].
. */
t public static final String yyname (int token) {
t if (token < 0 || token > yyName.length) return "[illegal]";
t String name;
t if ((name = yyName[token]) != null) return name;
t return "[unknown]";
t }
.
. /** computes list of expected tokens on error by tracing the tables.
. @param state for which to compute the list.
. @return list of token names.
. */
. protected String[] yyExpecting (int state) {
. // yyCheck durch yyCheckInit.yyCheck; ersetzt PL 25.1.01
. int token, n, len = 0;
. boolean[] ok = new boolean[yyName.length];
.
. if ((n = yySindex[state]) != 0)
. for (token = n < 0 ? -n : 0;
. token < yyName.length && n+token < yyTable.length; ++ token)
. if (yyCheckInit.yyCheck[n+token] == token && !ok[token] && yyName[token] != null) {
. ++ len;
. ok[token] = true;
. }
. if ((n = yyRindex[state]) != 0)
. for (token = n < 0 ? -n : 0;
. token < yyName.length && n+token < yyTable.length; ++ token)
. if (yyCheckInit.yyCheck[n+token] == token && !ok[token] && yyName[token] != null) {
. ++ len;
. ok[token] = true;
. }
.
. String result[] = new String[len];
. for (n = token = 0; n < len; ++ token)
. if (ok[token]) result[n++] = yyName[token];
. return result;
. }
.
. /** the generated parser, with debugging messages.
. Maintains a state and a value stack, currently with fixed maximum size.
. @param yyLex scanner.
. @param yydebug debug message writer implementing yyDebug, or null.
. @return result of the last reduction, if any.
. @throws yyException on irrecoverable parse error.
. */
. public Object yyparse (yyInput yyLex, Object yydebug)
. throws java.io.IOException, yyException {
t this.yydebug = (jay.yydebug.yyDebug)yydebug;
. return yyparse(yyLex);
. }
.
. /** initial size and increment of the state/value stack [default 256].
. This is not final so that it can be overwritten outside of invocations
. of yyparse().
. */
. protected int yyMax;
.
. /** executed at the beginning of a reduce action.
. Used as $$ = yyDefault($1), prior to the user-specified action, if any.
. Can be overwritten to provide deep copy, etc.
. @param first value for $1, or null.
. @return first.
. */
. protected Object yyDefault (Object first) {
. return first;
. }
.
. /** the generated parser.
. Maintains a state and a value stack, currently with fixed maximum size.
. @param yyLex scanner.
. @return result of the last reduction, if any.
. @throws yyException on irrecoverable parse error.
. */
. public Object yyparse (yyInput yyLex)
. throws java.io.IOException, yyException {
. // yyCheck durch yyCheckInit.yyCheck; ersetzt PL 23.1.01
. yyCheckInit.yyCheckInit(); // initial yyCheck eingefuegt PL 25.1.01
. if (yyMax <= 0) yyMax = 256; // initial size
. int yyState = 0, yyStates[] = new int[yyMax]; // state stack
. Object yyVal = null, yyVals[] = new Object[yyMax]; // value stack
. int yyToken = -1; // current input
. int yyErrorFlag = 0; // #tks to shift
. Scanner yyScanner = (Scanner)yyLex;
. String yyErrorString = "irrecoverable syntax error";
.
local ## %{ ... %} after the first %%
. yyLoop: for (int yyTop = 0;; ++ yyTop) {
. if (yyTop >= yyStates.length) { // dynamically increase
. int[] i = new int[yyStates.length+yyMax];
. System.arraycopy(yyStates, 0, i, 0, yyStates.length);
. yyStates = i;
. Object[] o = new Object[yyVals.length+yyMax];
. System.arraycopy(yyVals, 0, o, 0, yyVals.length);
. yyVals = o;
. }
. yyStates[yyTop] = yyState;
. yyVals[yyTop] = yyVal;
t if (yydebug != null) yydebug.push(yyState, yyVal);
.
. yyDiscarded: for (;;) { // discarding a token does not change stack
. int yyN;
. if ((yyN = yyDefRed[yyState]) == 0) { // else [default] reduce (yyN)
. if (yyToken < 0) {
. yyToken = yyLex.advance() ? yyLex.token() : 0;
t if (yydebug != null)
t yydebug.lex(yyState, yyToken, yyname(yyToken), yyLex.value());
. }
. if ((yyN = yySindex[yyState]) != 0 && (yyN += yyToken) >= 0
. && yyN < yyTable.length && yyCheckInit.yyCheck[yyN] == yyToken) {
t if (yydebug != null)
t yydebug.shift(yyState, yyTable[yyN], yyErrorFlag-1);
. yyState = yyTable[yyN]; // shift to yyN
. yyVal = yyLex.value();
. yyToken = -1;
. if (yyErrorFlag > 0) -- yyErrorFlag;
. continue yyLoop;
. }
. if ((yyN = yyRindex[yyState]) != 0 && (yyN += yyToken) >= 0
. && yyN < yyTable.length && yyCheckInit.yyCheck[yyN] == yyToken)
. yyN = yyTable[yyN]; // reduce (yyN)
. else
. switch (yyErrorFlag) {
.
. case 0:
. yyErrorString=yyerror("syntax error", yyExpecting(yyState));
t if (yydebug != null) yydebug.error("syntax error");
.
. case 1: case 2:
. yyErrorFlag = 3;
. do {
. if ((yyN = yySindex[yyStates[yyTop]]) != 0
. && (yyN += yyErrorCode) >= 0 && yyN < yyTable.length
. && yyCheckInit.yyCheck[yyN] == yyErrorCode) {
t if (yydebug != null)
t yydebug.shift(yyStates[yyTop], yyTable[yyN], 3);
. yyState = yyTable[yyN];
. yyVal = yyLex.value();
. continue yyLoop;
. }
t if (yydebug != null) yydebug.pop(yyStates[yyTop]);
. } while (-- yyTop >= 0);
t if (yydebug != null) yydebug.reject();
. throw new yyException(yyErrorString, yyScanner.token);
.
. case 3:
. if (yyToken == 0) {
t if (yydebug != null) yydebug.reject();
. throw new yyException(yyErrorString+"at end-of-file", yyScanner.token);
. }
t if (yydebug != null)
t yydebug.discard(yyState, yyToken, yyname(yyToken),
t yyLex.value());
. yyToken = -1;
. continue yyDiscarded; // leave stack alone
. }
. }
. int yyV = yyTop + 1-yyLen[yyN];
t if (yydebug != null)
t yydebug.reduce(yyState, yyStates[yyV-1], yyN, yyRule[yyN], yyLen[yyN]);
. yyVal = yyDefault(yyV > yyTop ? null : yyVals[yyV]);
. switch (yyN) {
actions ## code from the actions within the grammar
. }
. yyTop -= yyLen[yyN];
. yyState = yyStates[yyTop];
. int yyM = yyLhs[yyN];
. if (yyState == 0 && yyM == 0) {
t if (yydebug != null) yydebug.shift(0, yyFinal);
. yyState = yyFinal;
. if (yyToken < 0) {
. yyToken = yyLex.advance() ? yyLex.token() : 0;
t if (yydebug != null)
t yydebug.lex(yyState, yyToken,yyname(yyToken), yyLex.value());
. }
. if (yyToken == 0) {
t if (yydebug != null) yydebug.accept(yyVal);
. return yyVal;
. }
. continue yyLoop;
. }
. if ((yyN = yyGindex[yyM]) != 0 && (yyN += yyState) >= 0
. && yyN < yyTable.length && yyCheckInit.yyCheck[yyN] == yyState)
. yyState = yyTable[yyN];
. else
. yyState = yyDgoto[yyM];
t if (yydebug != null) yydebug.shift(yyStates[yyTop], yyState);
. continue yyLoop;
. }
. }
. }
.
tables ## tables for rules, default reduction, and action calls
.
epilog ## text following second %%

View File

@ -1,9 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<module type="WEB_MODULE" version="4">
<component name="NewModuleRootManager" inherit-compiler-output="true">
<exclude-output />
<content url="file://$MODULE_DIR$" />
<orderEntry type="inheritedJdk" />
<orderEntry type="sourceFolder" forTests="false" />
</component>
</module>