unison/unison-src/transcripts/transcript-parser-commands.md

42 lines
496 B
Markdown

### Transcript parser operations
```ucm:hide
scratch/main> builtins.merge
```
The transcript parser is meant to parse `ucm` and `unison` blocks.
```unison
x = 1
```
```ucm
scratch/main> add
```
```unison:hide:error:scratch.u
z
```
```ucm:error
scratch/main> delete foo
```
```ucm :error
scratch/main> delete lineToken.call
```
However handling of blocks of other languages should be supported.
```python
some python code
```
```c_cpp
some C++ code
```
```c9search
some cloud9 code
```