Instructor:
Dr.
Ajay K. Gupta Topics
Covered:
Updated
14-Aug-2007
06/29/2007
- Syllabus
discussion
- Discussion on general objectives,
requirements
- Learn concepts of
PLs, why?
- Application Domains
- PL evaluation criteria
- Influences on PL design,
Implementation systems
- compiling, interpretation,
hybrid
- Lecture
1 notes
- Read chapters 1 and
2 of the Sebesta textbook
07/02/2007
- Lexical Analysis
- FSMs
- Symbol Tables
- Hashing
- Do the homework practice
problems on FSMs as given in the class
- Lecture
2 notes
- Read chapter 2, sections
3.1 and 3.2, sections 4.1 and 4.2 of
the Sebesta textbook
- HW1
given
- To get going on HW1, detailed
discussion directly from chapter 2 of the book may not be covered in
class or covered later. You are still responsible for reading this material.
You may refer to Lecture
2a notes for this detailed discussion.
07/06/2007
- FSM and lexical analysis
continued; Examples and homework practice problems from last lecture
may be contd
- Regular Exressions
- HW1 discussion (note: you
could use hashing with home and overflow area. Size of the home area
for the ST would then be 256 records and overflow area of (ideally)
unlimited size.)
- Lex
- Lecture
3 notes
- Read lex related documentation.
A concise manual is Lex - A
Lexical Analyzer Generator by Lesk and Schimdt
07/09/2007
- HW1 discussion - ST, hashing
etc
- Lex/Flex contd.
- Lecture
4 notes - refer to Lecture 3 notes
07/11/2007
- Lisp, pure lisp, commonLisp,
cLisp
- one internet link to get
started is http://mypage.iu.edu/~colallen/lp/
Another link is CLISP: http://clisp.cons.org/
(note we have clisp on cs machines). Yet another link is Common Lisp
Hints: http://cvs.sourceforge.net/viewcvs.py/*checkout*/clisp/clisp/doc/LISP-tutorial.txt?rev=HEAD
07/13/2007
- Lisp continued
- chapter 5 - names, bindings,
scope,...
- Lectre
6 notes
- HW2
out
07/16/2007
- Names
- Variables and their attributes
- Bindings (language design,
compile time, runtime, etc)
- Type Bindings, Type Checking,
Type Comptability
- Lifetime based variable
categories- Static, Stack-Dynamic, Explicit and Implicit Heap Dynamic,
- Lecture
7 notes
07/18/2007
- Scope, named constants,
etc (chpater 5 topics contd)
- read the topics from chapter
5 not covered in class
- quiz1
07/20/2007
- discussion on hw2, more
lisp examples
- data types - primitive,
ordinal, strings, arrays,..(chapter 6 topics)
- read chapter 6 (even if
all the material may not be covered explicitly in lectures) - you are
responsible for it in the exams.
- lecture
9 notes
- quiz2
07/23/2007
- data types - primitive,
ordinal, strings, arrays,..(chapter 6 topics)
- read chapter 6 (even if
all the material may not be covered explicitly in lectures) - you are
responsible for it in the exams.
- lecture
10 notes
- HW3
released
07/25/07
- Examination 1 - closed notes,
books, laptops, PDAs; calculator is allowed. It will cover material
covered in class till 07/24/07; An excellent way to prepare would be
to understand the material (in contrast to simply memorizing); understand
the implications of various formulations, similarities and differences
among various features and techniques; reading the appropriate sections
of the book; understanding and doing the homework and programming assignments
yourself (in contrast to simply modifying the examples slightly and
making them work). You are also responsible for any additional material
covered in lectures and homeworks outside of the first six chapters
of the textbook. See the lecture-wise topic list above for further details
on specific topics..G
O O D L U C K
- Parsing - context free grammers
- introduction, definition, sentential forms, derivations
07/27/2007
- Exam1 solutions discussion
- CFG examples - assignment
expression statement
- Parsing
- Read Yacc documentation
- no formal lecture notes
07/30/2007
- Parsing contd.
- Yacc
- Lex & Yacc
- Lecture
13 notes
08/01/2007
- expressions
- assignment statements
- control structures - selection
statements (2-way)
- Lecture
14 notes
- read chapters 7 and 8 of
the textbook
08/03/2007
- hw3 due; hw4 assigned
- control structures contd
- Lecture
15 notes
- read chapter 8 of the textbook
- read logical control structures,
conditional/undcoditional branching, guarded commands - these were not
covered explicitly in the lecture but you are responsible for the material.
- HW3 due date postponed to
Monday, 08/06/07, midnite
08/06/2007
- control structures contd.
- Program unit-level control
structures
- Subprograms & their
design issues; Referencing Environments
- Parameter-Passing Methods
- Passing subprograms as parameters
- Overloaded Subprograms &
Generic Subprograms
- Coroutines
- Lecture
16 notes
- Read chapter 09 of the book
08/08/2007
- Program unit-level control
structures contd.
- Passing subprograms as parameters
- Overloaded Subprograms &
Generic Subprograms
- Coroutines
- Lecture
17 notes
- Read chapter 09 of the book
08/10/2007
- Exception Handling
- Lecture
18 notes
- Read chapter 14 of the book
- Parallel/Distributed/Concurrent models of computation
- PRAM and its derivatives
- an exmaple (findMax) to show power/efficiencies of PRAM models
08/13/2007
- PRAM discussion contd.
- Concurrency
- Lecture
18-19 notes
- Read chapter 13 of the book
- details of semaphores/monitors/message-passing not covered.
- Functional and Logic programming
languages
- Read chapters 15 and 16
of the book - from exam2 point of view know the aspects related to LISP.
08/15/2007
- Exam2: Closed books, notes,
PDAs and laptops; An excellent way to prepare would be to understand
the material (in contrast to simply memorizing); understand the implications
of various formulations, similarities and differences among various
features and techniques; reading the appropriate sections of the book;
understanding and doing the homework and programming assignments yourself
(in contrast to simply modifying the examples slightly and making them
work). Exam2 will be a comprehensive exam which includes topics
covered in 06/30/2006 - 08/14/2006 lectures essentially from chapters
1 to 9, and 13 to 15 of the textbook (you are also responsible for any
additional material covered outside of these chapters in lectures and
homeworks, such as regular expressions, lex, CFG, yacc, lisp, etc).
See the lecture-wise topic list above for further details on specific
topics..
- G O O D
L U C K
08/17/2007
- HW4
due, 1:00pm - no late submissions.
- Concluding discussions.
- Cleaning up of the semester
work...
08/18/2006 and onwards - SUMMER
BREAK till 9/4/2007
|