You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm currently trying to use participle to make a custom parser, I understood the basics (I think), I first tried to use the ini example and iterate other it (changing ini format a little and try to make a new format that looks like ini but is not the same, to see if I can parse it anyway).
I first had no @int defined at first, had the following error: panic: Number: unknown token type "Int"
I declared the int type in the inilexer, then used what was the in the test file, but no success, got the following error: panic: duplicated key '@@*' in struct cmd.INI [recovered]
Do you have this issue as well? Am I missing something here?
Hello there!
Thanks for your work!
I'm currently trying to use participle to make a custom parser, I understood the basics (I think), I first tried to use the ini example and iterate other it (changing ini format a little and try to make a new format that looks like ini but is not the same, to see if I can parse it anyway).
I first had no @int defined at first, had the following error:
panic: Number: unknown token type "Int"
I declared the int type in the inilexer, then used what was the in the test file, but no success, got the following error:
panic: duplicated key '@@*' in struct cmd.INI [recovered]
Do you have this issue as well? Am I missing something here?
The text was updated successfully, but these errors were encountered: