yes. Basically you provide it with an open file descriptor and it
reads from it... Alternative, I can allow people to pass in individual
lines from stdin or from a character string array.\
Also, being written in fortran, I can make it do what I want... and
other fortran users can change/add functionality.
Stu.
On 12/02/2004, at 10:50, David Vowles wrote:
> There are many script languages around with particular advantages and
> disadvantages. They are particularly useful as "glue" between
> applications, generating configuration files etc.
>
> One application of such languages that I consider highly desirable is
> their ability to be embedded in an application so that the application
> becomes programmable by the end-user (without the need for additional
> compilation)
>
> As I understand it a difficulty with most of the scripting languages
> that are popular today (e.g. Perl, Python, TCL) is the extra difficulty
> involved in embedding them in Fortran programs. This is partly due, I
> understand??, to the fact that the scripting languages are typically
> written in C and so interoperability issues become significant.
>
> So my question: Is the Midgley scripting-language easily "embeddable"
> in
> a Fortran application?
>
> David.
--
<--------------------------------------------------------------------->
Dr Stuart Midgley | [log in to unmask]
Supercomputer Facility | [log in to unmask]
Leonard Huxley Building 56 | +61 (0)2 6125 5988 Work
Australian National University | +61 (0)2 6125 8199 Fax
CANBERRA ACT 0200 | +61 (0)4 1125 2488 Mob
|