Re: typedef (well, objectdef) in Cecil?

From: Craig Chambers (chambers@cs.washington.edu)
Date: Fri Feb 07 2003 - 15:39:41 PST

  • Next message: Vassily Litvinov: "Re: typedef (well, objectdef) in Cecil?"

    See the use of "type synonym" in a few files. Type synonyms work! (They're a
    recent, undocumented addition to Cecil.)

    There's no such thing as a local decl in Cecil. That awaits modules.

    -- Craig

    Andrei Alexandrescu wrote:
    > In my common subexpression elimination analysis, I deal a lot with the
    > object
    >
    > AnalysisAction[CSELatticeElmt, ForwardCFGAnalysisGraph]
    >
    > which, as I'm sure you know, is often passed around as an argument to
    > functions and in lambda definitions.
    >
    > I would like to define a synonim for this object - but NOT a new object
    > with its own identity derived from this guy. Much like a typedef in C.
    >
    > Plus, I'd like to make this definition local to my analysis. Can I have it?
    > (No sugar on top, please - refined sugar is unhealthy.)
    >
    >
    > Andrei
    >
    > _______________________________________________
    > Cecil mailing list
    > Cecil@cs.washington.edu
    > http://mailman.cs.washington.edu/mailman/listinfo/cecil

    _______________________________________________
    Cecil mailing list
    Cecil@cs.washington.edu
    http://mailman.cs.washington.edu/mailman/listinfo/cecil



    This archive was generated by hypermail 2.1.5 : Fri Feb 07 2003 - 15:39:47 PST