-
-
Notifications
You must be signed in to change notification settings - Fork 65
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
Go parser #54
Comments
giving a go (heh) at this using https://github.com/alecthomas/participle, not sure I'll get anywhere, wish me luck! 😅 |
Good luck! |
Alright, I'm a bit stuck.
It would be a lot nicer to have separate I could try to handwrite a lexer and a parser, but I've never done it and I'm not sure I'd get to the bottom of it 😅 I was also thinking that a tags-based solutions would be pretty nice (that's what the Thoughts? |
I have never done Go so I don't really know what the best thing would be. I will say, though, that I don't think parsing speed is that important as an initial goal, so "fixing" the AST seems ok to me? |
I just came across KDL, and as it happens it's exactly what I needed for a Go project of mine, for which I was in the middle of writing a parser for a custom language. I'm going to retool that to parse KDL instead. I can't promise I'll get anywhere, so please don't view this as me planting a flag or anything, just broadcasting in case anyone else is interested in collaborating. |
I got started working on this like yesterday so it only works on really small selection of cases. I've never worked on a parser before either, open to suggestions / PR etc. |
Both https://github.com/binhonglee/kdlgo and https://github.com/danderson/go-kdl are inactive since 2021. Are they abandoned? |
In my case, yes, sorry. I lost my use-case for KDL, and the time to build the library. My vague memory is that I had a pretty solid lexer, but no parser yet. |
No unmarshalling/marshalling yet, but I have somewhat of a working parser at https://github.com/Frixuu/KDLGo. Like above, I'm just putting it out there etc. etc. 😉 |
We should have a nice golang parser for kdl. Hopefully we can also add it to the org!
The text was updated successfully, but these errors were encountered: