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

Support for Parser Files #179

Open
StartAutomating opened this issue Jan 18, 2023 · 0 comments
Open

Support for Parser Files #179

StartAutomating opened this issue Jan 18, 2023 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@StartAutomating
Copy link
Owner

StartAutomating commented Jan 18, 2023

A Parser File Should represent a way to parse input.

Tentatively, it should support the following file patterns:

  • .parser.ps1
  • .irregular.parser.ps1

A parser would be "valid" under a few potential conditions:

  • The input passes a [ValidateScript({})] requirement
  • The file name, command name, or inputObject matches a [ValidatePattern()]

Parser files would be able to take pipelined input, weather or not a process block is present ( If process is present, a steppable pipeline should be used, if it is not, each pipelined object should be splatted to the file).

From this point on, a parser would be "on its own".

It would be the goal of a parser to take that input and turn it into objects or otherwise interpret it.

Parsers should not require Irregular, in the same way that .Regex.txt and .Regex.ps1 Do Not Require Irregular

Related to #177

@StartAutomating StartAutomating added the enhancement New feature or request label Jan 18, 2023
@StartAutomating StartAutomating self-assigned this Jan 18, 2023
StartAutomating pushed a commit that referenced this issue Feb 2, 2023
github-actions bot pushed a commit that referenced this issue Feb 2, 2023
github-actions bot pushed a commit that referenced this issue Feb 2, 2023
github-actions bot pushed a commit that referenced this issue Feb 2, 2023
github-actions bot pushed a commit that referenced this issue Feb 2, 2023
github-actions bot pushed a commit that referenced this issue Feb 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant