1 / 9

An overview of scripting languages

An overview of scripting languages. Alexander Kanavin Teachers: Barbara Miraftabi, Jan Voracek. What are scripting languages?. Interpreted, never compiled Automatic memory handling High-level data types: lists, associative arrays Can access modules written in lower-level languages (C, C++)

bijan
Télécharger la présentation

An overview of scripting languages

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. An overview of scripting languages Alexander Kanavin Teachers: Barbara Miraftabi, Jan Voracek

  2. What are scripting languages? • Interpreted, never compiled • Automatic memory handling • High-level data types: lists, associative arrays • Can access modules written in lower-level languages (C, C++) Most important: allow to treat code as data and vice versa

  3. Application areas • Command scripting languages • Application scripting languages • Markup languages • Universal scripting languages

  4. Command scripting • Control execution of programs and tasks • Shell language is the prime example

  5. Application scripting languages • End-user application programming • Visual Basic for Applications • Emphasis on user interface and components embedding • JavaScript

  6. Markup languages • Tags in text give instructions to the markup language processor • TeX • HTML • XML

  7. Universal scripting languages • Perl • Python • Tcl • Second wave: web services (PHP)

  8. Why are they important? • C and C++ do not manage memory • Allow to ’glue’ components together • Allow fast prototyping (no compilation) • Reduce complexity by allowing the use of the most appropriate tools for each subtask • Estimate: development is 5 times faster than C

  9. The future • Decline in use of C and C++ • An increasing use of dynamic languages • Commercial software development: no compile needed, development and testing is simplified • Scripting languages are likely to become extremely important

More Related