-
Notifications
You must be signed in to change notification settings - Fork 33
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
Some insights on coAST #2
Comments
well the idea is I can have any programming language, transform it to coAST and then I have a lot of algorithms that operate on coAST and do cool code analysis. I only need to write the algorithms once for all languages then, right? Would you mind clarifying it in the repo a bit? |
@sils1297 Sure thing! |
@sils1297 I'd summarize what we discuss here and update the idea page in the end? Probably, I'd have better content then |
nothing in particular, if coast is good it can be rather complicated things Sincerely, Lasse Schuirmann [email protected] 2016-03-14 22:35 GMT+01:00 Tushar [email protected]:
|
@tushar-rishav you are aware that coAST is mainly for having a language-independent AST generation? |
I think there'll be no way around making a parser for every language. Do Sincerely, Lasse Schuirmann [email protected] 2016-03-18 14:36 GMT+01:00 Tushar [email protected]:
|
@sils1297 True! It's difficult task. I was going through https://github.com/orlandohill/waxeye or http://waxeye.org/ . They seem to parse C, Java, Javascript, Python, Ruby , Scheme. So once we have AST we can do analysis on it. |
Performance is also something we need to consider. Writing a parser in pure python could be fairly slow^^ Using Flex and Bison is in fact the right approach for this kind of work imo^^ |
(If we write them ourselves) |
It'd be helpful if we get to know more about what problems coAST would solve? Prefereably in some detail
cc @sils1297
The text was updated successfully, but these errors were encountered: