cyclus/cyclus — pull request #960 by scopatz (2014-06-25 00:00:46+00:00)
Title: Archetype Discovery

This is a first cut at a platform independent way of archetype discovery. In talking to @flanflanagan today, it became crystal clear that this is an essential feature for cycic. For this cut, you have to provide the path and library. A future version should probably walk the file system. The trick is simple:

1. read in binary,
2. parse for instances of "(!word)Construct(word)"
3. call it a day.

This seems to work on Linux and I suspect that it will work on Mac and Windows.