Lehrstuhl Informatik II   
Sprachen und Beschreibungsstrukturen      
   Home Lehre Sommersemester 15 Praktika Lab Course Cobol&Eclipse login

Lab Course Cobol&Eclipse

Dozent:Dr. Michael Petter
Ort/Zeit:in a block of 20 days
ModulNummer:IN2106 IN0012
Beschreibung:    we will integrate a Cobol Compiler into Eclipse and work on syntactical and semantical analyses on Cobol Code.

Preparatory Meeting

Planned for monday, January 26th 15:00 in Mi 02.07.034


This lab course will be carried out consolidated during the summer lecture term


Ideally, participants in this course should be familiar with the basics of compiler construction as tought in IN2227 and have profund skills in Java development. As resources, we have several prepared packages:

  1. A step-by-step demonstration project for how to integrate a Java-based language frontend (Scanner/Parser) into Eclipse.
  2. A Cobol tutorial
  3. The official Eclipse FAQ


In this lab course, we will hook a Java based Cobol parser into an IDE (Eclipse). With this plugin, we want to create tools to facilitate practical tasks in program development and maintenance. Recurring practical tasks comprise

  • Integration into an IDE
    • syntax highlighting editor
    • creating outlines of source code files
    • folding code blocks
    • autocompletion of keywords and identifiers
    • info-tooltips
    • automatic syntax formatting
    • navigation in code
    • finding references
  • Refactoring of code
    • stringent renaming
    • constant propagation/extraction
    • pulling out sections into procedures
    • transform gotos to loops
  • Dataflow analysis in code
    • code slicing depending on data flow
    • preconditions for reachability

TUM - Lehrstuhl Informatik II (Sprachen und Beschreibungsstrukturen) Thanks: Tango and TinyMCE     Generationszeit: 8 ms