Skip to main content
  • Courses
  • Programs
  • Help
    Getting Started Discussion Forums Help Center & FAQ
Saylor Academy
    Close
    Toggle search input
  • Log in or Sign up
Courses
Programs
Help
Getting Started
Discussion Forums
Help Center & FAQ
  • CS304: Compilers
  • Sections
  • Course Introduction
  • Unit 1: Introduction to Compilers
  • Unit 2: Formal Languages and Formal Grammar
  • Unit 3: Finite State Machines
  • Unit 4: Scanning and Lexical Analysis
  • Unit 5: Parsing and Syntax Analysis
  • Unit 6: Syntax Directed Translation and Semantic Analysis
  • Unit 7: Runtime Environment
  • Unit 8: Code Generation
  • Unit 9: Code Optimization
  • Unit 10: Compiler Verification and Validation
  • Unit 11: Compiler Summary and Next Steps
  • Final Exam
  • Resources
  • Activities
  • Quizzes
  • Home
  • My programs

CS304: Compilers

Competencies
  1. Home
  2. Courses
  3. (hidden)
  4. CS304: Compilers

Learn new skills or earn credit towards a degree at your own pace with no deadlines, using free courses from Saylor Academy. We're committed to removing barriers to education and helping you build essential skills to advance your career goals. Start learning here, or check out our full course catalog.

Log in or Sign up to enroll in courses, track your progress, gain access to final exams, and get a free certificate of completion!

Sign up now
Back to 'Unit 5: Parsing and Syntax Analysis \'
  • 5.3: Functions of a Parser

    • Torben Ægidius Mogensen's "Basics of Compiler Design, Chapter 3: Syntax Analysis" URL

      Read subsections 3.4 - 3.6. The functions of a parser include: building an internal representation of the derivation tree and related parser information, and resolving ambiguities of the language pertaining to the input string of tokens.

    • Stanford University: Keith Schwarz's "Top-Down Parsing" URL

      Read slide 4. The first bullet is a requirement statement and the third bullet is a function statement. An additional function is the output of meaningful and accurate messages, including error messages.

Skip Activities
Activities
  • QuizQuizzes
  • Resources
Skip Recent activity
Recent activity
Activity since Thursday, February 2, 2023, 6:58 AM
Full report of recent activity...

No recent activity

Saylor Academy
  • About

  • Partners

  • Blog

  • Contact

Saylor Academy

© Saylor Academy 2010-2023 except as otherwise noted. Excluding course final exams, content authored by Saylor Academy is available under a Creative Commons Attribution 3.0 Unported license. Third-party materials are the copyright of their respective owners and shared under various licenses. See detailed licensing information.

Saylor Academy®, Saylor.org®, and Harnessing Technology to Make Education Free® are trade names of the Constitution Foundation, a 501(c)(3) organization through which our educational activities are conducted.

"CCBY"

Sitemap | Terms of Use | Privacy Policy

Data retention summary
Get the mobile app
Policies