Applications/Flex

From HPC
Revision as of 12:11, 15 March 2017 by MSummerbell (talk | contribs) (Created page with "__TOC__ ==Application Details== *Description: Flex (Fast Lexical Analyser) is a lexical analysis generator, which generates scanners, programs which recognise lexical pattern...")

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation , search

Application Details

  • Description: Flex (Fast Lexical Analyser) is a lexical analysis generator, which generates scanners, programs which recognise lexical patterns in text.
  • Version: 2.6.0
  • Modules: flex/2.6.0
  • Licence: GNU Licence

Usage Examples

Load Module

[username@login01 ~]$ module add flex/2.6.0

Generate Scanner

[username@login01 ~]$ flex test*.lex
[username@login01 ~]$ gcc lex.yy.c -lfl
[username@login01 ~]$ ./a.out

Further Information

Flex