1 / 10

Programming Language Translation

Jamie McAtamney. Programming Language Translation. Background. Similar research Jazillian pay-per-program translation company Terekhov & Verhoef’s paper on translation difficulties Lili Qiu's paper on procedural vs. object-oriented languages Erik Demaine’s paper on pointers

irene-wade
Télécharger la présentation

Programming Language Translation

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Jamie McAtamney Programming Language Translation

  2. Background Similar research Jazillian pay-per-program translation company Terekhov & Verhoef’s paper on translation difficulties Lili Qiu's paper on procedural vs. object-oriented languages Erik Demaine’s paper on pointers Todd Proebsting’s paper on Java to C translation Anonymous paper on structs

  3. Methodology Translation algorithm Formatting Remove programming idiosyncrasies Single-Pass translator Handles syntax whose context is on the same line Two-Pass translator Handles syntax whose context is elsewhere in the program Formatting Makes everything look nice

  4. Methodology Finished Primitive types Arrays Method headers Input/output Preprocessor directives Most package methods Structs In Progress Coming “Soon” Pointers Coming Maybe Graphics Computer-to-computer communication

  5. Methodology Testing & Analysis Testing old C programs Have a few “fake” programs to test particular modules Script to do testing 3rd Quarter Results Compilable and runnable Structs finished Problems with JOGL

  6. Methodology Problems: JOGL won’t install and/or run correctly Graphics put on hold for now Graphics and structs took longer than expected I haven’t done much with pointers yet.

  7. Progress Results Thus Far Program is still error-free All implemented areas fully translated Minus graphics, of course Translator outputs compilable and runnable program

  8. Sample Screenshots

  9. Sample Screenshots

  10. Progress Analysis Slightly behind schedule Expected to finish pointers before end of 3rd quarter, but graphics and structs took too long Don’t know if it will be possible to get graphics translation working Where to go from here Will finish pointers in 4th quarter Possibly revisit graphics if I can get JOGL working

More Related