Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • shchen/cs320
  • raveendr/cs320
  • mwojnaro/cs320
3 results
Show changes
Showing
with 179 additions and 0 deletions
KeywordToken(object)(1:1)
OperatorToken(<=)(1:7)
IdentifierToken(id_1)(1:9)
OperatorToken(++)(1:13)
OperatorToken(+)(1:15)
KeywordToken(_)(1:16)
IntLitToken(1)(1:17)
DelimiterToken({)(1:18)
IdentifierToken(id)(1:19)
DelimiterToken(})(1:21)
DelimiterToken(()(1:22)
DelimiterToken())(1:23)
KeywordToken(class)(1:24)
OperatorToken(<=)(1:29)
DelimiterToken(=>)(1:31)
OperatorToken(==)(1:33)
OperatorToken(<)(1:35)
OperatorToken(%)(1:36)
EOFToken()(2:1)
\ No newline at end of file
OperatorToken(*)(4:3)
OperatorToken(/)(4:4)
EOFToken()(4:5)
IntLitToken(1)(1:1)
IntLitToken(2)(3:1)
IntLitToken(3)(4:1)
IntLitToken(4)(5:1)
IntLitToken(5)(10:1)
IntLitToken(6)(11:12)
IntLitToken(7)(12:1)
EOFToken()(14:1)
\ No newline at end of file
DelimiterToken({)(1:1)
DelimiterToken(})(1:3)
DelimiterToken(()(1:5)
DelimiterToken())(1:7)
DelimiterToken(,)(1:9)
DelimiterToken(:)(1:11)
DelimiterToken(.)(1:13)
DelimiterToken(=)(1:15)
DelimiterToken(=>)(1:17)
KeywordToken(_)(1:20)
EOFToken()(2:1)
\ No newline at end of file
IdentifierToken(app)(1:1)
IdentifierToken(boolean)(1:5)
IdentifierToken(caSe)(2:1)
IdentifierToken(Class)(2:6)
IdentifierToken(df)(2:12)
IdentifierToken(elze)(2:15)
IdentifierToken(Error)(2:20)
IdentifierToken(Extends)(2:26)
IdentifierToken(False)(2:34)
IdentifierToken(iff)(2:40)
IdentifierToken(int)(2:44)
IdentifierToken(module)(2:48)
IdentifierToken(string)(2:55)
IdentifierToken(True)(3:1)
IdentifierToken(unit)(3:6)
IdentifierToken(vals)(3:11)
IdentifierToken(this_is_id)(5:1)
IdentifierToken(this_IS_id2)(5:12)
IdentifierToken(st1ll1s_1d)(5:24)
IdentifierToken(St1ll1s_1d)(7:1)
EOFToken()(8:1)
IntLitToken(123)(1:1)
IntLitToken(12345)(1:5)
IntLitToken(6789)(2:1)
OperatorToken(+)(2:5)
IntLitToken(12345)(2:6)
EOFToken()(3:1)
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)
KeywordToken(end)(3:15)
EOFToken()(4:1)
DelimiterToken(;)(1:1)
OperatorToken(+)(1:3)
OperatorToken(-)(1:5)
OperatorToken(*)(1:7)
OperatorToken(/)(1:9)
OperatorToken(%)(1:11)
OperatorToken(<)(1:13)
OperatorToken(<=)(1:15)
OperatorToken(&&)(1:18)
OperatorToken(||)(1:21)
OperatorToken(==)(1:24)
OperatorToken(++)(1:27)
OperatorToken(!)(1:30)
EOFToken()(2:1)
StringLitToken(This is a string)(1:1)
StringLitToken(Another with ^^ | # invalid chars)(2:1)
StringLitToken(No escape \n characters \t)(3:1)
StringLitToken( \\ No comments /* either )(4:1)
EOFToken()(5:1)
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)
KeywordToken(end)(3:15)
EOFToken()(4:1)
DelimiterToken(;)(1:1)
OperatorToken(+)(1:3)
OperatorToken(-)(1:5)
OperatorToken(*)(1:7)
OperatorToken(/)(1:9)
OperatorToken(%)(1:11)
OperatorToken(<)(1:13)
OperatorToken(<=)(1:15)
OperatorToken(&&)(1:18)
OperatorToken(||)(1:21)
OperatorToken(==)(1:24)
OperatorToken(++)(1:27)
OperatorToken(!)(1:30)
EOFToken()(2:1)
IntLitToken(1)(1:2)
IntLitToken(2)(2:5)
EOFToken()(3:1)
object<=id_1+++_1{id}()class<==>==<%
/* This comment is closed twice,
which should be an error:
*/*/
\ No newline at end of file
1
// This is a comment
2 /* This is also a comment */
3 /* Still * /* comment */
4 /* Multiline
/*
*
Comment
*/
5 /***/
/* abc **/ 6 /* def */
7
//
{ } ( ) , : . = => _
app boolean
caSe Class df elze Error Extends False iff int module string
True unit vals
this_is_id this_IS_id2 st1ll1s_1d
St1ll1s_1d
123 012345
6789+12345
abstract Boolean
case class def else error extends false if Int match object String
true Unit val end
; + - * / % < <= && || == ++ !
"This is a string"
"Another with ^^ | # invalid chars"
"No escape \n characters \t"
" \\ No comments /* either "