Difference between revisions of "Applications/Flex"
From HPC
MSummerbell (talk | contribs) (Created page with "__TOC__ ==Application Details== *Description: Flex (Fast Lexical Analyser) is a lexical analysis generator, which generates scanners, programs which recognise lexical pattern...") |
m (→Next Steps) |
||
(4 intermediate revisions by 2 users 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> | ||
− | == | + | |
− | [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