Skip to content

Commit 5d58350

Browse files
documentation: Minor spelling corrections.
1 parent c9a6a5d commit 5d58350

6 files changed

Lines changed: 150 additions & 152 deletions

File tree

.idea/copyright/profiles_settings.xml

Lines changed: 1 addition & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/dictionaries/Denis.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

semantics/configuration-doc.k

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ Some cells in this configuration are not used within the rules. They serve only
66

77
While describing the configuration we will denote with $\kall{cell}{\begin{array}{@{}c@{}}{\kall{}{}... \ \kall{}{}}\end{array}}$ a container cell, holding another cells, and with $\kall{cell}{Type}$ a leaf cell and its type.
88

9-
During the preprocessing phase there is only one $\kall{thread}{\begin{array}{@{}c@{}}{\kall{}{}... \ \kall{}{}}\end{array}}$ where the whole program with all its classes is preprocessed. During execution phase there might be multiple $\kall{thread}{}$ cells -- one per actual running thread. The cell $\kall{thread}{}$ contains leaf-cells $\kall{k}{}$ and $\kall{stack}{}$ and container cells $\kall{methodContext}{\begin{array}{@{}c@{}}{\kall{}{}... \ \kall{}{}}\end{array}}$ and $\kall{threadData}{\begin{array}{@{}c@{}}{\kall{}{}... \ \kall{}{}}\end{array}}$. The cell $\kall{k}{}$ is the actual computation, both during preprocessing and execution. When after a preprocessing phase the cell $\kall{k}{}$ remains empty, evaluation transitions into the next phase. If the cell $\kall{k}{}$ remains empty during the execution phase, the enclosing thread is terminated. The cell $\kall{stack}{}$ is the thread stack.
9+
During the preprocessing phase there is only one $\kall{thread}{\begin{array}{@{}c@{}}{\kall{}{}... \ \kall{}{}}\end{array}}$ where the whole program with all its classes is preprocessed. During execution phase there might be multiple $\kall{thread}{}$ cells -- one per actual running thread. The cell $\kall{thread}{}$ contains leaf-cells $\kall{k}{}$ and $\kall{stack}{}$ and container cells $\kall{methodContext}{\begin{array}{@{}c@{}}{\kall{}{}... \ \kall{}{}}\end{array}}$ and $\kall{threadData}{\begin{array}{@{}c@{}}{\kall{}{}... \ \kall{}{}}\end{array}}$. The cell $\kall{k}{}$ is the actual computation, both during preprocessing phases and execution. When the cell $\kall{k}{}$ remains empty during preprocessing, this represents the end of the current preprocessing phase and transition to the next one. If the cell $\kall{k}{}$ remains empty during the execution, the enclosing thread is terminated. The next cell in order is $\kall{stack}{}$ -- the thread stack.
1010

1111
Inside the cell $\kall{methodContext}{\begin{array}{@{}c@{}}{\kall{}{}... \ \kall{}{}}\end{array}}$ we have various data holding the context of the currently executing method. Here we have:
1212

semantics/statements.k

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ rule [StartExecutionPhase]:
2727
</k>
2828
<env> . </env>
2929
<mainClass> ListItem(MainClassS:String) </mainClass>
30-
<globalPhase> ElaborationPhase => ExecutionPhase </globalPhase>
30+
<globalPhase> ElaborationPhase => ExecutionPhase </globalPhase>
3131
3232
//@ \subsection{Program stack}
3333
@@ -171,7 +171,7 @@ context switchImpl( _,
171171
172172
//the type associated to V and V2 is not important for match, only the value.
173173
//JLS3 \$14.11, page 377: Every case constant expression associated with
174-
//a switch statement must be assignable (§5.2) to the type of the switch Expression.
174+
//a switch statement must be assignable (5.2) to the type of the switch Expression.
175175
176176
rule [SwitchCaseNotMatch]:
177177
switchImpl( V:RawVal :: _, ( 'SwitchGroup('ListWrap(

test-runner/.idea/copyright/profiles_settings.xml

Lines changed: 1 addition & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)