Programming Language Translation - PowerPoint PPT Presentation

1 / 8
About This Presentation
Title:

Programming Language Translation

Description:

Terekhov & Verhoef's paper on translation difficulties ... Managed to get pointers done despite the research papers on the topic. Where to go from here ... – PowerPoint PPT presentation

Number of Views:19
Avg rating:3.0/5.0
Slides: 9
Provided by: tjh5
Learn more at: http://www.tjhsst.edu
Category:

less

Transcript and Presenter's Notes

Title: Programming Language Translation


1
Programming Language Translation
  • Jamie McAtamney

2
Background
  • Similar research
  • Jazillian pay-per-program translation company
  • Terekhov Verhoefs paper on translation
    difficulties
  • Lili Qiu's paper on procedural vs.
    object-oriented languages
  • Erik Demaines paper on pointers
  • Todd Proebstings 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
  • 4th 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
Write a Comment
User Comments (0)
About PowerShow.com