Disabled external gits
This commit is contained in:
		@@ -0,0 +1,3 @@
 | 
			
		||||
object MinimalError {
 | 
			
		||||
	error("")
 | 
			
		||||
}
 | 
			
		||||
@@ -0,0 +1,3 @@
 | 
			
		||||
object EmptyObject {
 | 
			
		||||
	
 | 
			
		||||
}
 | 
			
		||||
@@ -0,0 +1,4 @@
 | 
			
		||||
/* This comment is closed twice,
 | 
			
		||||
which should not be interpreted as a single closed comment
 | 
			
		||||
 | 
			
		||||
*/*/
 | 
			
		||||
							
								
								
									
										1
									
								
								cs320-clp/test/resources/lexer/failing/SingleAmp.scala
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								cs320-clp/test/resources/lexer/failing/SingleAmp.scala
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1 @@
 | 
			
		||||
&
 | 
			
		||||
@@ -0,0 +1 @@
 | 
			
		||||
/***
 | 
			
		||||
@@ -0,0 +1,3 @@
 | 
			
		||||
OperatorToken(*)(4:3)
 | 
			
		||||
OperatorToken(/)(4:4)
 | 
			
		||||
EOFToken()(4:5)
 | 
			
		||||
							
								
								
									
										18
									
								
								cs320-clp/test/resources/lexer/outputs/Keywords.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								cs320-clp/test/resources/lexer/outputs/Keywords.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
			
		||||
KeywordToken(abstract)(1:1)
 | 
			
		||||
PrimTypeToken(Boolean)(1:10)
 | 
			
		||||
KeywordToken(case)(2:1)
 | 
			
		||||
KeywordToken(class)(2:6)
 | 
			
		||||
KeywordToken(def)(2:12)
 | 
			
		||||
KeywordToken(else)(2:16)
 | 
			
		||||
KeywordToken(error)(2:21)
 | 
			
		||||
KeywordToken(extends)(2:27)
 | 
			
		||||
BoolLitToken(false)(2:35)
 | 
			
		||||
KeywordToken(if)(2:41)
 | 
			
		||||
PrimTypeToken(Int)(2:44)
 | 
			
		||||
KeywordToken(match)(2:48)
 | 
			
		||||
KeywordToken(object)(2:54)
 | 
			
		||||
PrimTypeToken(String)(2:61)
 | 
			
		||||
BoolLitToken(true)(3:1)
 | 
			
		||||
PrimTypeToken(Unit)(3:6)
 | 
			
		||||
KeywordToken(val)(3:11)
 | 
			
		||||
EOFToken()(4:1)
 | 
			
		||||
							
								
								
									
										3
									
								
								cs320-clp/test/resources/lexer/outputs/Whitespace.txt
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								cs320-clp/test/resources/lexer/outputs/Whitespace.txt
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
IntLitToken(1)(1:2)
 | 
			
		||||
IntLitToken(2)(2:5)
 | 
			
		||||
EOFToken()(3:1)
 | 
			
		||||
@@ -0,0 +1,4 @@
 | 
			
		||||
/* This comment is closed twice,
 | 
			
		||||
which should be an error:
 | 
			
		||||
 | 
			
		||||
*/*/
 | 
			
		||||
							
								
								
									
										3
									
								
								cs320-clp/test/resources/lexer/passing/Keywords.scala
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								cs320-clp/test/resources/lexer/passing/Keywords.scala
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
abstract Boolean
 | 
			
		||||
case class def else error extends false if Int match object String
 | 
			
		||||
true Unit val
 | 
			
		||||
							
								
								
									
										2
									
								
								cs320-clp/test/resources/lexer/passing/Whitespace.scala
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								cs320-clp/test/resources/lexer/passing/Whitespace.scala
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,2 @@
 | 
			
		||||
	1 // Tab indented
 | 
			
		||||
    2 // Space indented
 | 
			
		||||
@@ -0,0 +1,3 @@
 | 
			
		||||
object Args {
 | 
			
		||||
  def foo(i: Int): Int = { foo(1, 2) }
 | 
			
