# Io Reference

Core / Core / Compiler

|  | Contains methods related to the compiling code.

messageForString(aString, optionalLabelString)

Returns the compiled message object for aString.
messageForString2(aString)

Returns the compiled message object for aString. (Runs raw string against lexer directly.)
messageForTokens(aList)

Returns the compiled message object for the given token list.
tokensForString(aString)

Returns a list of token objects lexed from the input string.