MathGroup Archive 2004

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Mathematica + NETLink + CodeDom- Example 2

  • To: mathgroup at
  • Subject: [mg45420] Re: [mg45304] Mathematica + NETLink + CodeDom- Example 2
  • From: "murphee (Werner Schuster)" <werner.schuster at>
  • Date: Wed, 7 Jan 2004 01:09:11 -0500 (EST)
  • References: <>
  • Sender: owner-wri-mathgroup at

Todd Gayley wrote:
> At 11:22 PM 12/28/2003, ToolmakerSteve wrote:
>>which is a translator from a simple structure in Mathematica,
>>which represents the assembly as code snippets within some structural
> Your approach is interesting, and I suggest you continue developing it, 
> especially with an eye to allowing users to provide method implementations 
> in the Mathematica language instead of only embedding strings of C# code in 
> a Mathematica expression structure. 

Hmm... what kind of "method implementations" do mean in this case?
Do you plan on having a .NET object, where one or more Methods are 
actually implemented in Mathematica (ie. the method knows the name of 
its corresponding Mathematica expression and evaluates it using Mathlink)?

 > This is quite similar to work that was
> in the development version of .NET/Link but pulled out before release 
> because it was beyond the scope of a 1.0 release. Basically, it was decided 
> that there was not sufficient time for the considerable design work 
> required. Methods like DefineNETClass and NETMethod were once part of 
> .NET/Link. Presumably, functionality like this will be introduced in a 
> future release.

Are there any plans on doing something like this for Java?
It would be feasible using BCEL and a bit of classloader trickery (there
is an article on how the Beanshell guys did it over at Javaworld ) 
actually, the 1.5 Tiger JSR contains a JSR for a Compiler API, though I 
am not sure how far that goes (there is a beta program for J2SE 1.5,
but it comes with an NDA, so I can't really talk about anything);

Werner Schuster (murphee)
Student of SoftwareEngineering and KnowledgeManagement
Maintainer of the OGO-JOGI Project @

  • Prev by Date: Re: Understanding Fibonacci Search
  • Next by Date: RE: what's wrong about my package?
  • Previous by thread: Re: Mathematica + NETLink + CodeDom- Example 2
  • Next by thread: Re: Re: Mathematica + NETLink + CodeDom-Example 2