Bootstrapping infrastructure set up.
[cl-opossum.git] / bootstrap.lisp
blob841101759e29776b3df3e220e2ee43c5a1adb235
1 ;;; -*- Mode: Lisp; Syntax: ANSI-Common-Lisp; Base: 10; -*-
2 ;;;
3 ;;; bootstrap.lisp --- Invoke magic to create pegparser.lisp source
5 ;; Copyright (C) 2008 Utz-Uwe Haus <lisp@uuhaus.de>
6 ;; $Id$
7 ;; This code is free software; you can redistribute it and/or modify
8 ;; it under the terms of the version 3 of the GNU General
9 ;; Public License as published by the Free Software Foundation, as
10 ;; clarified by the prequel found in LICENSE.Lisp-GPL-Preface.
12 ;; This code is distributed in the hope that it will be useful, but
13 ;; without any warranty; without even the implied warranty of
14 ;; merchantability or fitness for a particular purpose. See the GNU
15 ;; Lesser General Public License for more details.
17 ;; Version 3 of the GNU General Public License is in the file
18 ;; LICENSE.GPL that was distributed with this file. If it is not
19 ;; present, you can access it from
20 ;; http://www.gnu.org/copyleft/gpl.txt (until superseded by a
21 ;; newer version) or write to the Free Software Foundation, Inc., 59
22 ;; Temple Place, Suite 330, Boston, MA 02111-1307 USA
24 ;; Commentary:
26 ;;
28 ;;; Code:
32 (in-package #:opossum-system)
35 (eval-when (:compile-toplevel :load-toplevel :execute)
36 (format *trace-output* ";; bootstrap.lisp is creating pegparser.lisp~%")
37 (opossum:generate-parser-file "opossum.peg"
38 (or (find-package 'xyzzy)
39 (make-package 'xyzzy)) ;; will become #:opossum
40 "pegparser.lisp")
41 (format *trace-output* ";; done creating pegparser.lisp~%"))