\RequirePackage{fsp-lang}
\RequirePackage{IMTAcolors}

\newcommand{\fsp}[2][]{\lstinline[language=FSP,basicstyle=\ttfamily,identifierstyle=\color{blue},moredelim={**[is][\color{orange}]{/*|*/}{/*|*/}},#1]!#2!}

\lstnewenvironment{FSP}[1][]{\lstset{language=FSP, flexiblecolumns=true,basicstyle=\ttfamily,identifierstyle=\color{blue},commentstyle=\rmfamily\color{gray},moredelim={**[is][\color{orange}]{/*|*/}{/*|*/}},#1}}{}%

\newcommand{\inputFSP}[2][]{%
  \lstinputlisting[language=FSP, flexiblecolumns=true,
  basicstyle=\ttfamily,identifierstyle=\color{blue},moredelim={**[is][\color{orange}]{/*|*/}{/*|*/}},#1]{#2}%
}
