00:32 | <devsnek> | could we merge function expression and named evaluation together such that |
00:32 | <devsnek> | if you pass name that is a string it adds the extra scope and if you pass name undefined it doesn't add the extra scope and sets the name to '' |
00:32 | <devsnek> | lots of duplication atm |
00:33 | <devsnek> | and named evaluation is kind of doing the opposite of what its called |
00:45 | <Bakkot> | I think I prefer the duplication over combining those two things |
18:41 | <devsnek> | VariableDeclarationList and BindingList are identical grammars right? |
18:46 | <Bakkot> | devsnek: at a glance, yes |
18:46 | <Bakkot> | though it could still make sense for both to exist if they have different syntax-directed operations |
18:46 | <devsnek> | yeah i realized i don't want to combine them to keep the difference between VariableDeclaration and LexicalBinding |
21:21 | <devsnek> | ok i got sidetracked on making errors look nice but... https://gc.gy/54345050.png |
21:29 | <Bakkot> | devsnek: sweet |
21:29 | <Bakkot> | good errors are great, especially for an expository tool like engine262 |
21:30 | <devsnek> | indeed |
21:30 | <devsnek> | still need to finish the actual parsing though https://gc.gy/54345625.png |