\documentclass[11pt]{article}

\usepackage{sectsty}
\usepackage{graphicx}

\usepackage{microtype}

\usepackage{rail}
\railoptions{-t -h}
\pagenumbering{gobble}

\begin{document}

\begin{rail}
foreignexp : 'ffunction' '(' signature ',' includefile ',' library')' 
          | 'fvariable' '(' type identifier ',' includefile ')' 
          | 'fconstant' '(' type identifier ',' includefile ')' ;
\end{rail}

\end{document}