module BeakerHostGenerator::Parser

Functions for parsing the raw user input host layout string and turning them into proper data structures suitable for processing by the Generator.

The functions mainly perform data type conversions, like splitting the single input string into a list of strings, each of which will be processed further by other functions in this module.

For example, given the raw user input string that defines the host layout, you would first prepare it for tokenization via ‘prepare`, then split it into tokens via `tokenize_layout`, and then for each token you would call `is_ostype_token?` and/or `parse_node_info_token`.