Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
jgm opened this issue Nov 15, 2022 · 1 comment
Open

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

jgm opened this issue Nov 15, 2022 · 1 comment

Comments

@jgm
Copy link
Owner

jgm commented Nov 15, 2022

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
Copy link
Owner Author

jgm commented Nov 15, 2022

Similarly, providing a "link" match around "linktext" + "definition"/"reference" would be helpful.

@jgm jgm transferred this issue from jgm/djot Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant