HiveBrain v1.2.0
Get Started
← Back to all entries
patternMinor

Anatomy of a production rule

Submitted by: @import:stackexchange-cs··
0
Viewed 0 times
anatomyruleproduction

Problem

Production is said to be of the form $u \to v$. I want to know if you distinguish $u$ from $v$ giving them some distinguishing names, like LHS/RHS or something alike.

Solution

$u$ can be called the 'head' (or left-hand side)

$v$ can be called the 'body' (or right-hand-side)

sources: source-1, source-2

Context

StackExchange Computer Science Q#51107, answer score: 6

Revisions (0)

No revisions yet.