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

Iteration api by section #90

Merged
merged 13 commits into from
Oct 14, 2024
Merged

Iteration api by section #90

merged 13 commits into from
Oct 14, 2024

Conversation

mugdhadhole1
Copy link
Contributor

#12

@mugdhadhole1 mugdhadhole1 requested a review from a team as a code owner June 12, 2024 14:19
trlc/ast.py Show resolved Hide resolved
trlc/parser.py Outdated Show resolved Hide resolved
trlc/parser.py Outdated Show resolved Hide resolved
trlc/ast.py Outdated Show resolved Hide resolved
trlc/ast.py Outdated Show resolved Hide resolved
trlc/parser.py Outdated Show resolved Hide resolved
@florianschanda
Copy link
Collaborator

I think instead of just coding something it would be good to first define on #12 what this actually means. I can think of several interfaces:

  • a section iterator, which can then be iterated over again to get items
  • a modification of the normal iterator that yield sections along normal items; and you then have to recurse
  • a iteration via callback similar to http://www.saxproject.org/
  • ... something else?

This was linked to issues Sep 11, 2024
@christophkloeffel christophkloeffel enabled auto-merge (squash) October 14, 2024 16:37
@christophkloeffel christophkloeffel merged commit f4a647c into main Oct 14, 2024
21 checks passed
@christophkloeffel christophkloeffel deleted the iteration-api-by-section branch October 14, 2024 16:59
@phiwuu phiwuu added the topic: API Affects the user-facing API label Oct 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
topic: API Affects the user-facing API
Projects
None yet
Development

Successfully merging this pull request may close these issues.

new iteration api: by section new iteration api: by file
4 participants