Difference between revisions of "Applications/Flex"
From HPC
m (→Navigation) |
m (→Next Steps) |
||
Line 20: | Line 20: | ||
==Next Steps== | ==Next Steps== | ||
− | [https://github.com/westes/flex Flex] | + | *[https://github.com/westes/flex Flex] |
{{Modulepagenav}} | {{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