First of all it's necessary to extract binary files into any directory. On the machine must be installed Java Runtime Environment (JRE) version 1.5.0 or later. Application may work on earlier version of JRE. It's recommended to add to envinronment variable JRE bin directory. To execute Scanner it's necessary write in command line:

java Scanner file_name, where file_name is path to the file which contains code program to scan., example: code.txt, c:\stud\code.txt etc.

Result of the scan is written to the file wynik.txt. To program test it's added three files contain example code of language which it's defined in BNF document.