Migration of Delphi Pascal Programs |
When I first learned about Java (in early 1999) I quickly realized that this was a worthy successor to Pascal, which had until then been my favourite programming language. At the time I had about 100.000 lines of Delphi Pascal hobby code and thus a non-trivial migration problem. I chose to write a Pascal parser in JavaCC, and use that for the conversion. All modules were converted and I also used the same transformer to convert a major open source mathematical library. To day my Java-based hobby programs have grown to a little under 500.000 lines. |