[dmd-internals] Name cleanup/standardization in the DMD frontend

Sebastian Wilzbach via dmd-internals dmd-internals at puremagic.com
Wed May 10 02:55:59 PDT 2017


I think this is a great initiative and I would be happy to help with PRs 
as well!

On 2017-05-09 21:56, Jacob Carlborg via dmd-internals wrote:
> There is some movement towards making the DMD frontend available as a
> library, which is great. A few pull request for this have already been
> merged. With this in mind I thought it would be a good idea to cleanup
> and standardize some of the symbol names in the source code. I’m
> mostly thinking about making sure that the standard D naming
> conventions are followed, i.e. isscope -> isScope. Local variables
> would not need to be included (unless we want to) since those are not
> part of the API. I would recommend including parameter names, even
> though that is not part of the API, it would still show up in any
> generated documentation.
> 
> I think we should take the opportunity to do this before we get any
> more users. As far as I know there are only two users: LDC and GDC. If
> we wait with this for later it will make it more complicated if we
> have a stable API to maintain backwards compatibility with.
> 
> Just to be clear, I’m willing to do pull requests for this.
> 
> Thoughts?
> 
> --
> /Jacob Carlborg
> 
> _______________________________________________
> dmd-internals mailing list
> dmd-internals at puremagic.com
> http://lists.puremagic.com/mailman/listinfo/dmd-internals


More information about the dmd-internals mailing list