Is there any tool to help convert gawk scripts to miller DSL? #992
-
I have a set of fairly complex gawk programs (~300 to ~425 lines each) for manipulating financial CSV files (mostly for generating bank statement extracts to CSV data files). I wondered if anyone is aware of any tool or project that might help speed up a conversion of those gawk scripts to miller DSL. Obviously a manual conversion is always going to be more accurate, but it is a somewhat tedious process for large scripts so I wondered if there was any help available to speed up a conversion. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Oh my -- I for one have never done this. A fully automatic transpile would be a Big Project. But for various conversion projects in my life -- e.g. porting something from one language to another -- I often use a mixed automated/manual approach. Namely have something simple like some one-off sed scripts to do 90% of the repetitive edits; then, manually edit the rest. This often ends up being a good balance of time expenditure to results ... Can you share a few of your scripts?? |
Beta Was this translation helpful? Give feedback.
Oh my -- I for one have never done this.
A fully automatic transpile would be a Big Project. But for various conversion projects in my life -- e.g. porting something from one language to another -- I often use a mixed automated/manual approach. Namely have something simple like some one-off sed scripts to do 90% of the repetitive edits; then, manually edit the rest. This often ends up being a good balance of time expenditure to results ...
Can you share a few of your scripts??