[antlr-interest] Mantra has mixins / delegates now

Terence Parr parrt at cs.usfca.edu
Sun Sep 30 19:58:06 PDT 2007


hi.  mantra has delegates now (see Delegates section):

http://www.linguamantra.org/

Instead of mixin ala Ruby you say:

Class T extends S delegates D, E, F {
}

and you get all methods from D, E, F not defined in T or in S and above.

very clean. :)  Works great.

I'm *almost* done with features of language then I can release and
get back to my regularly schedule life: antlr etc...

Ter


More information about the antlr-interest mailing list