mirror of
https://github.com/unisonweb/unison.git
synced 2024-09-11 10:35:57 +03:00
42 lines
496 B
Markdown
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
|
|
```
|