diff --git a/src/main/test/java/MainTest.java b/src/main/test/java/MainTest.java index 92d0239..c956827 100644 --- a/src/main/test/java/MainTest.java +++ b/src/main/test/java/MainTest.java @@ -2,7 +2,9 @@ import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; - +/** + * run: mvn test + */ public class MainTest { @Test void testAdd() { @@ -13,6 +15,3 @@ public class MainTest { } -/** - * run: mvn test - */ \ No newline at end of file diff --git a/src/main/test/java/TestSpecs.md b/src/main/test/java/TestSpecs.md index e3f4c68..3626c74 100644 --- a/src/main/test/java/TestSpecs.md +++ b/src/main/test/java/TestSpecs.md @@ -29,8 +29,7 @@ [TokRightBrace] # Parser -## Parser Input -(Scanner Output) +## Parser Input (Scanner Output) ## Parser Output -> AST ### Beispiel 1: Empty Class @@ -42,6 +41,16 @@ # Semantische Analyse / Typcheck +## Typcheck Input (Parser Output) + +## Typcheck Output + +### Beispiel 1: Empty Class + + + +### Beispiel 2: Filled Class + # Bytecodegenerierung