

/*

Definitions for the term-based system

*/

:- eccs_major_module(wocgraph,
		    "Mike's grammar for word order constraints Wed Jan 23 17:01:33 1991", 
		    '../Mike', 'load.pl', 
		    [rules, lexical_rules, templates, words]).

:- eccs_new_file_type(rules, ".rule", eccs_term_reader, mike_rule_compiler, [rule, lp_statement], 
				true, true, local, many).
:- eccs_new_file_type(lexical_rules, ".lr", eccs_term_reader, mike_rule_compiler, [lexical_rule], 
				true, true, local, many).
:- eccs_new_file_type(templates, ".tem", eccs_term_reader, mike_template_compiler, [template], 
				true, true, local, many).
:- eccs_new_file_type(words, ".lex", eccs_term_reader, mike_lex_compiler, [lexical_entry], 
				true, true, global, many).
:- eccs_new_file_type(path_abbreviations, ".abb", eccs_term_reader, eccs_path_abbreviation, [path_abbreviation], 
				true, true, global, many).

:- eccs_new_object_type(path_abbreviation, single).
:- eccs_new_object_type(lexical_entry, multiple, mike_print_lexical_entry).
:- eccs_new_object_type(template,  multiple, mike_print_template).
:- eccs_new_object_type(lexical_rule,  multiple, mike_print_lexical_rule).
:- eccs_new_object_type(rule,  multiple, mike_print_grammar_rule).
:- eccs_new_object_type(lp_statement,  multiple, mike_print_grammar_rule).

:- eccs_profuse_definition([lexical_entry, template]).


:- eccs_module_dependency(path_abbreviations < words).
:- eccs_module_dependency(path_abbreviations < rules).
:- eccs_module_dependency(path_abbreviations < templates).
:- eccs_module_dependency(path_abbreviations < lexical_rules).

:- eccs_hidden_types(['DUMMY']).
