I work with Meditech, a very proprietary hospital system that is programmed in a language called "Magic". (Are any of you Monks familiar with it?) It's a difficult system to interface with, but it is possible to do some scripting into it using Visual Basic and some windows dlls.
I had a similar problem once, although rather than Magic
I was stuck with a rather awful (er, "beginner-friendly")
scripting language for a thankfully-mostly-forgotten IVR
system. The first project I had to write was a nightmare.
The second one was easier: prompted by the local guru, I'd
written a set of Perl scripts to translate an XML
descriptiom into a code framework. By the time I left that
job, my Perl scripts were generating all the code I needed,
as well as all of the supporting documentation and even the
test suites.
The moral of that story: if you can't write code to solve
your problems in a sane language, write code that writes
code to solve your problems in a sane language.
--
F
o
x
t
r
o
t
U
n
i
f
o
r
m
Found a typo in this node? /msg me
% man 3 strfry
-
Are you posting in the right place? Check out Where do I post X? to know for sure.
-
Posts may use any of the Perl Monks Approved HTML tags. Currently these include the following:
<code> <a> <b> <big>
<blockquote> <br /> <dd>
<dl> <dt> <em> <font>
<h1> <h2> <h3> <h4>
<h5> <h6> <hr /> <i>
<li> <nbsp> <ol> <p>
<small> <strike> <strong>
<sub> <sup> <table>
<td> <th> <tr> <tt>
<u> <ul>
-
Snippets of code should be wrapped in
<code> tags not
<pre> tags. In fact, <pre>
tags should generally be avoided. If they must
be used, extreme care should be
taken to ensure that their contents do not
have long lines (<70 chars), in order to prevent
horizontal scrolling (and possible janitor
intervention).
-
Want more info? How to link
or How to display code and escape characters
are good places to start.
|