mirror of
https://github.com/Noratrieb/riverdelta.git
synced 2026-01-15 00:45:04 +01:00
start implememting crate loading
This commit is contained in:
parent
a0599342ea
commit
b3b0bc2e6f
12 changed files with 249 additions and 165 deletions
|
|
@ -230,10 +230,7 @@ export function tokenize(input: string): Token[] {
|
|||
}
|
||||
|
||||
let type: LitIntType = "Int";
|
||||
console.log(input[i + 2]);
|
||||
if (input[i + 1] === "_" && isIdentStart(input[i + 2])) {
|
||||
console.log("yes", input.slice(i + 2, i + 5));
|
||||
|
||||
if (input.slice(i + 2, i + 5) === "Int") {
|
||||
i += 4;
|
||||
type = "Int";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue