At 03:55 PM 5/28/2003 -0700, you wrote: >Carlos, what are the requirements from your systems, are the rules >static and set once or are they dynamic and can change at runtime ? > >If they are static, you want to do as much as possible off line and only >save a compiled version of the rules conditions and actions. This can be >represented as data (using the proper interpreter) or as code (more >efficient and probably simpler). In both cases, you can generate them by >hand or using some compiler for a rule language you can define (and >implement using Lex, Yacc, JavaCC etc). Maybe the parser/lexical analyzer should emit tokens for the EEPROM. 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: http://www.speff.com -- 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