Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

Re: Translating Legacy Code to Perl

by dfaure (Chaplain)
on Aug 07, 2004 at 15:30 UTC ( [id://380921]=note: print w/replies, xml ) Need Help??


in reply to Translating Legacy Code to Perl

If I had such a task to do, I would use Parse::RecDescent or Parse::Yapp and a little grammar (Pascal is known to have a small and a regular grammatic structure -- you may even look for FreePascal, which may provide you one quasi-suitable), in order to analyze and translate on the fly the source code.

You may refer to this code example where I use Parse::RD to build SQL queries from LDAP filters.

____
HTH, Dominique
My two favorites:
If the only tool you have is a hammer, you will see every problem as a nail. --Abraham Maslow
Bien faire, et le faire savoir...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://380921]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others meditating upon the Monastery: (3)
As of 2024-04-24 02:34 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found