| [551] | 1 | ;;; -*-  Mode: Lisp; Package: Maxima; Syntax: Common-Lisp; Base: 10 -*- | 
|---|
|  | 2 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 
|---|
|  | 3 | ;;; | 
|---|
|  | 4 | ;;;  Copyright (C) 1999, 2002, 2009, 2015 Marek Rychlik <rychlik@u.arizona.edu> | 
|---|
|  | 5 | ;;; | 
|---|
|  | 6 | ;;;  This program is free software; you can redistribute it and/or modify | 
|---|
|  | 7 | ;;;  it under the terms of the GNU General Public License as published by | 
|---|
|  | 8 | ;;;  the Free Software Foundation; either version 2 of the License, or | 
|---|
|  | 9 | ;;;  (at your option) any later version. | 
|---|
|  | 10 | ;;; | 
|---|
|  | 11 | ;;;  This program is distributed in the hope that it will be useful, | 
|---|
|  | 12 | ;;;  but WITHOUT ANY WARRANTY; without even the implied warranty of | 
|---|
|  | 13 | ;;;  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the | 
|---|
|  | 14 | ;;;  GNU General Public License for more details. | 
|---|
|  | 15 | ;;; | 
|---|
|  | 16 | ;;;  You should have received a copy of the GNU General Public License | 
|---|
|  | 17 | ;;;  along with this program; if not, write to the Free Software | 
|---|
|  | 18 | ;;;  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. | 
|---|
|  | 19 | ;;; | 
|---|
|  | 20 | ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; | 
|---|
|  | 21 |  | 
|---|
|  | 22 | ;; NOTE: This file is not a part of the NGROBNER package | 
|---|
|  | 23 | ;; It defines the Lisp commands to compile and load the package | 
|---|
|  | 24 | ;; without any sophisticated system definition facility, such as ASDF. | 
|---|
| [552] | 25 | ;; Simply, load this file, to compile and load the system. | 
|---|
|  | 26 | ;; If you want to just compile, comment out the last line: (load-ngrobner) | 
|---|
| [551] | 27 |  | 
|---|
| [545] | 28 | (defvar *files* | 
|---|
|  | 29 | '("utils" "monomial" "ring" | 
|---|
| [1075] | 30 | "order" "term" "ring-and-order" "termlist" "infix" "infix-printer" "polynomial" "priority-queue" | 
|---|
| [545] | 31 | "pair-queue" "grobner-debug" "division" "criterion" "buchberger" "gebauer-moeller" | 
|---|
| [1075] | 32 | "gb-postprocessing" "grobner-wrap" "ideal" ngrobner-package" "ngrobner") | 
|---|
| [546] | 33 | "All Lisp files needed. The order of files is important!") | 
|---|
| [545] | 34 |  | 
|---|
| [543] | 35 | (defun compile-ngrobner () | 
|---|
| [546] | 36 | "Compile/load NGROBNER package files without ASDF." | 
|---|
|  | 37 | (dolist (file *files*) | 
|---|
|  | 38 | (compile-file file :verbose t :print t))) | 
|---|
|  | 39 |  | 
|---|
|  | 40 | (defun load-ngrobner () | 
|---|
| [547] | 41 | "Load NGROBNER package files without ASDF." | 
|---|
| [546] | 42 | (dolist (file *files*) | 
|---|
| [548] | 43 | (load file :verbose t :print t))) | 
|---|
| [549] | 44 |  | 
|---|
|  | 45 | (compile-ngrobner) | 
|---|
|  | 46 | (load-ngrobner) | 
|---|