Added reload/0, to make project, reload examples set easily.
authorYeGoblynQueenne@splinter <ep50@uni.brighton.ac.uk>
Tue, 30 Aug 2016 06:48:12 +0000 (09:48 +0300)
committerYeGoblynQueenne@splinter <ep50@uni.brighton.ac.uk>
Tue, 30 Aug 2016 06:48:12 +0000 (09:48 +0300)
grammar_learning/load_configuration.pl

index baadfa7..9140370 100644 (file)
@@ -1,5 +1,6 @@
 :-module(load_configuration, [examples_module/1
                             ,language_module/1
+                            ,reload/0
                             ,reconfigure/0
                             ,register_world/3]).
 
           ,language_module/1.
 
 
+%!     reload is det.
+%
+%      Reconsult modified files and reload examples module.
+%
+%      Use this to reload the project after editing configuration
+%      options in configuration module.
+%
+%      Just a handy shortcut to:
+%      ==
+%      ?- make, [grammar_learning(examples_set)].
+%      ==
+%
+reload:-
+       make
+       ,[grammar_learning(examples_set)].
+
+
+
 %!     reconfigure is det.
 %
 %      Reload the examples and language modules.