Thread overview | |||||
---|---|---|---|---|---|
|
January 27, 2015 Kythe | ||||
---|---|---|---|---|
| ||||
Google just open sourced https://github.com/google/kythe. Would it help Calypso? -- Andrei |
January 27, 2015 Re: Kythe | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | On 2015-01-27 19:55, Andrei Alexandrescu wrote: > Google just open sourced https://github.com/google/kythe. Would it help > Calypso? -- Andrei I had a quick look and my first impression is that it would not help. -- /Jacob Carlborg |
January 28, 2015 Re: Kythe | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | On Tuesday, 27 January 2015 at 18:55:13 UTC, Andrei Alexandrescu wrote:
> Google just open sourced https://github.com/google/kythe. Would it help Calypso? -- Andrei
Not sure how it would help. Kythe seems to handle every C++ feature but if I understand correctly it translates the AST into its own representation and that's it with Clang, whereas Calypso needs to make Clang instantiate templates and to use its codegen.
Maybe if Kythe was expanded it could serve as the basis for language extensions, make the writing of new plugins easier and more uniform. If they add GCC to the supported C++ compilers that'd form a single interface to both Clang and GCC's AST.
|
Copyright © 1999-2021 by the D Language Foundation