		||||
}
 | 
			
		||||
@@ -0,0 +1,8 @@
 | 
			
		||||
object ParamAndLocal_0 {
 | 
			
		||||
  def foo_0(i_0: Int): Int = {
 | 
			
		||||
    val i_1: Int =
 | 
			
		||||
      (i_0 + 1);
 | 
			
		||||
    i_1
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
@@ -0,0 +1,6 @@
 | 
			
		||||
object ParamAndLocal {
 | 
			
		||||
  def foo(i: Int): Int = {
 | 
			
		||||
    val i: Int = i + 1;
 | 
			
		||||
    i
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										2
									
								
								cs320-clp/test/resources/parser/outputs/Empty.scala
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								cs320-clp/test/resources/parser/outputs/Empty.scala
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,2 @@
 | 
			
		||||
object Empty {
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										11
									
								
								cs320-clp/test/resources/parser/outputs/IfCondition.scala
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								cs320-clp/test/resources/parser/outputs/IfCondition.scala
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
			
		||||
object IfCondition {
 | 
			
		||||
  (if((
 | 
			
		||||
    val x: Boolean =
 | 
			
		||||
      true;
 | 
			
		||||
    x
 | 
			
		||||
  )) {
 | 
			
		||||
    1
 | 
			
		||||
  } else {
 | 
			
		||||
    2
 | 
			
		||||
  })
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										7
									
								
								cs320-clp/test/resources/parser/outputs/Literals.scala
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										7
									
								
								cs320-clp/test/resources/parser/outputs/Literals.scala
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,7 @@
 | 
			
		||||
object Literals {
 | 
			
		||||
  1;
 | 
			
		||||
  ();
 | 
			
		||||
  ();
 | 
			
		||||
  "Hello";
 | 
			
		||||
  true
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										12
									
								
								cs320-clp/test/resources/parser/outputs/MatchScrutinee.scala
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										12
									
								
								cs320-clp/test/resources/parser/outputs/MatchScrutinee.scala
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,12 @@
 | 
			
		||||
object IfMatch {
 | 
			
		||||
  (if(true) {
 | 
			
		||||
    1
 | 
			
		||||
  } else {
 | 
			
		||||
    2
 | 
			
		||||
  }) match {
 | 
			
		||||
    case 1 =>
 | 
			
		||||
      true
 | 
			
		||||
    case 2 =>
 | 
			
		||||
      false
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										2
									
								
								cs320-clp/test/resources/parser/passing/Empty.scala
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										2
									
								
								cs320-clp/test/resources/parser/passing/Empty.scala
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,2 @@
 | 
			
		||||
object Empty {
 | 
			
		||||
}
 | 
			
		||||
@@ -0,0 +1,3 @@
 | 
			
		||||
object IfCondition {
 | 
			
		||||
  if (val x: Boolean = true; x) { 1 } else { 2 }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										3
									
								
								cs320-clp/test/resources/parser/passing/Literals.scala
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								cs320-clp/test/resources/parser/passing/Literals.scala
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
object Literals {
 | 
			
		||||
  1; (); ( ); "Hello"; true
 | 
			
		||||
}
 | 
			
		||||
@@ -0,0 +1,6 @@
 | 
			
		||||
object IfMatch {
 | 
			
		||||
  if (true) { 1 } else { 2 } match {
 | 
			
		||||
    case 1 => true
 | 
			
		||||
    case 2 => false
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										3
									
								
								cs320-clp/test/resources/typer/failing/ArithError1.scala
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								cs320-clp/test/resources/typer/failing/ArithError1.scala
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
object ArithError1 {
 | 
			
		||||
  1 + true
 | 
			
		||||
}
 | 
			
		||||
							
								
								
									
										3
									
								
								cs320-clp/test/resources/typer/passing/Arithmetic.scala
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										3
									
								
								cs320-clp/test/resources/typer/passing/Arithmetic.scala
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,3 @@
 | 
			
		||||
object Arithmetic {
 | 
			
		||||
  1 + 2 * 3 / 4 % -5
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user