Difference between revisions of "Applications/Flex"

From HPC
Jump to: navigation , search
m (MSummerbell moved page Flex to Applications/Flex without leaving a redirect)
m (Next Steps)
 
(3 intermediate revisions by the same user not shown)
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==
+
 
[https://github.com/westes/flex Flex]
+
==Next Steps==
 +
 
 +
*[https://github.com/westes/flex Flex]
 +
 
 +
{{Modulepagenav}}

Latest 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





Modules | Main Page | Further Topics