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

Introduce Section intermediate object to RbtParameterFileSource #116

Conversation

Beetelbrox
Copy link
Collaborator

@Beetelbrox Beetelbrox commented Jun 4, 2024

As a first step to parse parameter files into properly-typed data structures and not need a stateful parser I've introduced a Section object inside RbtParameterFileSource that corresponds to each one of the sections in the parameter file.

To avoid shotgunning changes all over the code I've maintained the API of RbtParameterFileSource but internally data is stored inside Section objects. Then we can start using this objects from outside the code and progressively move out of the current implementation. Also I reckon we can type this further, we'll discover how as we keep breaking down the filesource.

@Beetelbrox Beetelbrox changed the title Sync with old repo Introduce Section intermediate object to RbtParameterFileSource as first step to parse parameter files into dedicated structures Jun 4, 2024
@Beetelbrox Beetelbrox changed the title Introduce Section intermediate object to RbtParameterFileSource as first step to parse parameter files into dedicated structures Introduce Section intermediate object to RbtParameterFileSource Jun 4, 2024
@Beetelbrox Beetelbrox marked this pull request as draft June 4, 2024 17:05
@Beetelbrox
Copy link
Collaborator Author

Closing in favour of #119

@Beetelbrox Beetelbrox closed this Jun 7, 2024
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

Successfully merging this pull request may close these issues.

1 participant