What happens next?
I continue adding all the node types, and eventually merge 72469c4 back into master (at the moment, it exposes ceylon-compiler#1672).
After I’m done – either during GSoC if I’m fast enough, or afterwards otherwise – I change the ceylon.formatter to work on ceylon.ast ASTs. (The long-term goal is that someone – possibly me – writes a Ceylon parser in Ceylon, thus creating a completely Ceylon Ceylon formatter. The even longer-term dream is then obviously a complete compiler in pure Ceylon :) )
How can you help me?
I’m so glad you ask ;-) On every issue labeled “discussion” (list), feedback is very much welcome. Most of these are already done, but there are still some open ones where I’d like to get feedback. (I’d like to highlight #17, because adding that requires a change in every node type, and the later we decide to do it, the more work it is.)
If you think you want to use ceylon.ast somewhere or somehow, please contact me – the more I know about how it’s used, the better can I make certain decisions. For example, how important is #19 to you?
And of course, feel free to contribute code to ceylon.ast if you want to! Adding the node types is mostly straightforward. (Please read CONTRIBUTING.md first, though. I won’t be overly rigorous with those rules, but it would still be nice if you complied with them :) )
Any questions?
You can contact me
Best regards, and have a nice evening!
Lucas Werkmeister
PS: Note to self: Don’t write the next progress report in Google Groups. Write it on GitHub, in Markdown (screw WYSIWYG), and then copy the result into the Google Groups editor. Switching the font every time, when I’m used to simply typing a backtick, was massively annoying.
CompilationUnit ceylonAst = nothing;
JCompilationUnit ceylonAstAsRedhatAst = RedHatTransformer(TokenFactoryImpl()).transformCompilationUnit(ceylonAst);
JCompilationUnit redhatAst = nothing;
CompilationUnit redhatAstAsCeylonAst = compilationUnitFromCeylon(redhatAst);
To view this discussion on the web visit https://groups.google.com/d/msgid/ceylon-dev/c266793b-c7c1-4bb0-b39d-4c4ab1529c9c%40googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ceylon-dev/33f65c7a-ae45-41e2-ab09-e9a56e9a15f1%40googlegroups.com.