Module type Spectrum.Serializer

Serializer module type - converts parsed tokens to ANSI escape codes.

See Serializer for the full signature.

val to_code : Parser.token list -> string

Convert a list of parsed style tokens into an ANSI escape code string.