I keep dreaming about writing a lisp application which would be the ultimate programming language translator. I try to image the amount of work such a huge undertaking would involve. Tonight I'm going to be learning about the Marpa parser, and I'm really curious to ask if such a parser could be used to finally translate Perl into C or machine code effectively. The use of Lisp has still been very rare in any of the work I do. There was a time when I had so many projects that I wanted to write in lisp, but so far I have been distracted by lower hanging fruit.
A language translator written in lisp would be a handy tool to attack this programming language tower of Babel we have created for ourselves. There must be a smarter way to write language translators. Maybe with neural networks? Would the code examples found on rosettacode.org be good enough to train a neural network to translate programming languages automatically? What about forming a consistent language and library specification format, so that a machine could figure out how to translate any program to another based on it's expanded database of translations?
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment