Skip to content

Refactor parse utilities into dedicated modules#117

Merged
leynos merged 12 commits into
mainfrom
codex/refactor-parser-module-structure
Aug 18, 2025
Merged

Refactor parse utilities into dedicated modules#117
leynos merged 12 commits into
mainfrom
codex/refactor-parser-module-structure

Conversation

@leynos
Copy link
Copy Markdown
Owner

@leynos leynos commented Aug 17, 2025

Summary

  • split parse utilities into params, outputs, and type_expr modules
  • move delimiter helpers into token_utils and document error helpers
  • add targeted tests for parameter, output, and type expression parsing

Testing

  • make lint
  • make test

https://chatgpt.com/codex/tasks/task_e_68a139f69b648322a01bb05bb039300d

Summary by Sourcery

Restructure the parsing utilities by splitting them into dedicated modules for parameters, outputs, and type expressions; centralize common token and delimiter helpers in token_utils; remove the old type_parsing module; and add comprehensive tests for parameter, output, and type expression parsing.

Enhancements:

  • Split the parse_utils directory into separate params, outputs, and type_expr modules
  • Move trivia detection and delimiter helper logic into token_utils
  • Update parse_utils exports to use the new modular functions

Tests:

  • Add targeted tests for parsing parameters, outputs, and type expressions covering various edge cases

Chores:

  • Remove the obsolete type_parsing module

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant