SourceFiles.org - Use the Source, Luke
Home | Register | News | Forums | Guide | MyLinks | Bookmark

Related Sites

Latest News
  General News
  Reviews
  Press Releases
  Software
  Hardware
  Security
  Tutorials
  Off Topic


Back to files

This is a quick hack to translate a FLEX source file into a SHIFT file. It is invoked as
flex2shift filename
It assumes that the list of input patterns is in a file called filename.l and produces a file called filename.shift. The SHIFT file implements a CFSM that takes a single bit input event stream and returns the regex index as the value of the single output event, present whenever the expression is recognized.


Other Sites

Discussion Groups
  Beginners
  Distributions
  Networking / Security
  Software
  PDAs

About | FAQ | Privacy | Awards | Contact
Comments to the webmaster are welcome.
Copyright 2006 Sourcefiles.org All rights reserved.