                              AFLEX

## AFLEX

Ada Lexical Analyser Generator

## BUILD

     - get aflex from http://sourceforge.net/projects/p2ada
     - go to aflex directory
     - run "gnatmake aflex"
     - move the executable in a reachable directory

## USAGE

$ aflex file.l

Generated files file_io.a file_dfa.a file.a
Use .a files in GNAT with gnatchop

## OPTIONS

  -v  dump statistics
  -d  make a "debug" scanner
  -T  trace processing
  -s  suppress the default rule
  -I  generate an interactive scanner
  -i  generate a case-insensitive scanner
  -ce use equivalence classes
  -cf flag don't compress the DFA state table
  -cm flag use meta-equivalence classes
  -L  doesn't generate #line directives
  -p  generate a report relating to scanner performance
  -b  generate "lex.backtrack" file listing backtracking states
  -E  indicate whether or not the aflex generated codes will be used by Ayacc extension.
      Ayacc extension has more power in error recovery.


## DOC

See aflex_user_man.pdf
Get help from http://sourceforge.net/projects/p2ada

## REALEASE NOTES

version 1.4a

## LICENCE

-- Copyright (c) 1990 Regents of the University of California.
-- All rights reserved.
-- Redistribution and use in source and binary forms are permitted
-- provided that the above copyright notice and this paragraph are
-- duplicated in all such forms and that any documentation,
-- advertising materials, and other materials related to such
-- distribution and use acknowledge that the software was developed
-- by the University of California, Irvine.  The name of the
-- University may not be used to endorse or promote products derived
-- from this software without specific prior written permission.
-- THIS SOFTWARE IS PROVIDED ``AS IS'' AND WITHOUT ANY EXPRESS OR
-- IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
-- WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.

