WIP: dev #1

Draft
nub31 wants to merge 103 commits from dev into master
2 changed files with 5 additions and 1 deletions
Showing only changes of commit aa5a494d39 - Show all commits

View File

@@ -565,6 +565,8 @@ public class Parser
return new NodeTypeChar(TokensFrom(startIndex)); return new NodeTypeChar(TokensFrom(startIndex));
case "bool": case "bool":
return new NodeTypeBool(TokensFrom(startIndex)); return new NodeTypeBool(TokensFrom(startIndex));
case "int":
return new NodeTypeSInt(TokensFrom(startIndex), 64);
case "i8": case "i8":
return new NodeTypeSInt(TokensFrom(startIndex), 8); return new NodeTypeSInt(TokensFrom(startIndex), 8);
case "i16": case "i16":
@@ -573,6 +575,8 @@ public class Parser
return new NodeTypeSInt(TokensFrom(startIndex), 32); return new NodeTypeSInt(TokensFrom(startIndex), 32);
case "i64": case "i64":
return new NodeTypeSInt(TokensFrom(startIndex), 64); return new NodeTypeSInt(TokensFrom(startIndex), 64);
case "uint":
return new NodeTypeUInt(TokensFrom(startIndex), 64);
case "u8": case "u8":
return new NodeTypeUInt(TokensFrom(startIndex), 8); return new NodeTypeUInt(TokensFrom(startIndex), 8);
case "u16": case "u16":

View File

@@ -29,4 +29,4 @@ func main(): i32 {
} }
return 0 return 0
} }