Skip to content
This repository has been archived by the owner on Jun 4, 2019. It is now read-only.

How is new language support added? #125

Open
krishnavaidy opened this issue Jun 29, 2015 · 2 comments
Open

How is new language support added? #125

krishnavaidy opened this issue Jun 29, 2015 · 2 comments

Comments

@krishnavaidy
Copy link

Can you tell us how you went about adding support for multiple languages?

I see in the source code that some code for parsing is generated by ocamltarzan. Does that mean that you were able to generate some code, and didn’t have to code by hand the asts.

Do you have any advice for someone who would like to add support for Java 8, and other languages?

Thanks!

@jwatzman
Copy link
Contributor

jwatzman commented Jul 6, 2015

I think at least some parts were originally generated by tarzan, but have been modified by hand since then. Others might be totally hand-rolled? Not sure. @aryx would have to comment to be sure.

@krishnavaidy
Copy link
Author

Thank you, that's what I thought too. I wanted to see how we could generate even some parts by tarzan. That could really speed things up, while adding support for a language.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants