Currently there is no way to parse a string into a quoted expression without interpreting it. eval parses and interprets a string, and load parses and interprets a file.
Scheme-like read would parse a file into a quoted expression without interpreting it. A parse function would parse a string into a quoted expression without interpreting it. int and float already do that for ints and floats, so this would behave similarly but for quotes.
Currently there is no way to parse a string into a quoted expression without interpreting it.
eval
parses and interprets a string, andload
parses and interprets a file.Scheme-like
read
would parse a file into a quoted expression without interpreting it. Aparse
function would parse a string into a quoted expression without interpreting it.int
andfloat
already do that for ints and floats, so this would behave similarly but for quotes.