CSCI 330 - Chapter 3

Ace your homework & exams now with Quizwiz!

Metalanguage

A language that is used to describe another language. BNF is a metalanguage for programming languages.

Token

A token of a language is a category of its lexemes

Grammars

Formal language-generation mechanisms, usually called grammars, that are commonly used to describe the syntax of programming languages.

Non-terminal Symbols

The abstractions in a BNF description, or grammar, are often called non-terminal symbols.

Terminals

The lexemes and tokens of the rule are called terminal symbols.

Lexemes

The lexemes of a programming language include its numeric literals, operators, and special words, among others.

Semantics

The meaning of expressions, statements, and program units.

Sentences

The strings of a language are called sentences.

Syntax

The syntax of a programming language is the form of its expressions, statements, and program units.


Related study sets

MGMT301-Exam3(Brower): Book Material

View Set

Modern Database Management - Chapter 5

View Set

USAREUR Practice Exam, German Drivers License, German Drivers License, German Drivers License, german drivers license

View Set

NBC-HWC practice exam questions (C&S)

View Set

Ch 41 Peptic Ulcer Disease Questions

View Set