NAME¶
mplist_deserialize - Generate a property list by deserializing an M-text.
SYNOPSIS¶
MPlist *
mplist_deserialize (
MText *
mt)
DESCRIPTION¶
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
,
Minteger
, Mtext
, Mplist
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¶
Copyright (C) 2001 Information-technology Promotion Agency (IPA)
Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and
Technology (AIST)
Permission is granted to copy, distribute and/or modify this document under the
terms of the GNU Free Documentation License
<
http://www.gnu.org/licenses/fdl.html>.