mplist_deserialize - Generate a property list by deserializing an M-text.
Generate a property list by deserializing an M-text.
The mplist_deserialize() function parses M-text mt and returns a property list.
The syntax of mt is as follows.
MT ::= '(' ELEMENT * ')'
ELEMENT ::= SYMBOL | INTEGER | M-TEXT | PLIST
SYMBOL ::= ascii-character-sequence
INTEGER ::= '-' ? [ '0' | .. | '9' ]+ | '0x' [ '0' | .. | '9' | 'A' | .. | 'F' |
'a' | .. | 'f' ]+
M-TEXT ::= ''' character-sequence '''
Each alternatives of ELEMENT is assigned one of these keys: Msymbol ,
In an ascii-character-sequence, a backslash (\) is used as the escape character,
which means that, for instance, abc\ def produces a symbol whose name is of
length seven with the fourth character being a space.
Copyright (C) 2001 Information-technology Promotion Agency (IPA)
Copyright (C) 2001-2009 National Institute of Advanced Industrial Science and
Permission is granted to copy, distribute and/or modify this document under the
terms of the GNU Free Documentation License