Renamed cxx and lua packages under com.informatimago.languages.

Pascal J. Bourguignon [2013-06-10 23:20]
Renamed cxx and lua packages under com.informatimago.languages.
Filename
common-lisp/cesarum/lisp.indentations
languages/cxx/com.informatimago.common-lisp.cxx.asd
languages/cxx/com.informatimago.languages.cxx.asd
languages/cxx/cxx.lisp
languages/lua/com.informatimago.languages.lua.asd
languages/lua/com.informatimago.lua.asd
languages/lua/lua-parser.lisp
languages/lua/lua-scanner.lisp
languages/lua/package.lisp
diff --git a/common-lisp/cesarum/lisp.indentations b/common-lisp/cesarum/lisp.indentations
new file mode 100644
index 0000000..90da9ff
--- /dev/null
+++ b/common-lisp/cesarum/lisp.indentations
@@ -0,0 +1,5 @@
+;; -*- mode:lisp -*-
+
+(1 collecting-result
+   defenum)
+
diff --git a/languages/cxx/com.informatimago.common-lisp.cxx.asd b/languages/cxx/com.informatimago.common-lisp.cxx.asd
deleted file mode 100644
index cd99cae..0000000
--- a/languages/cxx/com.informatimago.common-lisp.cxx.asd
+++ /dev/null
@@ -1,68 +0,0 @@
-;;;; -*- mode:lisp;coding:utf-8 -*-
-;;;;**************************************************************************
-;;;;FILE:               com.informatimago.common-lisp.cxx.asd
-;;;;LANGUAGE:           Common-Lisp
-;;;;SYSTEM:             Common-Lisp
-;;;;USER-INTERFACE:     NONE
-;;;;DESCRIPTION
-;;;;
-;;;;    ASD file to load the com.informatimago.common-lisp.cxx library.
-;;;;
-;;;;AUTHORS
-;;;;    <PJB> Pascal J. Bourguignon <pjb@informatimago.com>
-;;;;MODIFICATIONS
-;;;;    2010-10-31 <PJB> Created this .asd file.
-;;;;BUGS
-;;;;LEGAL
-;;;;    AGPL3
-;;;;
-;;;;    Copyright Pascal J. Bourguignon 2010 - 2012
-;;;;
-;;;;    This program is free software: you can redistribute it and/or modify
-;;;;    it under the terms of the GNU Affero General Public License as published by
-;;;;    the Free Software Foundation, either version 3 of the License, or
-;;;;    (at your option) any later version.
-;;;;
-;;;;    This program 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 Affero General Public License for more details.
-;;;;
-;;;;    You should have received a copy of the GNU Affero General Public License
-;;;;    along with this program.  If not, see http://www.gnu.org/licenses/
-;;;;**************************************************************************
-
-(asdf:defsystem :com.informatimago.common-lisp.cxx
-
-    ;; system attributes:
-
-    :description "Restricted C++ parser, used just to analyze the call graph of C++ functions and methods."
-
-    :author     "Pascal J. Bourguignon <pjb@informatimago.com>"
-
-    :maintainer "Pascal J. Bourguignon <pjb@informatimago.com>"
-
-    :licence "AGPL3"
-
-
-    ;; component  attributes:
-
-    :name "Informatimago partial C++ Parser"
-
-    :version "1.2.1"
-
-    :properties ((#:author-email                   . "pjb@informatimago.com")
-                 (#:date                           . "Autumn 2010")
-                 ((#:albert #:output-dir)          . "/tmp/documentation/com.informatimago.common-lisp.cxx/")
-                 ((#:albert #:formats)             . ("docbook"))
-                 ((#:albert #:docbook #:template)  . "book")
-                 ((#:albert #:docbook #:bgcolor)   . "white")
-                 ((#:albert #:docbook #:textcolor) . "black"))
-
-    #+asdf-unicode :encoding #+asdf-unicode :utf-8
-
-    :depends-on ("com.informatimago.common-lisp.cesarum")
-
-    :components ((:file "cxx" :depends-on ())))
-
-;;;; THE END ;;;;
diff --git a/languages/cxx/com.informatimago.languages.cxx.asd b/languages/cxx/com.informatimago.languages.cxx.asd
new file mode 100644
index 0000000..519c2fc
--- /dev/null
+++ b/languages/cxx/com.informatimago.languages.cxx.asd
@@ -0,0 +1,68 @@
+;;;; -*- mode:lisp;coding:utf-8 -*-
+;;;;**************************************************************************
+;;;;FILE:               com.informatimago.languages.cxx.asd
+;;;;LANGUAGE:           Common-Lisp
+;;;;SYSTEM:             Common-Lisp
+;;;;USER-INTERFACE:     NONE
+;;;;DESCRIPTION
+;;;;
+;;;;    ASD file to load the com.informatimago.languages.cxx library.
+;;;;
+;;;;AUTHORS
+;;;;    <PJB> Pascal J. Bourguignon <pjb@informatimago.com>
+;;;;MODIFICATIONS
+;;;;    2010-10-31 <PJB> Created this .asd file.
+;;;;BUGS
+;;;;LEGAL
+;;;;    AGPL3
+;;;;
+;;;;    Copyright Pascal J. Bourguignon 2010 - 2012
+;;;;
+;;;;    This program is free software: you can redistribute it and/or modify
+;;;;    it under the terms of the GNU Affero General Public License as published by
+;;;;    the Free Software Foundation, either version 3 of the License, or
+;;;;    (at your option) any later version.
+;;;;
+;;;;    This program 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 Affero General Public License for more details.
+;;;;
+;;;;    You should have received a copy of the GNU Affero General Public License
+;;;;    along with this program.  If not, see http://www.gnu.org/licenses/
+;;;;**************************************************************************
+
+(asdf:defsystem :com.informatimago.languages.cxx
+
+    ;; system attributes:
+
+    :description "Restricted C++ parser, used just to analyze the call graph of C++ functions and methods."
+
+    :author     "Pascal J. Bourguignon <pjb@informatimago.com>"
+
+    :maintainer "Pascal J. Bourguignon <pjb@informatimago.com>"
+
+    :licence "AGPL3"
+
+
+    ;; component  attributes:
+
+    :name "Informatimago partial C++ Parser"
+
+    :version "1.2.1"
+
+    :properties ((#:author-email                   . "pjb@informatimago.com")
+                 (#:date                           . "Autumn 2010")
+                 ((#:albert #:output-dir)          . "/tmp/documentation/com.informatimago.languages.cxx/")
+                 ((#:albert #:formats)             . ("docbook"))
+                 ((#:albert #:docbook #:template)  . "book")
+                 ((#:albert #:docbook #:bgcolor)   . "white")
+                 ((#:albert #:docbook #:textcolor) . "black"))
+
+    #+asdf-unicode :encoding #+asdf-unicode :utf-8
+
+    :depends-on ("com.informatimago.common-lisp.cesarum")
+
+    :components ((:file "cxx" :depends-on ())))
+
+;;;; THE END ;;;;
diff --git a/languages/cxx/cxx.lisp b/languages/cxx/cxx.lisp
index 0dac6ac..700caba 100644
--- a/languages/cxx/cxx.lisp
+++ b/languages/cxx/cxx.lisp
@@ -36,7 +36,7 @@
 ;;;;****************************************************************************

 (in-package "COMMON-LISP-USER")
-(defpackage "COM.INFORMATIMAGO.COMMON-LISP.CXX.CXX"
+(defpackage "COM.INFORMATIMAGO.LANGUAGES.CXX.CXX"
   (:use "COMMON-LISP"
         "COM.INFORMATIMAGO.COMMON-LISP.CESARUM.GRAPH" )
   (:export "BUILD-METHOD-CALL-GRAF" "PARSE" "C++PROGRAM")
@@ -68,7 +68,7 @@ License:
     If not, see <http://www.gnu.org/licenses/>

 "))
-(in-package "COM.INFORMATIMAGO.COMMON-LISP.CXX.CXX")
+(in-package "COM.INFORMATIMAGO.LANGUAGES.CXX.CXX")



@@ -669,7 +669,7 @@ FILE-NAME-LIST:     A list of file pathnames, C++ sources and headers."))


 #||
-(use-package          "COM.INFORMATIMAGO.COMMON-LISP.CXX.CXX")
+(use-package          "COM.INFORMATIMAGO.LANGUAGES.CXX.CXX")

 (setq source (make-instance 'File-Filter))
 (set-File source (open "/home/pascal/firms/bauhaus/hermstedt/cme_stutel/generic/CME.cpp"))
diff --git a/languages/lua/com.informatimago.languages.lua.asd b/languages/lua/com.informatimago.languages.lua.asd
new file mode 100644
index 0000000..4bd8021
--- /dev/null
+++ b/languages/lua/com.informatimago.languages.lua.asd
@@ -0,0 +1,78 @@
+;;;; -*- mode:lisp;coding:utf-8 -*-
+;;;;**************************************************************************
+;;;;FILE:               com.informatimago.lua.asd
+;;;;LANGUAGE:           Common-Lisp
+;;;;SYSTEM:             Common-Lisp
+;;;;USER-INTERFACE:     NONE
+;;;;DESCRIPTION
+;;;;
+;;;;    Defines the com.informatimago.lua system.
+;;;;
+;;;;AUTHORS
+;;;;    <PJB> Pascal J. Bourguignon <pjb@informatimago.com>
+;;;;MODIFICATIONS
+;;;;    2012-02-24 <PJB> Added this header.
+;;;;BUGS
+;;;;LEGAL
+;;;;    AGPL3
+;;;;
+;;;;    Copyright Pascal J. Bourguignon 2012 - 2012
+;;;;
+;;;;    This program is free software: you can redistribute it and/or modify
+;;;;    it under the terms of the GNU Affero General Public License as published by
+;;;;    the Free Software Foundation, either version 3 of the License, or
+;;;;    (at your option) any later version.
+;;;;
+;;;;    This program 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 Affero General Public License for more details.
+;;;;
+;;;;    You should have received a copy of the GNU Affero General Public License
+;;;;    along with this program.  If not, see http://www.gnu.org/licenses/
+;;;;**************************************************************************
+
+(asdf:defsystem :com.informatimago.languages.lua
+
+    ;; system attributes:
+
+    :description "LUA Scanner and Parser."
+
+    :long-description "
+This system provides tools to manipulate LUA programs.
+- A LUA Scanner.
+- A LUA Parser.
+- (eventually, possibly a LUA interpreter or translator to CL).
+"
+
+    :author     "Pascal Bourguignon <pjb@informatimago.com>"
+
+    :maintainer "Pascal Bourguignon <pjb@informatimago.com>"
+
+    :licence "AGPL3"
+
+    ;; component attributes:
+
+    :name "LUA Tools."
+
+    :version "1.0.0"
+
+    :properties ((#:author-email                   . "pjb@informatimago.com")
+                 (#:date                           . "Summer 2012")
+                 ((#:albert #:output-dir)          . "../documentation/com.informatimago.lua/")
+                 ((#:albert #:formats)             . ("docbook"))
+                 ((#:albert #:docbook #:template)  . "book")
+                 ((#:albert #:docbook #:bgcolor)   . "white")
+                 ((#:albert #:docbook #:textcolor) . "black"))
+
+    #+asdf-unicode :encoding #+asdf-unicode :utf-8
+
+    :depends-on ("com.informatimago.common-lisp.cesarum"
+                 "com.informatimago.common-lisp.parser"
+                 "com.informatimago.rdp")
+
+    :components ((:file "package")
+                 (:file "lua-scanner" :depends-on ("package"))
+                 (:file "lua-parser"  :depends-on ("package" "lua-scanner"))))
+
+;;;; THE END ;;;;
diff --git a/languages/lua/com.informatimago.lua.asd b/languages/lua/com.informatimago.lua.asd
deleted file mode 100644
index 0d05c33..0000000
--- a/languages/lua/com.informatimago.lua.asd
+++ /dev/null
@@ -1,78 +0,0 @@
-;;;; -*- mode:lisp;coding:utf-8 -*-
-;;;;**************************************************************************
-;;;;FILE:               com.informatimago.lua.asd
-;;;;LANGUAGE:           Common-Lisp
-;;;;SYSTEM:             Common-Lisp
-;;;;USER-INTERFACE:     NONE
-;;;;DESCRIPTION
-;;;;
-;;;;    Defines the com.informatimago.lua system.
-;;;;
-;;;;AUTHORS
-;;;;    <PJB> Pascal J. Bourguignon <pjb@informatimago.com>
-;;;;MODIFICATIONS
-;;;;    2012-02-24 <PJB> Added this header.
-;;;;BUGS
-;;;;LEGAL
-;;;;    AGPL3
-;;;;
-;;;;    Copyright Pascal J. Bourguignon 2012 - 2012
-;;;;
-;;;;    This program is free software: you can redistribute it and/or modify
-;;;;    it under the terms of the GNU Affero General Public License as published by
-;;;;    the Free Software Foundation, either version 3 of the License, or
-;;;;    (at your option) any later version.
-;;;;
-;;;;    This program 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 Affero General Public License for more details.
-;;;;
-;;;;    You should have received a copy of the GNU Affero General Public License
-;;;;    along with this program.  If not, see http://www.gnu.org/licenses/
-;;;;**************************************************************************
-
-(asdf:defsystem :com.informatimago.lua
-
-    ;; system attributes:
-
-    :description "LUA Scanner and Parser."
-
-    :long-description "
-This system provides tools to manipulate LUA programs.
-- A LUA Scanner.
-- A LUA Parser.
-- (eventually, possibly a LUA interpreter or translator to CL).
-"
-
-    :author     "Pascal Bourguignon <pjb@informatimago.com>"
-
-    :maintainer "Pascal Bourguignon <pjb@informatimago.com>"
-
-    :licence "AGPL3"
-
-    ;; component attributes:
-
-    :name "LUA Tools."
-
-    :version "1.0.0"
-
-    :properties ((#:author-email                   . "pjb@informatimago.com")
-                 (#:date                           . "Summer 2012")
-                 ((#:albert #:output-dir)          . "../documentation/com.informatimago.lua/")
-                 ((#:albert #:formats)             . ("docbook"))
-                 ((#:albert #:docbook #:template)  . "book")
-                 ((#:albert #:docbook #:bgcolor)   . "white")
-                 ((#:albert #:docbook #:textcolor) . "black"))
-
-    #+asdf-unicode :encoding #+asdf-unicode :utf-8
-
-    :depends-on ("com.informatimago.common-lisp.cesarum"
-                 "com.informatimago.common-lisp.parser"
-                 "com.informatimago.rdp")
-
-    :components ((:file "package")
-                 (:file "lua-scanner" :depends-on ("package"))
-                 (:file "lua-parser"  :depends-on ("package" "lua-scanner"))))
-
-;;;; THE END ;;;;
diff --git a/languages/lua/lua-parser.lisp b/languages/lua/lua-parser.lisp
index be217b4..e004336 100644
--- a/languages/lua/lua-parser.lisp
+++ b/languages/lua/lua-parser.lisp
@@ -33,7 +33,7 @@
 ;;;;    along with this program.  If not, see <http://www.gnu.org/licenses/>.
 ;;;;**************************************************************************

-(in-package "COM.INFORMATIMAGO.LUA.PARSER")
+(in-package "COM.INFORMATIMAGO.LANGUAGES.LUA.PARSER")


 (defgrammar lua
diff --git a/languages/lua/lua-scanner.lisp b/languages/lua/lua-scanner.lisp
index a048bbc..dabba1b 100644
--- a/languages/lua/lua-scanner.lisp
+++ b/languages/lua/lua-scanner.lisp
@@ -42,7 +42,7 @@
 ;;;;**************************************************************************


-(in-package "COM.INFORMATIMAGO.LUA.SCANNER")
+(in-package "COM.INFORMATIMAGO.LANGUAGES.LUA.SCANNER")


 ;; We need to write a specific scanner because of long brackets. :-(
diff --git a/languages/lua/package.lisp b/languages/lua/package.lisp
index cb4ea35..6ce7872 100644
--- a/languages/lua/package.lisp
+++ b/languages/lua/package.lisp
@@ -35,7 +35,7 @@

 (in-package "COMMON-LISP-USER")

-(defpackage "COM.INFORMATIMAGO.LUA.SCANNER"
+(defpackage "COM.INFORMATIMAGO.LANGUAGES.LUA.SCANNER"
   (:use "COMMON-LISP"
         "COM.INFORMATIMAGO.COMMON-LISP.PARSER.SCANNER")
   (:export
@@ -69,10 +69,10 @@ License, or (at your option) any later version.



-(defpackage "COM.INFORMATIMAGO.LUA.PARSER"
+(defpackage "COM.INFORMATIMAGO.LANGUAGES.LUA.PARSER"
   (:use "COMMON-LISP"
         "COM.INFORMATIMAGO.COMMON-LISP.PARSER.SCANNER"
-        "COM.INFORMATIMAGO.LUA.SCANNER"
+        "COM.INFORMATIMAGO.LANGUAGES.LUA.SCANNER"
         "COM.INFORMATIMAGO.RDP")
   (:export
    )
ViewGit