Programming Language

MetaPost

Scripting Language

MetaPost is both a programming language and the interpreter that runs it, used to produce vector graphic diagrams from a geometric and algebraic description. The language and its interpreter are both derived from Donald Knuth's Metafont. MetaPost shares Metafont's declarative syntax for manipulating lines, curves, points and geometric transformations, but where Metafont produces fonts as raster image files at a fixed resolution, MetaPost produces vector output as EPS, SVG or PNG files, with RGB or CMYK colour instead of monochrome. Text labels can be set in a specified font or typeset with TeX. MetaPost is distributed with the MiKTeX and TeX Live distributions, and the encapsulated PostScript it produces can be included in LaTeX, ConTeXt and plain TeX documents. Many of its limits come from Metafont: paths can have only one segment, so regions are simply connected, and regions can be filled only with uniform colours.

Facts
First Released
1994 1
Primary Use Domain
Technical Drawing 2
Execution Model
Interpreted 2
Sources
1. Programming Language Database (PLDB): METAPOST (PLDB)
Programming Language Database (PLDB)Lead
Quote, Lead
METAPOST is a programming language created in 1994 by John D. Hobby.
View the Source
2. MetaPost (Wikipedia)
  • Lead
    MetaPost refers to both a programming language and the interpreter of the MetaPost programming language.
  • Lead, vector graphic output
    MetaPost produces vector graphic diagrams from a geometric/algebraic description.
View the Source
Comments (0)
No comments yet. Be the first to share a thought.
Reader Challenges (0)
No disputes yet. Spotted an error or a better source? Open the first one.

Computing Atlas

How Computing Was Built
Sign In
Text size
100%
Theme