in reply to csh-perl xlator
The only known shell -> Perl translator on the internet is Tom Christiansen.
If you look at the history of porting, it has always been easier to write an emulator that emulates the source machine than to port the program to the target machine. The 8086, Java, C# and Inferno/Dis all follow this concept.
If you consider the possible pitfalls of writing a general csh to Perl converter, like obscure ways to define arrays, even more obscure ways to access variables and the source (I mean eval) statement, you will see that an emulator is the only way to go ...
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: csh-perl xlator
by merlyn (Sage) on Dec 16, 2000 at 22:07 UTC |