1 / 12

Industrial Project (234313)

Industrial Project (234313). Script Converter. Midway Meeting. Students: Itzhak Bokris , Efrat Aharon. Supervisors: Amir Lazevnik , Sergey Kadaner. Goals. The Projects’ goal is to develop a script converter that its input is a . ksh file (UNIX command script

yoshe
Download Presentation

Industrial Project (234313)

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. Industrial Project (234313) Script Converter Midway Meeting Students: ItzhakBokris, EfratAharon Supervisors: Amir Lazevnik , Sergey Kadaner

  2. Goals • The Projects’ goal is to develop a script converter • that its input is a .ksh file (UNIX command script • file), and its output is a .cmd file (WINDOWS • command script file) that has the same working • features as the input file. (and vice versa).

  3. Methodology • The project will implement a compiler of the • Linux script language, whose output is • Windows scripts

  4. Achievements Converter which translates the followings: • Variables, parameters, operators and Methods (declarations and usages). • Commands that have no parallel in batch and Library functions. • Comments, strings, echo commands, back and single quotes . • Arithmetic operations and Boolean expressions. • IO and File System commands. • IF, FOR, WHILE and Switch Case commands. • Pipelines • The converter doesn’tsupports the “strings IF commands” ( if [ … ] )

  5. CMD Application • A cmdapplications which provide easy way to use the converter and shows the results about the converting - what the ksh commands which weren’t translated and where they are.Compare the running output with the excepted output.

  6. System Tests • The System Tests allows an easy and fast adding of new tests ( Ksh code sections, input and output that are needed ) and its running checks the following: • Did the translation task worked out well (otherwise what’s the reason). • Running the Batch Scripts and checking if the running was successful and the scripts of both Batch and Ksh are equal (otherwise, what commendations have been failed and where). • Comparison between the running output and the expected output.

  7. Examples (1)

  8. Examples (2)

  9. Examples (2)

  10. Examples (3)

  11. Examples (3)

  12. Conclusions • The system support most of the Ksh abilities but it is not a perfect system and can still be improved.The system built in a way that allows to add and improve new features easily.The system is testable: you can easily find a “bug” if exists. You can easily check the system output by the System Tests.(Detailed guides of maintenance/ improving the system + using the system + on the software website soon enough).

More Related