1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
/*!
# How To: Evaluate Wolfram code from Rust
## Generating Wolfram messages from Rust
Suppose you want to generate a Wolfram [`Message[..]`][ref/Message] from within Rust.
The easiest way to accomplish this is to construct an appropriate Wolfram expression
using the [`Expr`] type, and then use the [`evaluate()`] function to call back into
Wolfram to evaluate that expression.
[ref/Message]: https://reference.wolfram.com/language/ref/Message.html
**Rust**
```rust
# mod scope {
*/
/*!
# }
```
**Wolfram**
```wolfram
*/
/*!
```
## Using Print[..] from Rust
*TODO*
*/
use crate::;