Directories
¶
| Path | Synopsis |
|---|---|
|
Package csl provides support for citation and reference generation using the industry-standard Citation Style Language.
|
Package csl provides support for citation and reference generation using the industry-standard Citation Style Language. |
|
mdcite
command
|
|
|
Package difflib is a partial port of Python difflib module.
|
Package difflib is a partial port of Python difflib module. |
|
bytes
Package bytes is a partial port of Python difflib module for bytes.
|
Package bytes is a partial port of Python difflib module for bytes. |
|
tester
Package tester provides random strings for the tests and benchmarks of difflib.
|
Package tester provides random strings for the tests and benchmarks of difflib. |
|
Package fonts provides the fonts that are embedded in apps (Noto Sans and Roboto Mono by default), the fonts added at run time, and their information.
|
Package fonts provides the fonts that are embedded in apps (Noto Sans and Roboto Mono by default), the fonts added at run time, and their information. |
|
fontbrowser
command
|
|
|
metricsonly
command
Command metricsonly extracts font metrics from font files, discarding all the glyph outlines and other data.
|
Command metricsonly extracts font metrics from font files, discarding all the glyph outlines and other data. |
|
noto
Package noto embeds the Noto Sans fonts, the default sans-serif fonts.
|
Package noto embeds the Noto Sans fonts, the default sans-serif fonts. |
|
robotomono
Package robotomono embeds the Roboto Mono fonts, the default monospace fonts.
|
Package robotomono embeds the Roboto Mono fonts, the default monospace fonts. |
|
Package highlighting provides syntax highlighting styles; it is based on github.com/alecthomas/chroma, which in turn was based on the python pygments package.
|
Package highlighting provides syntax highlighting styles; it is based on github.com/alecthomas/chroma, which in turn was based on the python pygments package. |
|
alllexers
Package alllexers makes syntax highlighting use all of the chroma lexers on all platforms, when imported:
|
Package alllexers makes syntax highlighting use all of the chroma lexers on all platforms, when imported: |
|
lexers
Package lexers provides the chroma lexers for syntax highlighting one language at a time, so that an app links only the definitions of the languages that it highlights, instead of those of all of the hundreds of languages in github.com/alecthomas/chroma/v3/lexers.
|
Package lexers provides the chroma lexers for syntax highlighting one language at a time, so that an app links only the definitions of the languages that it highlights, instead of those of all of the hundreds of languages in github.com/alecthomas/chroma/v3/lexers. |
|
Package htmltext converts HTML and preformatted text with HTML markup to rich text, and rich text to HTML.
|
Package htmltext converts HTML and preformatted text with HTML markup to rich text, and rich text to HTML. |
|
Package parse is the top-level package for the Cogent Core parsing system.
|
Package parse is the top-level package for the Cogent Core parsing system. |
|
cmd/parse
command
|
|
|
cmd/update
command
Command update updates all of the .parse files within or beneath the current directory by opening and saving them.
|
Command update updates all of the .parse files within or beneath the current directory by opening and saving them. |
|
complete
Package complete provides the matching of completions to the text being completed (the seed), and the edits that insert them.
|
Package complete provides the matching of completions to the text being completed (the seed), and the edits that insert them. |
|
languages
Package languages provides the parsers of the languages of the parse package, by their known file types.
|
Package languages provides the parsers of the languages of the parse package, by their known file types. |
|
languages/bibtex
Package bibtex reads BibTeX files of bibliographic references.
|
Package bibtex reads BibTeX files of bibliographic references. |
|
languages/golang
Package golang provides the support for the Go language of the parse package: its parser, symbols, type inference, and completion.
|
Package golang provides the support for the Go language of the parse package: its parser, symbols, type inference, and completion. |
|
languages/markdown
Package markdown provides the support for Markdown of the parse package, with the completion of citations and links.
|
Package markdown provides the support for Markdown of the parse package, with the completion of citations and links. |
|
languages/tex
Package tex provides the support for TeX and LaTeX of the parse package, with the completion of commands and citations.
|
Package tex provides the support for TeX and LaTeX of the parse package, with the completion of commands and citations. |
|
lexer
Package lexer provides all the lexing functions that transform text into lexical tokens, using token types defined in the token package.
|
Package lexer provides all the lexing functions that transform text into lexical tokens, using token types defined in the token package. |
|
lsp
Package lsp contains types for the Language Server Protocol LSP: https://microsoft.github.io/language-server-protocol/specification and mappings from these elements into the token.Tokens types which are used internally in parse.
|
Package lsp contains types for the Language Server Protocol LSP: https://microsoft.github.io/language-server-protocol/specification and mappings from these elements into the token.Tokens types which are used internally in parse. |
|
parser
Package parser does the parsing stage after lexing, using a top-down recursive-descent (TDRD) strategy, with a special reverse mode to deal with left-associative binary expressions which otherwise end up being right-associative for TDRD parsing.
|
Package parser does the parsing stage after lexing, using a top-down recursive-descent (TDRD) strategy, with a special reverse mode to deal with left-associative binary expressions which otherwise end up being right-associative for TDRD parsing. |
|
supportedlanguages
Package supportedlanguages includes all the supported languages for parse -- need to import this package to get those all included in a given target
|
Package supportedlanguages includes all the supported languages for parse -- need to import this package to get those all included in a given target |
|
syms
Package syms defines the symbols and their properties that are accumulated from a parsed file, and are then used for e.g., completion lookup, etc.
|
Package syms defines the symbols and their properties that are accumulated from a parsed file, and are then used for e.g., completion lookup, etc. |
|
Package printer provides standard printer settings.
|
Package printer provides standard printer settings. |
|
Package rich provides the `rich.Text` type, which is the standard representation for formatted text, used as the input to the `shaped` package for text layout and rendering.
|
Package rich provides the `rich.Text` type, which is the standard representation for formatted text, used as the input to the `shaped` package for text layout and rendering. |
|
Package runes provides a small subset of functions for rune slices that are found in the strings and bytes standard packages.
|
Package runes provides a small subset of functions for rune slices that are found in the strings and bytes standard packages. |
|
Package shaped provides the interfaces and types of the shaping of rich text into lines of runs of glyphs, for rendering.
|
Package shaped provides the interfaces and types of the shaping of rich text into lines of runs of glyphs, for rendering. |
|
shapers
Package shapers sets the text shaper of the platform: that of go-text (shapedgt), or on the web, the one corrected by the browser (shapedjs).
|
Package shapers sets the text shaper of the platform: that of go-text (shapedgt), or on the web, the one corrected by the browser (shapedjs). |
|
shapers/shapedgt
Package shapedgt shapes text with the HarfBuzz shaper of go-text, and wraps it into lines.
|
Package shapedgt shapes text with the HarfBuzz shaper of go-text, and wraps it into lines. |
|
shapers/shapedjs
Package shapedjs shapes text on the web, with the shaper of go-text, corrected by the measurements of the text in a browser canvas.
|
Package shapedjs shapes text on the web, with the shaper of go-text, corrected by the measurements of the text in a browser canvas. |
|
Package spell provides functions for spell check and correction.
|
Package spell provides functions for spell check and correction. |
|
dict
command
|
|
|
Package terminal provides a terminal widget that runs a program, typically a shell, in a pseudo-terminal.
|
Package terminal provides a terminal widget that runs a program, typically a shell, in a pseudo-terminal. |
|
examples/basic
command
basic is a terminal app that runs the given command, or the user's shell.
|
basic is a terminal app that runs the given command, or the user's shell. |
|
pty
Package pty runs a command in a pseudo-terminal (pty), so that it acts as it does in a terminal: for example, a shell is interactive.
|
Package pty runs a command in a pseudo-terminal (pty), so that it acts as it does in a terminal: for example, a shell is interactive. |
|
vt
Package vt implements a virtual terminal emulator, Emulator: the grid of character cells that results from the output of programs that use the standard (VT100 / xterm) terminal control sequences, with the scrolling scrollback, modes, and other state of the terminal.
|
Package vt implements a virtual terminal emulator, Emulator: the grid of character cells that results from the output of programs that use the standard (VT100 / xterm) terminal control sequences, with the scrolling scrollback, modes, and other state of the terminal. |
|
Package tex typesets LaTeX math expressions into paths, with the fonts of TeX.
|
Package tex typesets LaTeX math expressions into paths, with the fonts of TeX. |
|
texcache
Package texcache caches the paths of typeset LaTeX math expressions, which can be saved to a file and opened again, so that TeX is not needed for them.
|
Package texcache caches the paths of typeset LaTeX math expressions, which can be saved to a file and opened again, so that TeX is not needed for them. |
|
Package text provides the styles of the layout of text, such as its alignment, line height, and white space, and the settings of text editors.
|
Package text provides the styles of the layout of text, such as its alignment, line height, and white space, and the settings of text editors. |
|
Package textcore provides the widgets for viewing and editing text: Base, Editor, and the diff and twin editors built on them.
|
Package textcore provides the widgets for viewing and editing text: Base, Editor, and the diff and twin editors built on them. |
|
Package textpos provides positions, ranges, regions, and edits of text in lines of runes.
|
Package textpos provides positions, ranges, regions, and edits of text in lines of runes. |
|
Package token defines a complete set of all lexical tokens for any kind of language! It is based on the alecthomas/chroma / pygments lexical tokens plus all the more detailed tokens needed for actually parsing languages
|
Package token defines a complete set of all lexical tokens for any kind of language! It is based on the alecthomas/chroma / pygments lexical tokens plus all the more detailed tokens needed for actually parsing languages |
Click to show internal directories.
Click to hide internal directories.