Hi all
A few people on this list may be using my function parser (either the
free version or the version covered by a "loose" agreement)
http://smidgley.customer.netspace.net.au/fortran/
Well, out of pure interest and to keep me off the streets at night, I
started to write a scripting language entirely in Fortran 90/95. It is
currently in an infantile state, but it works - well sort of :) I have
do loops, if-then-else-endif statements, assignment, print etc... all
as an interpreted language. It has a "shell" environment (where you
can enter commands interactively) or an API-like interface (where you
provide the interpreter with an open file handle)/
eg.
x = 0
do i=x+1, 100
if (i < 50) then
print "i is less than 50"
else
print "i is greater than or equal to 50"
endif
x = x + sin(i)
print x
end do
Is anyone else interested in such a scripting language? If so, I am
after a few people to comment on my interpreter (whether my syntax
makes sense etc), test it and suggest functionality.
Email me if you want to play with this monster.
Stu.
--
<--------------------------------------------------------------------->
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
|