R
Ratbert
Hi,
I'm searching for a portable library, providing some sort of
parsing functionality. The library should help to encode and
decodes command phrases. Commands are plain text C-strings,
consisting of a command name and parameters (defined by parameter
name and value); e.g.:
command{param1{123}param2{ghij}param3{1.234}param4{param5{param6{x}param7{0}}}}
where
- command is the command name
- paramX are parameter names
- parameters may consist of other parameters
Background:
I need such parser for the communication between a host based library
and an embedded system, which interacts with the host via a
stream-based communication channel (TCP/IP, USB or memory mapped).
Thanks in advance,
Ratbert
I'm searching for a portable library, providing some sort of
parsing functionality. The library should help to encode and
decodes command phrases. Commands are plain text C-strings,
consisting of a command name and parameters (defined by parameter
name and value); e.g.:
command{param1{123}param2{ghij}param3{1.234}param4{param5{param6{x}param7{0}}}}
where
- command is the command name
- paramX are parameter names
- parameters may consist of other parameters
Background:
I need such parser for the communication between a host based library
and an embedded system, which interacts with the host via a
stream-based communication channel (TCP/IP, USB or memory mapped).
Thanks in advance,
Ratbert