@@ -625,9 +625,25 @@ It is also possible to use gui. Use the following command extra/docker/docker-ag
This chapter mostly focuses on the description of the current status of the command line interface so-called aql. The command line interface was created to replace the interface represented by multiple binaries. The command line interface uses the abstraction module and registered algorithms. The algorithms are available to be called with appropriate arguments. The language of the command line interface is similar to bash, featuring subqueries and pipes.
\section{Execution parameters}
The query language shell binary accepts the following parameters:
\begin{description}
\item [-c] allows execution of a single command
\item [-f] executes commands from a file
\item [-e] sets an enviroment variable
\item [-i] open interactive mode
\end{description}
The default behavior of the shell binary is to open the interactive mode. The default behavior is disabled if any of -c or -f is specifies. The shell binary will stay in interactive mode if -i is used with -c or -f parameter.
The -c, -f and -i parameters are executed in order of apperance. The environment variables are set up before any command is executed.
Any quit command executed from parameter, a file, or from interactive shell stops the complete sequence of execution plan.
\section{Language description}
The language is described by syntax similar to EBNF. The grammar's initial symbol is 'parse'. The terminal symbols are in uppercase, nonterminals in lowercase. The terminal symbols starting with KW_ prefix represent nonreserved keywords of values equal to what is after the underscore. Integer is a sequence of digits; identifier is a letter followed by letters and digits and string is double-quoted character sequence. The terminal symbol end is a special terminal symbol representing the end of the input.
The language is described by syntax similar to EBNF. The grammar's initial symbol is 'parse'. The terminal symbols are in uppercase, nonterminals in lowercase. The terminal symbols starting with KW\_ prefix represent nonreserved keywords of values equal to what is after the underscore. Integer is a sequence of digits; identifier is a letter followed by letters and digits and string is double-quoted character sequence. The terminal symbol end is a special terminal symbol representing the end of the input.