GNU Emacs Lisp Reference Manual
Each element of a syntax table is an integer that encodes the syntax of one character: the syntax class, possible matching character, and flags. Lisp programs don't usually work with the elements directly; the Lisp-level syntax table functions usually work with syntax descriptors (see Syntax Descriptors).
The low 8 bits of each element of a syntax table indicate the syntax class.
Integer
0
1
2
3
4
5
6
7
8
9
10
11
12
13
The next 8 bits are the matching opposite parenthesis (if the character has parenthesis syntax); otherwise, they are not meaningful. The next 6 bits are the flags.