Go to the first, previous, next, last section, table of contents.


|backslashesToHighbit

Function: |backslashesToHighbit { [chars] -> [ints] }
file: job.t
package: muf
status: alpha

The |backslashesToHighbit function is a simple compiler convenience function which converts a block of chars to a block of ints with the corresponding ASCII values, except that (non-backslashed) backslashes have been dropped, and a high (0x1000) bit set on the following characters.

The result is a convenient representation used by the Muq compilers to represent a token while remembering which characters were quoted.

If unwanted, the quote bits may be stripped out using the |intChar function.


Go to the first, previous, next, last section, table of contents.