|
|
Parsing in Embedded Systems
Hai Folks
What is Parsing... i heard from one of the folks about Parsing in
Embedded Systems and he told he uses Perl Scripts for Parsing....
|
|
0
|
|
|
|
Reply
|
svijayelex (1)
|
3/2/2010 6:02:38 AM |
|
vijay <svijayelex@gmail.com>
wibbled on Tuesday 02 March 2010 06:02
> Hai Folks
> What is Parsing... i heard from one of the folks about Parsing in
> Embedded Systems and he told he uses Perl Scripts for Parsing....
http://en.wikipedia.org/wiki/Parsing
--
Tim Watts
Managers, politicians and environmentalists: Nature's carbon buffer.
|
|
0
|
|
|
|
Reply
|
Tim
|
3/2/2010 6:25:51 AM
|
|
"vijay" <svijayelex@gmail.com> wrote in message
news:87ae76fd-3051-42c7-8dbf-b46d6d829d95@o16g2000prh.googlegroups.com...
> What is Parsing... i heard from one of the folks about Parsing in
> Embedded Systems and he told he uses Perl Scripts for Parsing....
:-)
It's an old children's party game, "Parse the parcel", AKA, "Chinese
Whispers".
Each person hears a whisper, tries to understand it, and then passes it
along as a whisper. At the end of the line, the arrived message is compared
with the original.
:-)
|
|
0
|
|
|
|
Reply
|
Who
|
3/2/2010 9:46:32 AM
|
|
On Mon, 1 Mar 2010, vijay wrote:
> Date: Mon, 1 Mar 2010 22:02:38 -0800 (PST)
> From: vijay <svijayelex@gmail.com>
> Newsgroups: comp.arch.embedded
> Subject: Parsing in Embedded Systems
>
> Hai Folks
> What is Parsing... i heard from one of the folks about Parsing in
> Embedded Systems and he told he uses Perl Scripts for Parsing....
>
Parsers can be many things, but they can be very simple. Here's a list
parser, which will use the characters in Sep to return a list of tokens
.... the Lst_t library is left as exercise for student (so as not to do
*ALL* your homework).
Lst_t *tokens ;
tokens = s_parse( "This is my string", " \t\r" ) ;
lst_dump( tokens ) ;
produces ...
This
is
my
string
Lst_t *s_parse( Str_t Str, Str_t Sep ){
Str_t p, q ;
Lst_t *x ;
if( !Str )
return( (Lst_t *) NULL ) ;
x = lst_create( 10 ) ;
p = Str ;
while( (q = (Str_t) strsep( (Str_t *) &p, Sep )) ){
if( s_length( q ) )
lst_add( x, q ) ;
}
return x ;
}
HTH,
Rob Sciuk
|
|
0
|
|
|
|
Reply
|
Spam
|
3/2/2010 5:45:53 PM
|
|
|
3 Replies
128 Views
(page loaded in 0.08 seconds)
Similiar Articles: Parsing a record - comp.lang.awkHyphen is special in a charclass when it is embedded ... Parsing a record - comp.lang.awk I needed to escape ... my $inrecord = 0; my $rxRecStart = qr{^System:}; my ... Why "Applications should not call any system-defined functions ...Simuling application with Embedded MatLab Function ... GLUT Timer Functions ... ... some functions from a command-line type thing inside the application. ... parsing system ... Problem with - comp.soft-sys.matlab> > Embedded MATLAB parsing for model "cupic_simulator"...Done > Embedded MATLAB code generation ... I am trying to implement a simple system with some data undergoing hamming ... Q.: Only one font in use, but 100 fonts embedded ... ? - comp.text ...... hundred randomly-alphanumerically-named Type 1 embedded ... >>> >>> One should note that not all of the 'WYSIWYG' systems ... need help parsing PDF documents - comp.text.pdf CID fonts ... How to separate command line args - comp.lang.rexx... arg(2) will contain nothing If I use PARSE ARG arg1 ... string - and that's where the information about embedded ... REXX was developed for operating systems that are not in ... Embed dat file into RTF document? - comp.os.ms-windows.programmer ...I know RTF docs can have such objects embedded, but I ... it is clearly a good way to hijack data into a system ... Parsing table in rtf file - comp.lang.perl.misc Word ... NTP, Unix and the 34-year itch (better read this) - comp.protocols ...Most Unix folks will not be affected, but makers of embedded systems should take note. ... 347]: synchronized to GENERIC(0), stratum=0 > 12 Jun 23:33:12 ntpd[347]: parse ... How to strip comments out of code - comp.lang.java.programmer ...... and rip out till */ However make sure you handle // embedded in ... Use a real parser.>1: // this is a one line comment>2: System.out.println ("//");Here are some more test ... GUI programming in windows - comp.lang.pascal.miscI've been working with Oberon-07 on ARM-based embedded systems and I have to admit it is ... it for your needs (eg, which libraries you want, eg tiff, png, jpg, xml parsing ... NTP GPS HP-UX 10.20 - comp.sys.hp.hpuxParsing this binary with 'strings' I can see mention of ... I understand HP-UX 10.20 is an older system, but I have ... ntpd on embedded risc - comp.protocols.time.ntp Wait 10 ... C XML library for Embedded Systems - Stack OverflowI'm working on a project for an embedded system that's using XML for getting data ... Is there a good tiny XML parser for an embedded C project? Embedded Systems: Parsing of GPS Data with PIC Microcontroller for ...This blog is dedicated to Embedded Systems and Electrical Engineering in particular and to informative articles and discussions on technology and ... 7/2/2012 7:29:35 AM
|
|
|
|
|
|
|
|
|