Difference between revisions of "Applications/Flex"

From HPC
Jump to: navigation , search
m
m
Line 2: Line 2:
  
 
==Application Details==
 
==Application Details==
*Description: Flex (Fast Lexical Analyser) is a lexical analysis generator, which generates scanners, programs which recognise lexical patterns in text.
+
*Description: Flex (Fast Lexical Analyser) is a lexical analysis generator, which generates scanners, and programs which recognise lexical patterns in text.
 
*Version: 2.6.0
 
*Version: 2.6.0
 
*Modules: flex/2.6.0
 
*Modules: flex/2.6.0
Line 17: Line 17:
 
[username@login01 ~]$ ./a.out
 
[username@login01 ~]$ ./a.out
 
</pre>
 
</pre>
==Further Information==
+
 
 +
==Next Steps==
  
 
[https://github.com/westes/flex Flex]
 
[https://github.com/westes/flex Flex]

Revision as of 11:49, 15 November 2022

Application Details

  • Description: Flex (Fast Lexical Analyser) is a lexical analysis generator, which generates scanners, and 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

Next Steps

Flex

Navigation