Pep and Nom

home | documentation | examples | translators | download | blog | all blog posts

the ℕ𝕠𝕞 "mark" command

Mark the current tape cell with the given name.

The mark command adds a text “tag” to the current tape-cell. This allows the tape cell to be accessed later in the script with the go command. The mark and go commands should allow “offside ” or indent parsing (such as for the python language)

The mark command has 2 formats, one with a parameter and one without:

mark
 mark; mark "here";

See the go command for an example.

See the script pars/eg/markdown.toc.pss for an example of using the “mark” and “go” commands to create a table of contents for a document from markdown-style underline headings.