(defparameter *grammar-version* "Textbook (oct-98)")

(lkb-load-lisp (this-directory) "globals.lsp")
#+mrs(lkb-load-lisp (this-directory) "mrs-globals-ygg.lisp")
(lkb-load-lisp (this-directory) "user-fns.lsp")
(load-lkb-preferences (this-directory) "user-prefs.lsp")
(lkb-load-lisp (this-directory) "lkb-code-patches" t)
(lkb-load-lisp (this-directory) "checkpaths.lsp" t)
(load-irregular-spellings (lkb-pathname (parent-directory) "irregs.lisp"))
(read-tdl-type-files-aux
     (list (lkb-pathname (this-directory) "extra.tdl")
           (lkb-pathname (parent-directory) "semantics.tdl")
           (lkb-pathname (parent-directory) "lrule-types.tdl")
           (lkb-pathname (parent-directory) "b-type.tdl")
           (lkb-pathname (parent-directory) "grule-types.tdl")
           (lkb-pathname (parent-directory) "types.tdl"))
     (lkb-pathname (this-directory) "settings.lsp"))
(read-tdl-lex-file-aux 
     (lkb-pathname (parent-directory) "lexicon.tdl"))
(read-tdl-lex-rule-file-aux 
	(lkb-pathname (parent-directory) "arg_real-rules.tdl"))
(read-tdl-lex-rule-file-aux 
	(lkb-pathname (parent-directory) "binding.tdl"))
(read-tdl-lex-rule-file-aux 
	(lkb-pathname (parent-directory) "gap.tdl"))
(read-tdl-grammar-file-aux 
	(lkb-pathname (parent-directory) "grules.tdl"))
(read-morph-file-aux (lkb-pathname (this-directory) "inflr.tdl"))
(read-tdl-psort-file-aux 
          (lkb-pathname (parent-directory) "roots.tdl"))
(read-tdl-lex-rule-file-aux
          (lkb-pathname (parent-directory) "lrules.tdl"))
(read-tdl-parse-node-file-aux 
          (lkb-pathname (parent-directory) "parse-nodes.tdl"))

; (time (batch-check-lexicon))

