@@ -13,7 +13,7 @@ Additional options are as follows.
| `--logWrites` | No (false) | Enable logging for every sent message. |
| `--logIncremental` | No (false) | Enable logging for observer in incremental dependency tracking. |
| `--logTarget` | No (`console`) | Logging target to use, currently available: `console, slf4j`. |
| `--experimental-jastadd-329` | No (false) | Use tracing events `INC_FLUSH_START` and `INC_FLUSH_END` ([JastAdd issue #329][jastadd-issue-329]), see [section about automatic dependency tracking](/using#dependency-tracking-automatically-derived). |
| `--experimental-jastadd-329` | No (false) | Use tracing events `INC_FLUSH_START` and `INC_FLUSH_END` ([JastAdd issue #329][jastadd-issue-329]), see [section about automatic dependency tracking](using#dependency-tracking-automatically-derived). |
| `--incremental` | No (false) | Enables incremental dependency tracking (if `tracing` is also set appropriately). |
| `--tracing[=flush]` | No (false) | Enables incremental dependency tracking (if `incremental` is also set appropriately). |
| `--version` | No (false) | Print version info and exit (reused JastAdd option) |
...
...
@@ -78,7 +78,7 @@ However, depending on the selected protocols and/or used features, additional de
- Remarks:
- Other (additional) values passed to those two options must be equal (e.g., `--incremental=param` passed to RagConnect must be also passed to JastAdd)
- Other values besides `flush` can be added to `--tracing`
@@ -66,7 +66,7 @@ A.OutputOnA canDependOn A.Input as dependencyA ;
## Using generated code
After specifying everything, code will be generated if [setup properly](/adding).
After specifying everything, code will be generated if [setup properly](adding).
Let's create an AST in some driver code:
```java
...
...
@@ -87,7 +87,7 @@ a.addDependencyA(a);
```
Finally, we can actually _connect_ the tokens.
Depending on the enabled protocols, [different URI schemes are allowed](/compiler#communication-protocol-characteristics).
Depending on the enabled protocols, [different URI schemes are allowed](compiler#communication-protocol-characteristics).
In this example, we use the default protocol: MQTT.
```java
...
...
@@ -156,7 +156,7 @@ receive ReceiverRoot.A ;
To process non-terminals, default mappings are provided for every non-terminal type of the used grammar.
They use the JSON serialization offered by the RelAST compiler, i.e., interpret the message as a `String`, deserialize the content reading the message as JSON, or vice versa.
Additional dependencies are required to use this feature, as detailed in [the compiler section](/compiler#treelist-endpoints).
Additional dependencies are required to use this feature, as detailed in [the compiler section](compiler#treelist-endpoints).
As described in the [DSL specification](/dsl), attributes can be used as endpoint targets.
As described in the [DSL specification](dsl), attributes can be used as endpoint targets.
They can only be used in send endpoints, and the return type of the attribute must be specified in the connect specification (because aspect files are not handled completely yet).
Currently, synthesized, inherited, collection, and circular attributes are supported.