Hacker News new | ask | show | jobs
by russell 5783 days ago
Another approach is to create a BASIC to X translator, where X is some language with a future. I did a Pascal to C translator a long time ago and it was not a huge task, certainly less than a full blown language implementation. I would pick Python as a target language, because of the large libraries and the development activity in the language. Alternatively you could pick Java or the JVM.
1 comments

Many years ago I wrote a Data General (now owned by EMC and no longer making computers) Business Basic to C translator. Used it to port a suite of programs to Unix system. So the technique can work. But I agree with Russell, that Python would be a better target these days. You would need to take care to ensure that the generated source code is easy to read and modify by those who are familiar with the BB original.