Thread overview | ||||||
---|---|---|---|---|---|---|
|
March 23, 2017 sdpc - Simple/Stupid D parser combinator | ||||
---|---|---|---|---|
| ||||
GitLab: https://gitlab.com/yshui/sdpc Documents: https://yshui.gitlab.io/sdpc Dub: http://code.dlang.org/packages/sdpc I started this project ~1.8 years ago. It only took me a couple of weeks to write, and I learned a lot about D's template system (and its limitations) by writing it. But back then I wasn't confident with the code quality and documentation enough to make it public. Then life caught up with me and I can't spend time on it. Recently I finally got some time and decided to cleanup the code and make it available to more people. Now I'm comfortable with it enough to have more eyes on it. sdpc is a very simple parser combinator library. So it lacks some bells and whistles like left recursion or memoization. But it should be able to handle a lot of the simpler use cases. (I know we have pry now. A bit of competition won't hurt =] ). |
March 23, 2017 Re: sdpc - Simple/Stupid D parser combinator | ||||
---|---|---|---|---|
| ||||
Posted in reply to Yuxuan Shui | BTW, ddox cleanly has some problem with this symbol: https://yshui.gitlab.io/sdpc/sdpc/parsers/skip_whitespace.html |
March 24, 2017 Re: sdpc - Simple/Stupid D parser combinator | ||||
---|---|---|---|---|
| ||||
Posted in reply to Yuxuan Shui | On Thursday, 23 March 2017 at 22:55:10 UTC, Yuxuan Shui wrote: > GitLab: https://gitlab.com/yshui/sdpc > Documents: https://yshui.gitlab.io/sdpc > Dub: http://code.dlang.org/packages/sdpc > > I started this project ~1.8 years ago. It only took me a couple of weeks to write, and I learned a lot about D's template system (and its limitations) by writing it. But back then I wasn't confident with the code quality and documentation enough to make it public. Then life caught up with me and I can't spend time on it. > > Recently I finally got some time and decided to cleanup the code and make it available to more people. Now I'm comfortable with it enough to have more eyes on it. > > sdpc is a very simple parser combinator library. So it lacks some bells and whistles like left recursion or memoization. But it should be able to handle a lot of the simpler use cases. > > (I know we have pry now. A bit of competition won't hurt =] ). Thanks for sharing this but your project is not visible! Gitlab is a bit confusing because by default repositories are private. Go to your project setting(should be https://gitlab.com/yshui/sdpc/edit): - set "Project Visibility" to "public". - set "Repository" to "everyone with access". |
March 24, 2017 Re: sdpc - Simple/Stupid D parser combinator | ||||
---|---|---|---|---|
| ||||
Posted in reply to Basile B. | On Friday, 24 March 2017 at 17:53:14 UTC, Basile B. wrote:
> On Thursday, 23 March 2017 at 22:55:10 UTC, Yuxuan Shui wrote:
>> [...]
>
> Thanks for sharing this but your project is not visible!
>
> Gitlab is a bit confusing because by default repositories are private. Go to your project setting(should be https://gitlab.com/yshui/sdpc/edit):
> - set "Project Visibility" to "public".
> - set "Repository" to "everyone with access".
Thanks for pointing this out! Obviously I only set "Visibility" to "public" and forgot the other settings...
|
Copyright © 1999-2021 by the D Language Foundation