unison/unison-src/transcripts/transcript-parser-commands.output.md
Arya Irani 0cd3cd1cff Merge branch 'trunk' into cp/project-root
# Conflicts:
#	unison-cli-integration/integration-tests/IntegrationTests/transcript.output.md
#	unison-src/transcripts-round-trip/main.output.md
#	unison-src/transcripts/add-run.output.md
#	unison-src/transcripts/bug-strange-closure.output.md
#	unison-src/transcripts/cycle-update-5.output.md
#	unison-src/transcripts/delete.output.md
#	unison-src/transcripts/diff-namespace.output.md
#	unison-src/transcripts/move-namespace.output.md
#	unison-src/transcripts/name-selection.output.md
#	unison-src/transcripts/names.output.md
#	unison-src/transcripts/namespace-dependencies.output.md
#	unison-src/transcripts/propagate.output.md
#	unison-src/transcripts/reflog.output.md
#	unison-src/transcripts/reset.output.md
#	unison-src/transcripts/tab-completion.output.md
#	unison-src/transcripts/transcript-parser-commands.output.md
2024-07-10 23:49:04 -04:00

965 B

Transcript parser operations

The transcript parser is meant to parse ucm and unison blocks.

x = 1

  Loading changes detected in scratch.u.

  I found and typechecked these definitions in scratch.u. If you
  do an `add` or `update`, here's how your codebase would
  change:
  
    ⍟ These new definitions are ok to `add`:
    
      x : Nat

scratch/main> add

  ⍟ I've added these definitions:
  
    x : Nat

---
title: :scratch.u
---
z

scratch/main> delete foo

  ⚠️
  
  The following names were not found in the codebase. Check your spelling.
    foo

scratch/main> delete lineToken.call

  ⚠️
  
  The following names were not found in the codebase. Check your spelling.
    lineToken.call

However handling of blocks of other languages should be supported.

some python code
some C++ code
some cloud9 code