Difference between revisions of "Applications/Flex"

From HPC
Jump to: navigation , search
m
m (Navigation)
Line 22: Line 22:
 
[https://github.com/westes/flex Flex]
 
[https://github.com/westes/flex Flex]
  
==Navigation==
+
{{Modulepagenav}}
 
 
* [[Main_Page|Home]]
 
* [[Applications|Application support]] *
 
* [[General|General]]
 
* [[Programming|Programming support]]
 

Revision as of 10:43, 16 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





Modules | Main Page | Further Topics