【文章內(nèi)容簡介】
rs, manipulators, etc. ? Unit abstractions – ADTs, classes, packages, namespaces (same as for data!) ? Key ideas – Selection, iteration, formal/actual parameters, position CSE 425: Intro to Programming Languages and their Design Some Programming Paradigms ? Imperative/procedural (., C, C++) – Variables, assignment, other operators ? Functional (., Lisp, Scheme, ML, Haskell, C++) – Abstract notion of a function, based on lambda calculus ? Logic (., Prolog, but can develop structures in C++) – Based on symbolic logic (., predicate calculus) ? Objectoriented (., Java, Python, C++) – Based on encapsulation of data and control together ? Generic (., C++ and especially its standard library) – Based on type abstraction and enforcement mechanisms – We’ll cover informally via examples throughout the semester CSE 425: Intro to Programming Languages and their Design Language Definition ? Syntax – Lexical structure, tokens, grammars (., BNF) ? Basic semantics – Informal description, may be inplete ? Forma