[cfe-dev] add a language to clang
regis portalez
regis.portalez at altimesh.com
Fri Jul 10 14:03:24 PDT 2015
Hi,
Im willing to add a new language in clang.
Id like to know what are the best practices before starting the actual
implementation.
Im already (kind of) familiar with clang/llvm, but I dont want to waste an
excessive amount of time in trying lousy options.
I synchronized clang on my local repository, and I read that
http://llvm.org/docs/tutorial/LangImpl1.html.
Id like to get feedbacks from people who actually did that kind of work,
and know which are the pitfalls.
To make it short, these are my questions:
- Branching strategy : what is the best way? Should I branch the
whole llvm repository?
- Code writing: Should I start writing code directly, targeting a
small subset of the target language and iterate from that? Should I instead
think a lot about my stuff and consider writing code once Im sure Ill be
able to compile the entire language?
- Commit : considering Ive written a really good clang extension,
and I want that to make it public. How can I merge to the trunk?
Many thanks,
Régis Portalez
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20150710/af4f4834/attachment.html>
More information about the cfe-dev
mailing list