<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>Software Archive의 주제 parser for code analysis</title>
    <link>https://community.intel.com/t5/Software-Archive/parser-for-code-analysis/m-p/958186#M21297</link>
    <description>I've found an extremely powerful tool for source code analysis and manipulation. One problem remains: it targets Java. The concept deserves attention, however: reading a Java program to create objects in main memory that represent the program's source code. Representing source code as objects means that e.g. a variable used in an expression can be traced back to its declaration by calling a method on its object-representation.  &lt;BR /&gt; &lt;BR /&gt;This object-rich representation opens the door for the smart user to write code that manipulates his programs. E.g. declaring as local a set of previously-COMMON arrays so as to allow running some subroutine in a multi-threaded way, where these now-local arrays to be passed down to inner-subroutines. This example shows a well-defined, but error-prone code manipulation if done by hand.  &lt;BR /&gt; &lt;BR /&gt;Now, the typical phrase : "Does anybody know ... " a similar tool for Fortran ? The following requirements seem fair enough :  &lt;BR /&gt; &lt;BR /&gt;The tool should be able to :  &lt;BR /&gt;1) parse &lt;BR /&gt;2) build abstract syntax tree &lt;BR /&gt;3) resolve references (e.g. find matching declaration for a variable use, etc.). I think this is called "build the symbol table". Dunno for sure.  &lt;BR /&gt;4) discard syntactic artifacts useless for the final user &lt;BR /&gt;5) instantiate an object representation of the work done so far, in C++ or Java.  &lt;BR /&gt; &lt;BR /&gt;Any hints ?</description>
    <pubDate>Thu, 12 Jul 2001 04:42:09 GMT</pubDate>
    <dc:creator>Intel_C_Intel</dc:creator>
    <dc:date>2001-07-12T04:42:09Z</dc:date>
    <item>
      <title>parser for code analysis</title>
      <link>https://community.intel.com/t5/Software-Archive/parser-for-code-analysis/m-p/958186#M21297</link>
      <description>I've found an extremely powerful tool for source code analysis and manipulation. One problem remains: it targets Java. The concept deserves attention, however: reading a Java program to create objects in main memory that represent the program's source code. Representing source code as objects means that e.g. a variable used in an expression can be traced back to its declaration by calling a method on its object-representation.  &lt;BR /&gt; &lt;BR /&gt;This object-rich representation opens the door for the smart user to write code that manipulates his programs. E.g. declaring as local a set of previously-COMMON arrays so as to allow running some subroutine in a multi-threaded way, where these now-local arrays to be passed down to inner-subroutines. This example shows a well-defined, but error-prone code manipulation if done by hand.  &lt;BR /&gt; &lt;BR /&gt;Now, the typical phrase : "Does anybody know ... " a similar tool for Fortran ? The following requirements seem fair enough :  &lt;BR /&gt; &lt;BR /&gt;The tool should be able to :  &lt;BR /&gt;1) parse &lt;BR /&gt;2) build abstract syntax tree &lt;BR /&gt;3) resolve references (e.g. find matching declaration for a variable use, etc.). I think this is called "build the symbol table". Dunno for sure.  &lt;BR /&gt;4) discard syntactic artifacts useless for the final user &lt;BR /&gt;5) instantiate an object representation of the work done so far, in C++ or Java.  &lt;BR /&gt; &lt;BR /&gt;Any hints ?</description>
      <pubDate>Thu, 12 Jul 2001 04:42:09 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/parser-for-code-analysis/m-p/958186#M21297</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2001-07-12T04:42:09Z</dc:date>
    </item>
    <item>
      <title>Re: parser for code analysis</title>
      <link>https://community.intel.com/t5/Software-Archive/parser-for-code-analysis/m-p/958187#M21298</link>
      <description>Has anyone experimented with source-to-source transformations of Fortran programs ?  &lt;BR /&gt; &lt;BR /&gt;E.g. by using the Nestor library &lt;BR /&gt; &lt;BR /&gt;&lt;A href="http://www.cri.ensmp.fr/~silber/nestor/" target="_blank"&gt;http://www.cri.ensmp.fr/~silber/nestor/&lt;/A&gt;</description>
      <pubDate>Mon, 07 Jan 2002 07:06:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Archive/parser-for-code-analysis/m-p/958187#M21298</guid>
      <dc:creator>Intel_C_Intel</dc:creator>
      <dc:date>2002-01-07T07:06:26Z</dc:date>
    </item>
  </channel>
</rss>

