%% @author Oliver Irwin
%% 2020-08-03
\ProvidesPackage{frpseudocode}[2020/08/03 French Pseudocode 0.1.1]

%% Functions %%
\algrenewcommand\algorithmicprocedure{\textbf{procédure}}
\algrenewcommand\algorithmicfunction{\textbf{fonction}}
\algrenewcommand\algorithmicreturn{\textbf{renvoyer}}

%% Control Instructions %%
\algrenewcommand\algorithmicwhile{\textbf{Tant que}}
\algrenewcommand\algorithmicdo{\textbf{Faire}}
\algrenewcommand\algorithmicend{\textbf{Fin}}
\algrenewcommand\algorithmicfor{\textbf{Pour}}
\algrenewcommand\algorithmicforall{\textbf{Pour tout}}
\algnewcommand\algorithmicfrom{\textbf{de}}
\algnewcommand\algorithmicto{\textbf{à}}

\algrenewtext{For}[3]%
{\algorithmicfor\ #1 \algorithmicfrom #2 \algorithmicto\ #3 \algorithmicdo}

%% Conditionnals %%

\algrenewcommand\algorithmicif{\textbf{Si}}
\algrenewcommand\algorithmicelse{\textbf{Sinon}}
\algrenewcommand\algorithmicthen{\textbf{Alors}}
