Download presentation
Presentation is loading. Please wait.
Published byJack Nichols Modified over 9 years ago
1
Programming Language Translation Jamie McAtamney
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 Pointers Mostly Done Graphics Possible future topics 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 4 th Quarter Results Compilable and runnable Pointers finished
6
Progress Results Thus Far Program is still error-free All implemented areas fully translated Minus graphics, of course Translator outputs compilable and runnable program ~96% C syntax translatable
7
Sample Screenshots
8
Progress Analysis Finished exactly what I wanted to Managed to get pointers done despite the research papers on the topic Where to go from here Might keep fiddling with it. Possibly revisit graphics if I can get JOGL working Maybe do MPI
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.