Skip to content

Commit b99d04b

Browse files
committed
Fix links
1 parent d59422e commit b99d04b

File tree

8 files changed

+178
-186
lines changed

8 files changed

+178
-186
lines changed

docs/reference/target-declaration.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ import {
1111

1212
<LanguageSelector c cpp py rs ts />
1313

14+
# Target Declaration
15+
1416
Every Lingua Franca program begins with a statement of this form:
1517

1618
```lf
@@ -19,7 +21,7 @@ Every Lingua Franca program begins with a statement of this form:
1921

2022
The `<name>` gives the name of some Lingua Franca target language, which is the language in which reactions are written. This is also the language of the program(s) generated by the Lingua Franca compiler. The target languages currently supported are C, C++, Python, TypeScript, and Rust. There is also a target CCpp that is just like the C target except that it uses a C++ compiler to compile the code, thereby allowing inclusion of C++ code.
2123

22-
# Summary of Parameters
24+
# Summary of Target Parameters
2325

2426
A target specification may have optional parameters, the names and values of which depend on which specific target you are using. Each parameter is a key-value pair, where the supported keys are a subset of the following:
2527

docs/reference/target-language-details.mdx

Lines changed: 34 additions & 39 deletions
Large diffs are not rendered by default.

docs/writing-reactors/reactions.mdx

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Reactions may optionally be named. The name is cosmetic and may serve as additio
2828

2929
The reaction's behavior is defined by its body, which should be given in the target programming language. Note that the reaction body may only read from actions and ports that it has declared as triggers or uses, and it may only write to actions and ports that it has declared as an effect. The target code generators implement a scoping mechanism, such that only variables that are declared in the reaction signature are accessible in the reaction body.
3030

31-
In some targets, the reaction body may be omitted and the body can be defined natively in the target language in an external file. See the section on [Bodyless Reactions](#bodyless-reactions) for details.
31+
In some targets, the reaction body may be omitted and the body can be defined natively in the target language in an external file. See the section on [Reaction Declarations](./reaction-declarations.mdx) for details.
3232

3333
## Reaction Order
3434

@@ -124,8 +124,3 @@ For details, see the [Modal Reactors](../writing-reactors/modal-models.mdx) sect
124124

125125
</ShowIf>
126126
</ShowIfs>
127-
128-
129-
## Bodyless Reactions
130-
131-
See [Reaction Declarations](./reaction-declarations.mdx).

versioned_docs/version-0.5.0/reference/target-language-details.mdx

Lines changed: 28 additions & 28 deletions
Large diffs are not rendered by default.

versioned_docs/version-0.6.0/reference/target-language-details.mdx

Lines changed: 28 additions & 28 deletions
Large diffs are not rendered by default.

versioned_docs/version-0.7.0/reference/target-language-details.mdx

Lines changed: 28 additions & 28 deletions
Large diffs are not rendered by default.

versioned_docs/version-0.8.0/reference/target-language-details.mdx

Lines changed: 28 additions & 28 deletions
Large diffs are not rendered by default.

versioned_docs/version-0.9.0/reference/target-language-details.mdx

Lines changed: 28 additions & 28 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)