Kyle Lahnakoski

This document has moved

November 2002

YAY (YAY's another YACC)

Introduction

Terminology

Overview

The Built-in Parser

A Simple Parser (A Lexxer)

Patterns

Special Forms

My Notes:

<e-kyle> each PARSER is given an input (either text, or another parsers output) and will have a function called getToken() that will get the next token
<e-kyle> "match" refers to the productions that are allowed to be matched to the input (other productions are sub-productions).
<e-kyle> "export" refers to tokens that are exported. Tokens that are matched, but not exported means the PARSER will continue matching tokens until it finds one to export.
<e-kyle> You can see the KMALLexxer will skip WhiteSpace and Comments.

kyle@lahnakoski.com