mplist_deserialize(3m17n)
β¨ NAME β¨
mplist_deserialize β bestie, this is the m17n Library's little glow-up machine that turns an M-text into a property list π (it's a 3m17n page, iykyk)
πΈ SYNOPSIS πΈ
MPlist * mplist_deserialize (MText * mt)
π¦ DESCRIPTION π¦
okay so, mplist_deserialize() literally generates a property list by deserializing an M-text. It takes your M-text mt, parses it, and hands you back a property list. that's the whole vibe. π
The syntax of mt goes like this:
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 '''
Not me assigning a key to every single alternative of ELEMENT β each one gets one of these: Msymbol, Minteger, Mtext, Mplist. periodt. π
And in an ascii-character-sequence, a backslash (\) is the escape character. so for instance, abc\ def produces a symbol whose name is of length seven with the fourth character being a space. yes bestie, the escape is doing the work there, no cap. π₯
π 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>.
okay that's the whole page, love u, mwah π this was Version 1.8.4, dated Mon Sep 25 2023, and yes the manual name is mplist_deserialize(3m17n) β slay β¨π«Ά
π¦ where this page comes from
- debian trixie: m17n-docs 1.8.4-1
- ubuntu noble: m17n-docs 1.8.4-1
- ubuntu questing: m17n-docs 1.8.4-1
- ubuntu resolute: m17n-docs 1.8.4-1build1
- ubuntu stonking: m17n-docs 1.8.4-1build1
- Copyright (C) 2001 Information-technology Promotion Agency (IPA)
- Copyright (C) 2001-2011 National Institute of Advanced Industrial Science and Technology (AIST)
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms