\documentclass{article}

\newcommand{\intervalle}[4] {
  \mathopen{#1}
  #2
  \mathpunct{};
  #3
  \mathclose{#4}
}
\newcommand{\intff}[2] {
  \intervalle
      {\left[\vphantom{#1#2}\right.}
        {#1}
        {#2}
        {\left.\vphantom{#1#2}\right]}
}
\newcommand{\intfo}[2] {
  \intervalle
      {\left[\vphantom{#1#2}\right.}
        {#1}
        {#2}
        {\left[\vphantom{#1#2}\right.}
        }
        \newcommand{\intoo}[2] {
          \intervalle
              {\left.\vphantom{#1#2}\right]}
                   {#1}
                   {#2}
                   {\left[\vphantom{#1#2}\right.}
                   }
                   \newcommand{\intof}[2] {
                     \intervalle{\left.\vphantom{#1#2}\right]}
                              {#1}
                              {#2}{\left.\vphantom{#1#2}\right]}
}

\begin{document}
Bonjour, j'\'edite en \LaTeX~!
\end{document}
