Module plumb

Module plumb 

Source
Expand description

A plumbing interface for user defined “loading” of text inspired by plan 9’s plumber.

See the following papers and man pages for references on the original plan 9 system:

  • http://doc.cat-v.org/plan_9/4th_edition/papers/plumb
  • http://man.cat-v.org/plan_9_3rd_ed/1/plumb
  • http://man.cat-v.org/plan_9_3rd_ed/2/plumb
  • http://man.cat-v.org/plan_9_3rd_ed/4/plumber
  • http://man.cat-v.org/plan_9_3rd_ed/6/plumb

Structs§

PlumbingMessage
The deserialized form of a plumbing message sent by a client.
PlumbingRules
An ordered list of plumbing rules to use whenever something is “loaded” within the editor.
Rule
A parsed plumbing rule for matching against incoming messages. If all patterns match then the resulting actions are run until one succeeds.

Enums§

MatchOutcome
The result of a successful rule match that should be handled by ad.