libs/visuals.@

Return to the index.

Table of Contents

Function count: 4

Click on genres to show all functions in that genre.

(numeric/bases)Duodecimal, UnDuodecimal
(string)Highlight, HighlightHTML

Duodecimal[number n] → string (numeric/bases)

Returns the duodecimal representation of n, using the duodecimal digits and .

Highlight[string code] → string (string)

Returns a string with ANSII escape sequences surrounding each token in code.

HighlightHTML[string code] → string (string)

Returns a string consisting of valid HTML with <code> tags surrounding each token, each with a class equal to at_(TOKEN_TYPE) as appropriate. Check libs/visuals.@ for a complete list of token types.

UnDuodecimal[string str] → number (numeric/bases)

Given a duodecimal representation str, returns the number represented by str.