tutorials:rgg-code-structure
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| tutorials:rgg-code-structure [2025/10/21 11:52] – MH | tutorials:rgg-code-structure [2025/10/21 12:04] (current) – [XL Blocks - Rules] MH | ||
|---|---|---|---|
| Line 163: | Line 163: | ||
| === String rules === | === String rules === | ||
| - | The concept of an replacement rule is basically | + | The concept of an replacement rule in XL follows the ' |
| The left part can thereby be any [[tutorials: | The left part can thereby be any [[tutorials: | ||
| The right part (the production) is a collection of Nodes ( instances of either turtle commands, 3d objects or modules) which are linked by different edges. In the example below only successor- and branch-edges are used. A node that is separated to its predecessor by only a white space is added as a sucessor to the predecessor. A Node or a set of nodes framed by square brackets in that is added to the predecessor with a branch-edge. | The right part (the production) is a collection of Nodes ( instances of either turtle commands, 3d objects or modules) which are linked by different edges. In the example below only successor- and branch-edges are used. A node that is separated to its predecessor by only a white space is added as a sucessor to the predecessor. A Node or a set of nodes framed by square brackets in that is added to the predecessor with a branch-edge. | ||
tutorials/rgg-code-structure.1761040368.txt.gz · Last modified: 2025/10/21 11:52 by MH
