Difference between revisions of "Applications/Bison"

From HPC
Jump to: navigation , search
m
(added example and moved description downward)
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
 
==Application Details==
 
==Application Details==
*Description: Bison, is a parser generator that is part of the GNU Project. Bison reads a specification of a context-free language, warns about any parsing ambiguities, and generates a parser (either in C, C++, or Java) which reads sequences of tokens and decides whether the sequence conforms to the syntax specified by the grammar
+
*Description: Bison, is a parser generator that is part of the GNU Project.  
 
*Version: 3.0.4
 
*Version: 3.0.4
 
*Modules: bison/3.0.4
 
*Modules: bison/3.0.4
Line 8: Line 8:
  
 
==Usage==
 
==Usage==
 +
Bison reads a specification of a context-free language, warns about any parsing ambiguities, and generates a parser (either in C, C++, or Java) which reads sequences of tokens and decides whether the sequence conforms to the syntax specified by the grammar.
 
===Load Module===
 
===Load Module===
 
<pre style="background-color: #000000; color: white; border: 2px solid black; font-family: monospace, sans-serif;">
 
<pre style="background-color: #000000; color: white; border: 2px solid black; font-family: monospace, sans-serif;">
 
[username@login01 ~]$ module add bison/3.0.4
 
[username@login01 ~]$ module add bison/3.0.4
 +
</pre>
 +
 +
===Run Bison===
 +
<pre style="background-color: #000000; color: white; border: 2px solid black; font-family: monospace, sans-serif;">
 +
[username@login01 ~]$ bison filename.y
 
</pre>
 
</pre>
  
 
==Next Steps==
 
==Next Steps==
[https://www.gnu.org/software/bison/ GNU Bison]
+
*[https://www.gnu.org/software/bison/ GNU Bison]
 
 
==Navigation==
 
  
* [[Main_Page|Home]]
+
{{Modulepagenav}}
* [[Applications|Application support]] *
 
* [[General|General]]
 
* [[Programming|Programming support]]
 

Latest revision as of 14:42, 16 November 2022

Application Details

  • Description: Bison, is a parser generator that is part of the GNU Project.
  • Version: 3.0.4
  • Modules: bison/3.0.4
  • License: GNU Licence

Usage

Bison reads a specification of a context-free language, warns about any parsing ambiguities, and generates a parser (either in C, C++, or Java) which reads sequences of tokens and decides whether the sequence conforms to the syntax specified by the grammar.

Load Module

[username@login01 ~]$ module add bison/3.0.4

Run Bison

[username@login01 ~]$ bison filename.y

Next Steps





Modules | Main Page | Further Topics