[WIP] Implement parsing for lambdas + start implementing call

This commit is contained in:
2026-04-01 22:55:35 -05:00
parent 57a3d5954e
commit 98e40183bb
35 changed files with 341 additions and 73 deletions

View File

@@ -11,8 +11,8 @@ export class Load extends Command<{ path?: StrTerm }> {
return this.isKeyword(token, 'load')
}
attemptParse(context: ParseContext): { path?: StrTerm } {
return { path: context.popOptionalTerm() }
async attemptParse(context: ParseContext): Promise<{ path?: StrTerm }> {
return { path: await context.popOptionalTerm() }
}
getDisplayName(): string {