-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #189 from Backlang-Org/develop
Develop
- Loading branch information
Showing
152 changed files
with
3,222 additions
and
1,491 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
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,6 +1,4 @@ | ||
public static func main() -> i32 | ||
func main() | ||
{ | ||
print("Hello World"); | ||
|
||
return 0; | ||
} |
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
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 |
---|---|---|
|
@@ -350,4 +350,4 @@ MigrationBackup/ | |
.ionide/ | ||
|
||
*.vsix | ||
StreamPlan.txt | ||
*.dll |
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
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
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
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,11 +1,11 @@ | ||
import System; | ||
|
||
public struct Point | ||
{ | ||
let callback: (i32, bool) -> none; | ||
let tuple: (i32, char); | ||
//let a: i32*; // this make a crashy crashy crash | ||
} | ||
func main() { | ||
if true { | ||
return 1; | ||
} | ||
else { | ||
return 2; | ||
} | ||
|
||
Main { | ||
print("after"); | ||
} |
This file was deleted.
Oops, something went wrong.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
namespace Backlang.Codeanalysis.Core; | ||
|
||
public enum ErrorID : int | ||
{ | ||
UnexpecedType = 0001, | ||
InvalidModifierCombination = 0002, | ||
UnknownCharacter = 0003, | ||
UnterminatedCharLiteral = 0004, | ||
UnknownExpression = 0005, | ||
UnknownLiteral = 0006, | ||
ForbiddenTrailingComma = 0007, | ||
BitfieldNotLiteral = 0008, | ||
UnexpecedTypeMember = 0009, | ||
ExpectedTypeLiteral = 0010, | ||
UnknownSwitchOption = 0011, | ||
NoCatchBlock = 0012, | ||
EmptyFile = 0013, | ||
ExpectedIdentifier = 0014, | ||
UnterminatedStringLiteral = 0015, | ||
NotClosedMultilineComment = 0016, | ||
Expected = 0017, | ||
DuplicateModifier = 0018, | ||
NamespaceAlreadyImported = 0019, | ||
RunnableTypeButNoEntrypoint = 0020, | ||
CannotBeFoundDidYouMean = 0021, | ||
CannotImplementTypeNotFound = 0022, | ||
CannotImplementUnitType = 0023, | ||
AlreadyDeclared = 0024, | ||
TypeMismatch = 0025, | ||
UnitTypeMismatch = 0026, | ||
CannotBeResolved = 0027, | ||
CannotFindFunction = 0028, | ||
TargetNotFound = 0029, | ||
NotDefined = 0030, | ||
CannotDeduceType = 31, | ||
DeducingTypeNotPossible = 32, | ||
} |
Oops, something went wrong.