what if instead of building an ast i did not do that
Conversation
Notices
-
Embed this notice
Lizzie (lizzie@brain.worm.pink)'s status on Friday, 09-Feb-2024 16:11:56 JST Lizzie -
Embed this notice
iced depresso (icedquinn@blob.cat)'s status on Friday, 09-Feb-2024 16:11:51 JST iced depresso @lizzie :neocat_woozy: gonna make things really woozy if you don't. you can sometimes avoid the parse tree by reading directly in to an AST -
Embed this notice
iced depresso (icedquinn@blob.cat)'s status on Friday, 09-Feb-2024 16:23:03 JST iced depresso @lizzie yeah i don't think i would go there. you can combine the parse tree to ast when you do PEGs. but i dunno what you are going to save by lazy generating the AST. -
Embed this notice
Lizzie (lizzie@brain.worm.pink)'s status on Friday, 09-Feb-2024 16:23:04 JST Lizzie @icedquinn basically considering making an interface that looks a lot like building an ast, but at no point does a recursive data structure exist (this is a terribly idea (i am doing it anyway))
-
Embed this notice