A Handbook of Mathematical Discourse
formal language
A set of symbolic expressions defined by a mathematical definition. The definition is usually given recursively.
Example 1 Pascal, like other modern programming languages, is a formal language. The definition, using Backus-Naur notation (a notation that allows succinct recursive definitions), may be found in [Jensen and Wirth, 1985].
Example 2 The languages of mathematical logic are formal languages. Thus terms and expressions are defined recursively on pages 14 and 15 of [Ebbinghaus, Flum and Thomas, 1984].
Example 3 The traditional symbolic language of mathematics is not a formal language; this is discussed under that entry.
See also context-sensitive. Reference: [Lewis and Papadimitriou, 1998].
Pages 100–101 of the book (PDF).