Applications/Flex

From HPC
Revision as of 11:23, 24 May 2019 by Pysdlb (talk | contribs)

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

Navigation