1. 02 Dec, 2001 1 commit
  2. 26 Aug, 2001 1 commit
  3. 16 Jul, 2001 1 commit
  4. 18 Jun, 2001 1 commit
  5. 29 Nov, 2000 1 commit
    • Gerd Moellmann's avatar
      New commands to run ANTLR from within Emacs and · 7c66d049
      Gerd Moellmann authored
      to create Makefile rules.
      (antlr-tool-command): New user option.
      (antlr-ask-about-save): New user option.
      (antlr-makefile-specification): New user option.
      (antlr-file-formats-alist): New variable.
      (antlr-special-file-formats): New variable.
      (antlr-unknown-file-formats): New user option.
      (antlr-help-unknown-file-text): New variable.
      (antlr-help-rules-intro): New variable.
      (antlr-mode-map): Add [C-c C-r] for `antlr-run-tool'.
      (antlr-mode-menu): Add entries.
      (antlr-file-dependencies): New function.
      (antlr-directory-dependencies): New function.
      (antlr-superclasses-glibs): New function.
      (antlr-run-tool): New command.
      (antlr-makefile-insert-variable): New function.
      (antlr-insert-makefile-rules): New function.
      (antlr-show-makefile-rules): New command.
      More Emacs/XEmacs stuff.
      (antlr-no-action-keywords): New constant with value nil.
      (antlr-font-lock-keywords-alist): Use it.  Old value would break
      syntax highlighting in Emacs-21.0.
      (antlr-default-directory): Emacs/XEmacs dependend function.
      (antlr-read-shell-command): Ditto.
      (antlr-with-displaying-help-buffer): Ditto.
      imenu, parsing and highlighting changes.
      (antlr-imenu-create-index-function): Don't create extra submenus
      for definitions in different grammar classes.  It is not necessary
      for the menu and would make command `imenu' awkward to use.
      (antlr-skip-file-prelude): With ANTLR-2.7+, you can specify named
      header actions and more than one.
      (antlr-font-lock-tokendef-face): Changed color.
      (antlr-font-lock-tokenref-face): Changed color.
      (antlr-font-lock-additional-keywords): Also highlight lowercase.
      (antlr-mode-syntax-table): New variable.
      (antlr-mode): Populate and use it instead `java-mode-syntax-table'.
      (antlr-with-syntax-table): Don't copy syntax table.
      Minor changes: language setting.
      (antlr-language-alist): The value for file option "language" can
      be both an identifier and a string.
      Reported by Rajesh Radhakrishnan <radhakrs@email.uc.edu>.
      (antlr-language-limit-n-regexp): Change accordingly.
      Minor changes: tabs, hiding.
      (antlr-tab-offset-alist): Set `indent-tabs-mode' to nil instead t.
      (antlr-action-visibility): Also allow value nil to also hide the
      braces.  Renamed from `antlr-tiny-action-length'.
      Suggested by Jay@aol.com.
      (antlr-hide-actions): Change accordingly.  Hide line if completely
      hidden action is on a line of its own.
  6. 29 May, 2000 1 commit
    • Gerd Moellmann's avatar
      New commands: hide/unhide actions, · 95932ad0
      Gerd Moellmann authored
      upcase/downcase literals.
      (antlr-tiny-action-length): New user option.
      (antlr-hide-actions): New command.  Suggested by
      Bjoern Mielenhausen <Bjoern.Mielenhausen@sap.com>.
      (antlr-mode-map): New binding [C-c C-v].
      (antlr-mode-menu): New entries.
      (antlr-downcase-literals): New command.
      (antlr-upcase-literals): Ditto.
      Minor changes: indendation, mode-name.
      (antlr-indent-line): Indent cpp directive at column 0.
      (antlr-mode): Use mode-name prefix "Antlr." instead of "Antlr/".
      XEmacs bug workaround, XEmacs hint.
      (antlr-font-lock-additional-keywords): Workaround for intentional
      bug in XEmacs version of font-lock.
      (antlr-mode): Set symbol property `mode-name' to "Antlr".  Could
      be used by a smarter version of `buffers-menu-grouping-function'.
  7. 21 Dec, 1999 1 commit
    • Gerd Moellmann's avatar
      Version 1.2 is released. · e33e080c
      Gerd Moellmann authored
      (antlr): This package has a web page.
      Menu/keymap additions for commenting/uncommenting
      regions.  Suggested by Dale Davis <Dale_Davis@securify.com>.
      (antlr-mode-map): New binding [C-c C-c].
      (antlr-mode-menu): New entries.
      Respect Emacs conventions.
      ((require 'cl)): Only use during compilation.
      (antlr-language-for-option): New function to avoid using `find'.
      (antlr-mode): Use it.
      (antlr-with-syntax-table): Define new instead using XEmacs' one.
      (antlr-imenu-create-index-function): Change accordingly.
      (antlr-inside-rule-p): Ditto.
      (antlr-end-of-rule): Ditto.
      (antlr-end-of-body): Ditto.
      (antlr-beginning-of-rule): Ditto.
      (antlr-indent-line): Ditto.
      Really use `antlr-tab-offset-alist'.
      (antlr-set-tabs): Don't use hard-coded values.
      Minor navigation changes.  Not perfect, but this
      won't be possible without a huge time penalty.
      (antlr-skip-exception-part): Be more specific.
      (antlr-skip-file-prelude): Don't skip action prelude of next rule.
      Renamed from `antlr-skip-grammar-header'.
      (antlr-next-rule): Change accordingly.
      (antlr-end-of-body): Ditto.  Better error message.
      (antlr-beginning-of-body): Better error message.
      (antlr-imenu-create-index-function): Skip rule action prelude.
      Minor syntax highlighting changes.
      (antlr-font-lock-default-face): Deletia.
      (antlr-font-lock-tokendef-face): Changed color.
      (antlr-font-lock-tokenref-face): Changed color.
      (antlr-font-lock-literal-face): Changed color.
      (antlr-font-lock-additional-keywords): Minor changes.
  8. 22 Nov, 1999 1 commit