<?xml version="1.0" encoding="UTF-8"?>
<response>
  <status>success</status>
  <result>
    <project>
      <id>105091</id>
      <name>mmlsharp</name>
      <created_at>2008-12-25T14:00:22Z</created_at>
      <updated_at>2009-08-19T01:11:36Z</updated_at>
      <description>Project DescriptionA stand-alone program that can take MathML (acquired, e.g., from Microsoft Word 2007) and convert it to a meaningful set of C# statements, thereby facilitating domain-driven design in engineering and mathematical applications. 

To see the program in action, watch the screencast. 

System RequirementsRequires .NET Framework 3.5 to run and Visual Studio 2008 + NUnit to compile. To use the functionality, a MathML-compatible editor is required. If using MS Word, make sure your Clipboard settings for equations are set to copy MathML. 

FeaturesCurrent version implements the following features: 

Variable naming (e.g., if we write x = y, both variables are defined as double x, y;). Multiplication sign addition (e.g., writing x = 2y results in the statement x = 2 * y;). Superscript and subscript. Superscript is taken to mean 'power of' and is realized   with Math.Pow(). Subscript properly affects variable naming. Round and square braces are handled. Some replacements, e.g. replaces &#215; with *. Substitutions, e.g., replacing 'e' with Math.E, are supported. Power inlining. Allows us to generate x*x instead Math.Pow(x, 2), which is much slower. 

An ExampleGiven this: 

 

The tool outputs this: 

p = rho*R*T + (B_0*R*T-A_0-((C_0) / (T*T))+((E_0) / (Math.Pow(T, 4))))*rho*rho +
    (b*R*T-a-((d) / (T)))*Math.Pow(rho, 3) +
    alpha*(a+((d) / (t)))*Math.Pow(rho, 6) +
    ((c*Math.Pow(rho, 3)) / (T*T))*(1+gamma*rho*rho)*Math.Exp(-gamma*rho*rho);</description>
      <homepage_url>http://code.google.com/p/mmlsharp</homepage_url>
      <download_url></download_url>
      <url_name>mmlsharp</url_name>
      <user_count>0</user_count>
      <average_rating></average_rating>
      <rating_count>0</rating_count>
      <analysis_id>467488</analysis_id>
      <analysis>
        <id>467488</id>
        <project_id>105091</project_id>
        <updated_at>2009-12-02T00:55:39Z</updated_at>
        <logged_at>2009-12-02T00:55:30Z</logged_at>
        <min_month>2008-12-01T00:00:00Z</min_month>
        <max_month>2008-12-01T00:00:00Z</max_month>
        <twelve_month_contributor_count>0</twelve_month_contributor_count>
        <total_code_lines>0</total_code_lines>
      </analysis>
      <licenses>
        <license>
          <name>lgpl</name>
          <nice_name>GNU Lesser General Public License 2.1</nice_name>
        </license>
      </licenses>
    </project>
  </result>
</response>
