Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

flow analysis across modules
Is there a Scheme implementation that does flow analysis across
separate modules?

If you don't have any information about any procedure not defined in
the imported modules, then all the analysis goes to "top", where it
doesn't know anything. How have others solved this problem? Do you
store a summary of your analysis of imported modules and reuse that?
That's sorta' what Haskell does with it's *.hi auxillary file, which
contains type and strictness info.

Thanks.


Report this thread to moderator Post Follow-up to this message
Old Post
Pinku Surana
05-08-05 01:57 AM


Re: flow analysis across modules
Pinku Surana wrote:
>Is there a Scheme implementation that does flow analysis across
>separate modules?

I'm working on such an analysis for DrScheme.  It's not ready yet :-)

>If you don't have any information about any procedure not defined in
>the imported modules, then all the analysis goes to "top", where it
>doesn't know anything.  How have others solved this problem?

In DrScheme you can put contracts on module interfaces.  The analysis
can then try to use those contracts instead of analyzing the imported
functions.  From the point of view of the analysis doing that
basically turns an imported function into a scheme primitive, in the
sense that the analysis doesn't have to look at the function's code
anymore.

>Do you
>store a summary of your analysis of imported modules and reuse that?
>That's sorta' what Haskell does with it's *.hi auxillary file, which
>contains type and strictness info.

MrSpidey (DrScheme's old analyzer, which hasn't been supported since
the switch from 103 to 200) used to do that.  It works to a certain
extend, but keeping the summaries small is a problem.

Philippe


Report this thread to moderator Post Follow-up to this message
Old Post
Philippe
05-10-05 09:00 PM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

Scheme archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 09:51 AM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.