GSoC/GCI Archive
Google Summer of Code 2014 JBoss Community

A ceylon.ast module for generating Ceylon code

by Lucas Werkmeister for JBoss Community

The goal of this project will be to write a Ceylon module that can be used to construct a Ceylon Abstract Syntax Tree (AST) using Ceylon’s named arguments syntax. This AST can then be fed directly into the compiler or into my ceylon.formatter to write the AST as regular Ceylon code (nicely formatted) to a file. This can be used to avoid writing repetitive code.