Re: Checked in quantlib-perl
Posted by Dirk Eddelbuettel on
URL: http://quantlib.414.s1.nabble.com/Checked-in-quantlib-perl-tp10887p10892.html
On 4 October 2005 at 00:09, Joseph Wang wrote:
| Luigi Ballabio wrote:
|
| >
| > 1) there's a few SWIG warnings due to its not wrapping operator(). Is
| > there any special way in Perl to call function objects, or should we
| > just rename to methods such as "value"?
| >
| There doesn't seem to be any convention so we can probably invent one.
| value seems alright.
|
| > 2) With some guesswork, I modified the European option example so
| > that it uses the generated shadow classes rather than the low-level
| > QuantLibc functions---I just committed it. But since I don't know
| > Perl, I couldn't figure out how to avoid having to write QuantLib::
| > everywhere. may you have a look at it?
|
| I know perl, but I'm trying to figure out SWIG :-(
|
| The trouble is that in perl QuantLib and QuantLib::Date are both symbols
| that have nothing to do with each other. There may some clever SWIG way
| of solving this, but it's not immediately obvious.
|
| Linking in perl with quantlib was remarkable easy.
|
| Now for something really challenging.....
|
| I see there are experimental SWIG interfaces for clisp and R. Now
| maxima works in clisp......
Do you know who is behind the R interface for Swig? I haven't heard anything
about that from the R upstream folks (but am of course not privy to all their
conversations either).
Dirk
--
Statistics: The (futile) attempt to offer certainty about uncertainty.
-- Roger Koenker, 'Dictionary of Received Ideas of Statistics'