symbol

Command: symbol


Synopsis
string symbol -> post any true
false

Description
reads a symbol from a string and
pushes true the extracted symbol and the remainder
of the string. In contrast to the function token
procedures are not assembled but the individual symbols
are returned. This enables the implementation of
alternative parsers.

File
lib/sli/typeinit.sli
Author
Diesmann
FirstVersion
100107
Examples

(1 2 hello) symbol -> true 1 (2 hello)
({1 2 add}) symbol -> true /BeginProcedureSymbol (1 2 add})

SeeAlso