2020-11-03 07:15:39 +00:00
|
|
|
;;; srecode.el --- Semantic buffer evaluator. -*- lexical-binding: t -*-
|
2009-09-20 21:06:41 +00:00
|
|
|
|
2023-01-01 10:31:12 +00:00
|
|
|
;; Copyright (C) 2005-2023 Free Software Foundation, Inc.
|
2009-09-20 21:06:41 +00:00
|
|
|
|
|
|
|
;; Author: Eric M. Ludlam <zappo@gnu.org>
|
|
|
|
;; Keywords: codegeneration
|
2013-01-31 19:58:56 +00:00
|
|
|
;; Version: 1.2
|
2009-09-20 21:06:41 +00:00
|
|
|
|
|
|
|
;; This file is part of GNU Emacs.
|
|
|
|
|
|
|
|
;; GNU Emacs is free software: you can redistribute it and/or modify
|
|
|
|
;; it under the terms of the GNU General Public License as published by
|
|
|
|
;; the Free Software Foundation, either version 3 of the License, or
|
|
|
|
;; (at your option) any later version.
|
|
|
|
|
|
|
|
;; GNU Emacs is distributed in the hope that it will be useful,
|
|
|
|
;; but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
;; GNU General Public License for more details.
|
|
|
|
|
|
|
|
;; You should have received a copy of the GNU General Public License
|
2017-09-13 22:52:52 +00:00
|
|
|
;; along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>.
|
2009-09-20 21:06:41 +00:00
|
|
|
|
|
|
|
;;; Commentary:
|
|
|
|
;;
|
|
|
|
;; Semantic does the job of converting source code into useful tag
|
|
|
|
;; information. The set of `semantic-format-tag' functions has one
|
|
|
|
;; function that will create a prototype of a tag, which has severe
|
|
|
|
;; issues of complexity (in the format tag file itself) and inaccuracy
|
|
|
|
;; (for the purpose of C++ code.)
|
|
|
|
;;
|
|
|
|
;; Contemplation of the simplistic problem within the scope of
|
|
|
|
;; semantic showed that the solution was more complex than could
|
2011-11-03 20:03:45 +00:00
|
|
|
;; possibly be handled in semantic/format.el. Semantic Recode, or
|
2009-09-20 21:06:41 +00:00
|
|
|
;; srecode is a rich API for generating code out of semantic tags, or
|
|
|
|
;; recoding the tags.
|
|
|
|
;;
|
|
|
|
;; See the srecode manual for specific details.
|
|
|
|
|
2022-08-12 13:35:18 +00:00
|
|
|
;;; Code:
|
|
|
|
|
2009-09-20 21:06:41 +00:00
|
|
|
(require 'eieio)
|
|
|
|
(require 'mode-local)
|
2009-11-03 21:45:31 +00:00
|
|
|
(load "srecode/loaddefs" nil 'nomessage)
|
2009-09-20 21:06:41 +00:00
|
|
|
|
2013-01-31 19:58:56 +00:00
|
|
|
(defvar srecode-version "1.2"
|
2009-09-20 21:06:41 +00:00
|
|
|
"Current version of the Semantic Recoder.")
|
2022-08-12 13:35:18 +00:00
|
|
|
(make-obsolete-variable 'srecode-version 'emacs-version "29.1")
|
2009-09-20 21:06:41 +00:00
|
|
|
|
|
|
|
(defgroup srecode nil
|
|
|
|
"Semantic Recoder."
|
2010-02-16 14:35:45 +00:00
|
|
|
:group 'extensions
|
2009-09-20 21:06:41 +00:00
|
|
|
:group 'tools)
|
|
|
|
|
|
|
|
(provide 'srecode)
|
|
|
|
|
|
|
|
;;; srecode.el ends here
|