-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Escaped characters stored in strings correctly
Fixed #147
- Loading branch information
1 parent
feab02e
commit 3cb2132
Showing
3 changed files
with
9 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,3 @@ | ||
|
||
|
||
print 1 == 1; //true | ||
print 1 != 1; //false | ||
|
||
print 1 < 2; //true | ||
|
||
print "foo" > "bar"; //true | ||
|
||
|
||
print 1 < 2; //true | ||
print 1 > 2; //false | ||
|
||
print 2 <= 2; //true | ||
print 2 >= 2; //true | ||
|
||
print 1 <= 2; //true | ||
print 1 >= 2; //false | ||
|
||
print true && true; //true | ||
print true && false; //false | ||
print false && true; //false | ||
print false && false; //false | ||
|
||
print true || true; //true | ||
print true || false; //true | ||
print false || true; //true | ||
print false || false; //false | ||
|
||
print !true; //false | ||
print !false; //true | ||
|
||
|
||
|
||
|
||
|
||
//nesting | ||
print true && false || true; //TODO: a warning is needed for this | ||
print "\tHello\nworld"; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters