Skip to content

Commit

Permalink
Additional information on Expression-Oriented Languages
Browse files Browse the repository at this point in the history
Added the fact that expression statements can form part of larger
expressions.
  • Loading branch information
Dangthrimble committed Jul 24, 2015
1 parent 1f80880 commit 30584b0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/doc/trpl/glossary.md
Expand Up @@ -53,6 +53,8 @@ syntactic categories: expressions had a value and statements did things.
However, later languages blurred this distinction, allowing expressions to do
things and statements to have a value. In an expression-oriented language,
(nearly) every statement is an expression and therefore returns a value.
Consequently these expression statements can themselves form part of larger
expressions.

[expressions]: glossary.html#expression
[statements]: glossary.html#statement
Expand Down

0 comments on commit 30584b0

Please sign in to comment.