1 / 4

Scripting Languages

Scripting Languages. Henning Schulzrinne Advanced Programming. Scripting languages. Not a well-defined term Derived from shell (command line) scripts Often typed directly by user Usually no compile-link-run cycle, but interpreted or compiled “just in time” (JIT). Scripting languages.

tmatthias
Download Presentation

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. Scripting Languages Henning Schulzrinne Advanced Programming Advanced Programming Spring 2002

  2. Scripting languages • Not a well-defined term • Derived from shell (command line) scripts • Often typed directly by user • Usually no compile-link-run cycle, but interpreted or compiled “just in time” (JIT) Advanced Programming Spring 2002

  3. Scripting languages • Often loosely typed • no explicit variable and type declaration • variables treated as strings or numbers according to context • Dynamic memory allocation with automatic garbage collection • Text processing: regular expressions, sorting, ... • Procedural, but often with OO or namespace extensions • Some (Tcl, sh) derived from substitution instead of evaluation • Some (Tcl, Perl, Python) allow mixed-language programming Advanced Programming Spring 2002

  4. Scripting languages • We’ll look at typical examples: • sh, bash – the first one • sed – pattern editing • awk – pattern language • Perl – a real language for string processing • Tcl – shell-like, easy extensible, graphical GUI • Python – modern OO-oriented Advanced Programming Spring 2002

More Related