-
Notifications
You must be signed in to change notification settings - Fork 6
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
Group parsing #4
Conversation
In particular, unit type |
I think the best option so we don't have to throw away the strongly typed backend associated trait types might be to write a bit of custom serialization/deserialization logic so that something like this gets mapped into the arch = [
"pacdef-bin",
{ package="neovim", clean_install = true },
] |
Semantically this is roughly equivalent to a |
758f041
to
cefbc65
Compare
I rebased the PR after #3 was merged |
I think we might need to finalize our ideal file format first in #5 and then implementing it will probably be best via a custom parsing function that builds a struct from a generic |
Signed-off-by: innocentzero <[email protected]>
Adds TOML parsing for group files. Some of the backend trait types for various backends need to be modified for TOML compatibility. Signed-off-by: innocentzero <[email protected]>
Signed-off-by: innocentzero <[email protected]>
Signed-off-by: innocentzero <[email protected]>
cefbc65
to
93a559a
Compare
Signed-off-by: innocentzero <[email protected]>
The PR looks good, I'm going to merge this so I can take a shot at implementing the file format from #5 in another PR |
Adds TOML parsing. Some backend traits need changes to make them TOML compatible. Else we'd need to change the group file description language.