Skip to content

m-fakhry/comp303-2023

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 

Repository files navigation

Syntax and Semantics (COMP 303) - 2022-2023

  • Repo for the Syntax and Semantics course (COMP 303) for the 2022-2023 academic year at Ain Shams University

Logistics

Course Syntax and Semantics - COMP 303
Webpage https://github.com/m-fakhry/comp303-2023
Structure 2 hours lecture
Grades 70 (final), 25 (midterm and assignments), 5 (oral)
Book "Formal Syntax and Semantics of Programming Languages", Kenneth Slonneger and Barry Kurtz, 1995
Objective Understanding the formulation of languages grammars
Skills programming languages, machine architecture, language theory, algorithms.
Prerequists Automata.
Whatsapp group Comp303-22-23
Email mf.sci.asu@gmail.com

Lectures

Index Date Topic Contents Lecture Assignment
1 10/2 Introduction syntax and semantics, formal definition of grammars Lecture 1 Assignment 1
2 10/9 Language types of grammars, derivation tree, left and right most derivation, language, ambiguous grammar Lecture 2 Assignment 2
3 10/16 Ambiguous. Precedence convert from Ambiguous to unambiguous, precedence for operations Lecture 3 Assignment 3
4 10/23 Associative. Attribute grammar left and right associative, attribute grammar Lecture 4 Assignment 4
5 10/30 Attribute grammar synthesized and inherited attributes Lecture 5 Assignment 5
6 11/6 Attribute grammar more examples on synthesized and inherited attributes Lecture 6 Assignment 6
7 11/13 Midterm - - -
8 11/20 Translational semantics translation from source to target, machine target language, examples Lecture 7 Assignment 7
9 11/27 Translational semantics Attribute grammar to generate machine code Lecture 8
10 12/4 Translational semantics Attribute grammar to generate machine code Lecture 9 Assignment 9
11 12/11
12 12/18

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published