Re: Parser Theory - Using grammars to build parsers
- From: "Robert Fuchs" <nix@xxxxxx>
- Date: Tue, 11 Dec 2007 21:55:50 +0100
Which way would you go when trying to parse EDIFACT messages?
Example of an EANCOM ORDERS message see below.
(Note that I inserted a CR/LF after each segment to make it more human readable)
regards, Robert
UNB+UNOA:2+3027019680006:14+3017600144604:14+020315:1726+00000000000005++ORDERS'
UNH+00000000000001+ORDERS:D:96A:UN'
BGM+220:::COMMANDE+0040750+9'
DTM+137:20020301:102'
DTM+324:200203:610'
FTX+AAI+++PREVENIR A L?'AVANCE'
RFF+CT:30041864'
DTM+171:20020204:102'
NAD+OF+3027019770103::9'
NAD+OB+3027019680006::9'
NAD+IV+3017600144604::9'
NAD+SE+3017600144604::9'
NAD+DP+3027019770141::9++AIRAINES+1 RUE PAQUET GREUX+AIRAINES++80270'
CTA++:AIRAINES'
COM+0322294076:TE'
COM+0322293787:FX'
CUX+2:EUR:4'
PAT+1'
TDT+20++30++++K:N'
TOD++NC'
LIN+1++3598890000707:EN'
IMD+F++:::NITROR 24.15 VRAC'
QTY+21:25:TNE'
PRI+INF:139::INV'
UNS+S'
UNT+25+00000000000001'
UNZ+1+00000000000005'
.
- Prev by Date: Re: multi application
- Next by Date: Re: It it possible to redirect events?
- Previous by thread: Re: Looking for .NET EDI X12 Class for Healthcare 835,837,925,926
- Next by thread: CPU usage is high, can I know what is hogging the CPU?
- Index(es):