True with on correction, they can *generate code* that "can be made to output=20 anything you want in response to an input stream". In Carlos case, this can be used compile off line the rules from a rule oriented language he defines to the actual run time representation (either code or data). Tal > -----Original Message----- > From: pic microcontroller discussion list=20 > [mailto:PICLIST@MITVMA.MIT.EDU] On Behalf Of Ofer Saferman > Sent: Wednesday, May 28, 2003 11:11 AM > To: PICLIST@MITVMA.MIT.EDU > Subject: Re: [PIC]: Parser >=20 >=20 > Hi, >=20 > Lex and Yacc are general parsers and can be made to output=20 > anything you want in response to an input stream. I think=20 > there is a version for Windows that works in DOS console=20 > mode. Try maybe simtelnet. >=20 > *********** REPLY SEPARATOR *********** >=20 > On 28/05/2003 at 10:41 Spehro Pefhany wrote: >=20 > >At 04:28 PM 5/28/2003 +0200, you wrote: > >>Hello: > >> > >>I want to implement a 'action table' stored in eeprom. PIC=20 > reads the=20 > >>table in order to execute 'actions'. Example of an action:=20 > If ((Var1 &=20 > >>Var2)&(Var3<0x0C)) Then DoSomething. > >> > >>=BFSomeone knows where could I find a Lex&Yacc to do a parser=20 > for PIC18? > > > >Lex and Yacc (bison, flex, PCCS, etc.) just output vanilla C=20 > code, but=20 > >it's not likely to be ideal for microcontrollers. > > > >Best regards, > > > >Spehro Pefhany --"it's the network..." "The Journey is the > >reward" > >speff@interlog.com Info for manufacturers: > >http://www.trexon.com > >Embedded software/hardware/analog Info for designers:=20 > >http://www.speff.com > > > >-- > >http://www.piclist.com hint: The list server can filter out=20 > subtopics=20 > >(like ads or off topics) for you. See http://www.piclist.com/#topics >=20 >=20 > ~~~~~~~~~~~oOo~~~~~~~~~~~ > Ofer Safeman, M. Sc. > Senior Design Engineer >=20 > Paragon Communications > 6 Pal-Yam > Haifa, 33095 > ISRAEL > Phone: +972-4-8642775 > Fax: +972-4-8642737 > E-Mail: ofer@paragoncommtech.com >=20 > -- > http://www.piclist.com hint: The list server can filter out=20 > subtopics (like ads or off topics) for you. See=20 http://www.piclist.com/#topics -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics