Adding Stateful, giving up on elm style purity, components get their own state

This commit is contained in:
Dustin Swan 2026-02-05 20:08:39 -07:00
parent 9d1b079361
commit a9afb03694
No known key found for this signature in database
GPG key ID: 30D46587E2100467
6 changed files with 291 additions and 43 deletions

View file

@ -147,7 +147,7 @@ export class Parser {
}
// Let
if (this.current().kind === 'ident' && this.peek().kind === 'equals') {
if ((this.current().kind === 'ident' || this.current().kind === 'underscore') && this.peek().kind === 'equals') {
return this.parseLet();
}