Search the web
Sign In
New User? Sign Up
steve_dewhurst · The Steve Dewhurst Mailing List
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Want to share photos of your group with the world? Add a group photo to Flickr.

Best of Y! Groups

   Check them out and nominate your group.
Having problems with message search? Fill out this form to ensure your group is one of the first to be migrated to the new message search system.

Messages

  Messages Help
Advanced
New Once, Weakly: "You Dis'n Me?"   Message List  
Reply | Forward Message #24 of 62 |
This time, "Once, Weakly" gets systematic. We've gathered together most
of our compile time type manipulation techniques to make a start at a
unified framework for the manipulation of types at compile time.

We discuss design of a framework for the dismantling of an arbitrary
type into its component parts, and its later regeneration for the
purpose of compile time type manipulation. We also show how to extend
the framework to include arbitrarily fine detail on type-related
information. We then show how some simple pattern matching and
substitution and replacement can be performed on a dismantled type
before a normal type is regenerated from it.

In effect, we now have two equivalent, but structurally distinct,
versions of the same type. The normal version is optimized for use in a
traditional fashion: accessing its operations, causing code to be
generated that will execute at runtime, etc. The dismantled version is
optimized for compile time analysis and manipulation. Therefore, we now
have the ability to move an arbitrary type between representations
according to how we want to use it. The invertibility of the
representations assures us that either representation will contain all
the information present in the other.

See http://www.semantics.org/weekly.html
The source code for the framework is available at
http://www.semantics.org/code.html

Best regards,

Steve







Mon Feb 24, 2003 2:54 am

stephencdewh...
Offline Offline
Send Email Send Email

Forward
Message #24 of 62 |
Expand Messages Author Sort by Date

This time, "Once, Weakly" gets systematic. We've gathered together most of our compile time type manipulation techniques to make a start at a unified...
Stephen C. Dewhurst
stephencdewh...
Offline Send Email
Feb 24, 2003
2:56 am
Advanced

Copyright © 2009 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines - Help