djot.lua icon indicating copy to clipboard operation
djot.lua copied to clipboard

Move list segmentation from ast.lua to blocks.lua?

Open jgm opened this issue 2 years ago • 1 comments

Currently we don't emit match objects for lists, only list items. List items are gathered together into lists in the AST building phase. I dimly recall there was some reason for this, but it would simplify AST building, and make the match stream more useful, if the work were done at the earlier stage.

jgm avatar Nov 15 '22 16:11 jgm