Function: wisent-compiled-grammar

wisent-compiled-grammar is a macro defined in wisent.el.gz.

Signature

(wisent-compiled-grammar GRAMMAR &optional START-LIST)

Documentation

Return a compiled form of the LALR(1) Wisent GRAMMAR.

See wisent--compile-grammar for a description of the arguments and return value.

Source Code

;; Defined in /usr/src/emacs/lisp/cedet/semantic/wisent.el.gz
(defmacro wisent-compiled-grammar (grammar &optional start-list)
  "Return a compiled form of the LALR(1) Wisent GRAMMAR.
See `wisent--compile-grammar' for a description of the arguments
and return value."
  ;; Ensure that the grammar compiler is available.
  (require 'semantic/wisent/comp)
  (declare-function wisent-automaton-lisp-form "semantic/wisent/comp" (x))
  (declare-function wisent--compile-grammar "semantic/wisent/comp" (grm st))
  (wisent-automaton-lisp-form
   (wisent--compile-grammar grammar start-list)))