? Can compiler reproduce classes from the AST ?

12 views
Skip to first unread message

Jimmy Johnson

unread,
Feb 4, 2015, 12:29:59 PM2/4/15
to eiffelst...@googlegroups.com
Can the compiler be modified [easily] to simply regurgitate a system, building a copy of all the classes & clusters in a system, without generating code?  (Manu, I think you explained this, but I can't read my notes.)  If so, what class/features should I start looking at?

Emmanuel Stapf

unread,
Feb 4, 2015, 2:46:19 PM2/4/15
to eiffelst...@googlegroups.com

Hi,

 

Once you are done with degree 6, you will have access to the UNIVERSE_I instance that collects all the information about the system/libraries/clusters/classes. You will have access to it from SYSTEM_I and look at `do_recompilation’ for all the various steps of the compilation and the place to insert your modification.

 

Regards,

Manu

 

--
For more messaging options, visit this group at http://forum.eiffel.com.
Information on the Eiffelstudio project: http://dev.eiffel.com.

Reply all
Reply to author
Forward
0 new messages