Trim florid language.
This commit is contained in:
parent
ca14b8121c
commit
806d024783
1 changed files with 5 additions and 7 deletions
|
@ -735,13 +735,11 @@ Rust syntax is restricted in two ways:
|
||||||
|
|
||||||
# Crates and source files
|
# Crates and source files
|
||||||
|
|
||||||
Rust is a *compiled* language. Its semantics obey a *phase distinction*
|
Rust is a *compiled* language. Its semantics obey a *phase distinction* between
|
||||||
between compile-time and run-time. Those semantic rules that have a *static
|
compile-time and run-time. Those semantic rules that have a *static
|
||||||
interpretation* govern the success or failure of compilation. We refer to
|
interpretation* govern the success or failure of compilation. Those semantics
|
||||||
these rules as "static semantics". Semantic rules called "dynamic semantics"
|
that have a *dynamic interpretation* govern the behavior of the program at
|
||||||
govern the behavior of programs at run-time. A program that fails to compile
|
run-time.
|
||||||
due to violation of a compile-time rule has no defined dynamic semantics; the
|
|
||||||
compiler should halt with an error report, and produce no executable artifact.
|
|
||||||
|
|
||||||
The compilation model centers on artifacts called _crates_. Each compilation
|
The compilation model centers on artifacts called _crates_. Each compilation
|
||||||
processes a single crate in source form, and if successful, produces a single
|
processes a single crate in source form, and if successful, produces a single
|
||||||
|
|
Loading…
Reference in a new issue