Check it out, it's commercial, but it looks like a fun toy:
http://dpg.zenithlab.com/
But, in fact: for communication you do not need a complex parser.
, , .
:
- TStringList.
- , , .
. - #nexus.
- ( )
- begin - .
- DOS . , .
, , , - , :
function GetToken (var inputString: String; outputToken: String; const : TStrings; : TStrings; ParenFlag: Boolean): Boolean;
GetToken true, inputString, , . - , .
ParenFlag: True , , , . (((a, b), (c, d), (e, f))), , /.
, BNF , BNF, . , .
, /? , json xml, ?