This page is no longer maintained — Please continue to the home page at www.scala-lang.org

need help: alias annotation for DSLs

No replies
wookietreiber
Joined: 2011-04-24,
User offline. Last seen 42 years 45 weeks ago.

hi,

enclosed you can find an alias annotation which I think would be very useful
for DSLs. The examples of the API doc explain how it should work.

Why I ask for help here, is that I don't know much about scala compiler
wizardry or whatever is necessary to make the actual magic work.

I would like to have this annotation in the library, because it would certainly
improve scala's internal DSL support, in the way that this annotation makes
the code for these DSL much more clearer to read, hence easier to understand
and maintain, opposed to having to write many alias definitions oneself.

looking forward to your help ;)

best regards
wookietreiber

Copyright © 2012 École Polytechnique Fédérale de Lausanne (EPFL), Lausanne, Switzerland