Signed-off-by: Djomanix <johan.kayser@viacesi.fr>
#
# First imports the pnacl module
# Then redefines the 'handle_dictionary' method
-# Finally creates a converter and initializes it
+# Creates a converter and initializes it
+# Finally checks for dictionaries
import pnacl
end
end
-var converter = new Converter
-converter.initialize # Needed to correctly set up Nit control over the Pepper API
+redef fun app do return once new Converter
+app.initialize # Needed to correctly set up Nit control over the Pepper API
+app.check_dictionary # Wait for dictionaries