aboutsummaryrefslogtreecommitdiff
path: root/projects
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2007-01-17 02:18:44 +0000
committerReid Spencer <rspencer@reidspencer.com>2007-01-17 02:18:44 +0000
commitd203342a597bff2bc896cb31b7ea8dcd4e45a425 (patch)
tree94158de0997f4ddd009fa98f593f042f2baa334d /projects
parent67bb0796ddc3e6f93de80519aa16fb661f84d1e9 (diff)
For PR1074:
Remove the projects/Stacker directory. LLVM is now free of dependency on llvm-gcc. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@33278 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'projects')
-rw-r--r--projects/Makefile7
-rw-r--r--projects/Stacker/.cvsignore4
-rw-r--r--projects/Stacker/Makefile11
-rw-r--r--projects/Stacker/Makefile.common.in21
-rw-r--r--projects/Stacker/autoconf/.cvsignore2
-rwxr-xr-xprojects/Stacker/autoconf/AutoRegen.sh18
-rw-r--r--projects/Stacker/autoconf/LICENSE.TXT24
-rw-r--r--projects/Stacker/autoconf/acinclude.m46306
-rwxr-xr-xprojects/Stacker/autoconf/config.guess1388
-rwxr-xr-xprojects/Stacker/autoconf/config.sub1489
-rw-r--r--projects/Stacker/autoconf/configure.ac79
-rw-r--r--projects/Stacker/autoconf/install-sh251
-rw-r--r--projects/Stacker/autoconf/ltmain.sh6290
-rwxr-xr-xprojects/Stacker/autoconf/mkinstalldirs101
-rwxr-xr-xprojects/Stacker/configure19278
-rw-r--r--projects/Stacker/lib/Makefile16
-rw-r--r--projects/Stacker/lib/compiler/.cvsignore4
-rw-r--r--projects/Stacker/lib/compiler/Lexer.cpp.cvs2195
-rw-r--r--projects/Stacker/lib/compiler/Lexer.l234
-rw-r--r--projects/Stacker/lib/compiler/Lexer.l.cvs234
-rw-r--r--projects/Stacker/lib/compiler/Makefile21
-rw-r--r--projects/Stacker/lib/compiler/README20
-rw-r--r--projects/Stacker/lib/compiler/StackerCompiler.cpp1806
-rw-r--r--projects/Stacker/lib/compiler/StackerCompiler.h224
-rw-r--r--projects/Stacker/lib/compiler/StackerParser.cpp.cvs1909
-rw-r--r--projects/Stacker/lib/compiler/StackerParser.h.cvs203
-rw-r--r--projects/Stacker/lib/compiler/StackerParser.y185
-rw-r--r--projects/Stacker/lib/compiler/StackerParser.y.cvs185
-rw-r--r--projects/Stacker/lib/runtime/Makefile14
-rw-r--r--projects/Stacker/lib/runtime/stacker_rt.c74
-rw-r--r--projects/Stacker/samples/Makefile40
-rw-r--r--projects/Stacker/samples/fibonacci.st6
-rw-r--r--projects/Stacker/samples/goof.st25
-rw-r--r--projects/Stacker/samples/hello.st5
-rw-r--r--projects/Stacker/samples/prime.st235
-rw-r--r--projects/Stacker/test/Makefile61
-rw-r--r--projects/Stacker/test/abs.st6
-rw-r--r--projects/Stacker/test/add.st7
-rw-r--r--projects/Stacker/test/and.st7
-rw-r--r--projects/Stacker/test/decr.st6
-rw-r--r--projects/Stacker/test/div.st6
-rw-r--r--projects/Stacker/test/drop.st6
-rw-r--r--projects/Stacker/test/drop2.st7
-rw-r--r--projects/Stacker/test/dup.st8
-rw-r--r--projects/Stacker/test/dup2.st7
-rw-r--r--projects/Stacker/test/eq.st6
-rw-r--r--projects/Stacker/test/false.st6
-rw-r--r--projects/Stacker/test/ge.st7
-rw-r--r--projects/Stacker/test/gt.st6
-rw-r--r--projects/Stacker/test/incr.st6
-rw-r--r--projects/Stacker/test/le.st7
-rw-r--r--projects/Stacker/test/lt.st7
-rw-r--r--projects/Stacker/test/max.st7
-rw-r--r--projects/Stacker/test/memory.st10
-rw-r--r--projects/Stacker/test/min.st7
-rw-r--r--projects/Stacker/test/mod.st6
-rw-r--r--projects/Stacker/test/mul.st6
-rw-r--r--projects/Stacker/test/ne.st6
-rw-r--r--projects/Stacker/test/neg.st6
-rw-r--r--projects/Stacker/test/nip.st6
-rw-r--r--projects/Stacker/test/nip2.st9
-rw-r--r--projects/Stacker/test/or.st7
-rw-r--r--projects/Stacker/test/out_chr.st5
-rw-r--r--projects/Stacker/test/out_num.st5
-rw-r--r--projects/Stacker/test/out_str.st5
-rw-r--r--projects/Stacker/test/over.st9
-rw-r--r--projects/Stacker/test/over2.st14
-rw-r--r--projects/Stacker/test/pick.st9
-rw-r--r--projects/Stacker/test/recurse.st7
-rw-r--r--projects/Stacker/test/return.st8
-rw-r--r--projects/Stacker/test/roll.st5
-rw-r--r--projects/Stacker/test/rot.st9
-rw-r--r--projects/Stacker/test/rot2.st14
-rw-r--r--projects/Stacker/test/rrot.st12
-rw-r--r--projects/Stacker/test/rrot2.st14
-rwxr-xr-xprojects/Stacker/test/runtests19
-rw-r--r--projects/Stacker/test/select.st7
-rw-r--r--projects/Stacker/test/shl.st7
-rw-r--r--projects/Stacker/test/shr.st7
-rw-r--r--projects/Stacker/test/space.st5
-rw-r--r--projects/Stacker/test/star_slash.st6
-rw-r--r--projects/Stacker/test/sub.st6
-rw-r--r--projects/Stacker/test/swap.st9
-rw-r--r--projects/Stacker/test/swap2.st10
-rw-r--r--projects/Stacker/test/tab.st5
-rw-r--r--projects/Stacker/test/testing.st5
-rw-r--r--projects/Stacker/test/true.st6
-rw-r--r--projects/Stacker/test/tuck.st11
-rw-r--r--projects/Stacker/test/tuck2.st14
-rw-r--r--projects/Stacker/test/while.st8
-rw-r--r--projects/Stacker/test/xor.st6
-rw-r--r--projects/Stacker/tools/Makefile20
-rw-r--r--projects/Stacker/tools/stkrc/Makefile33
-rw-r--r--projects/Stacker/tools/stkrc/st63
-rw-r--r--projects/Stacker/tools/stkrc/stkrc.cpp180
95 files changed, 0 insertions, 43683 deletions
diff --git a/projects/Makefile b/projects/Makefile
index 0997a2a381..93459a5f25 100644
--- a/projects/Makefile
+++ b/projects/Makefile
@@ -14,14 +14,7 @@ DIRS:= $(filter-out llvm-test,$(patsubst $(PROJ_SRC_DIR)/%/Makefile,%,$(wildcard
# Sparc cannot link shared libraries (libtool problem?) which Stacker uses
ifeq ($(ARCH), Sparc)
-DIRS := $(filter-out Stacker, $(DIRS))
DIRS := $(filter-out sample, $(DIRS))
endif
-
-# Universal builds can't build stacker, which uses llvm-gcc -S.
-ifdef UNIVERSAL
-DIRS := $(filter-out Stacker, $(DIRS))
-endif
-
include $(PROJ_SRC_ROOT)/Makefile.rules
diff --git a/projects/Stacker/.cvsignore b/projects/Stacker/.cvsignore
deleted file mode 100644
index 3b09b416af..0000000000
--- a/projects/Stacker/.cvsignore
+++ /dev/null
@@ -1,4 +0,0 @@
-Makefile.common
-config.log
-config.status
-mklib
diff --git a/projects/Stacker/Makefile b/projects/Stacker/Makefile
deleted file mode 100644
index 9b0872b8db..0000000000
--- a/projects/Stacker/Makefile
+++ /dev/null
@@ -1,11 +0,0 @@
-##===- projects/Stacker/Makefile ---------------------------*- Makefile -*-===##
-#
-# This is the Stacker top-level Makefile
-#
-##===----------------------------------------------------------------------===##
-
-LEVEL = .
-DIRS = lib tools
-EXTRA_DIST = test samples
-
-include $(LEVEL)/Makefile.common
diff --git a/projects/Stacker/Makefile.common.in b/projects/Stacker/Makefile.common.in
deleted file mode 100644
index 6620f5b4d8..0000000000
--- a/projects/Stacker/Makefile.common.in
+++ /dev/null
@@ -1,21 +0,0 @@
-# Set the name of the project here
-PROJECT_NAME := Stacker
-
-# Set this variable to the top of the LLVM source tree.
-LLVM_SRC_ROOT = @LLVM_SRC@
-
-# Set this variable to the top level directory where LLVM was built
-# (this is *not* the same as OBJ_ROOT as defined in LLVM's Makefile.config).
-LLVM_OBJ_ROOT = @LLVM_OBJ@
-
-# Set the directory root of this project's source files
-PROJ_SRC_ROOT := $(subst //,/,@abs_top_srcdir@)
-
-# Set the root directory of this project's object files
-PROJ_OBJ_ROOT := $(subst //,/,@abs_top_objdir@)
-
-# Set the root directory of this project's install prefix
-PROJ_INSTALL_ROOT := @prefix@
-
-# Include LLVM's Master Makefile.
-include $(LLVM_OBJ_ROOT)/Makefile.common
diff --git a/projects/Stacker/autoconf/.cvsignore b/projects/Stacker/autoconf/.cvsignore
deleted file mode 100644
index d56ec2dfe9..0000000000
--- a/projects/Stacker/autoconf/.cvsignore
+++ /dev/null
@@ -1,2 +0,0 @@
-aclocal.m4
-autom4te.cache
diff --git a/projects/Stacker/autoconf/AutoRegen.sh b/projects/Stacker/autoconf/AutoRegen.sh
deleted file mode 100755
index 0809bf206e..0000000000
--- a/projects/Stacker/autoconf/AutoRegen.sh
+++ /dev/null
@@ -1,18 +0,0 @@
-#!/bin/sh
-die () {
- echo "$@" 1>&2
- exit 1
-}
-test -d autoconf && test -f autoconf/configure.ac && cd autoconf
-[ -f configure.ac ] || die "Can't find 'autoconf' dir; please cd into it first"
-echo "Regenerating aclocal.m4 with aclocal"
-aclocal || die "aclocal failed"
-autoconf --version | egrep '2\.5[0-9]' > /dev/null
-if test $? -ne 0
-then
- die "Your autoconf was not detected as being 2.5x"
-fi
-echo "Regenerating configure with autoconf 2.5x"
-autoconf -o ../configure configure.ac || die "autoconf failed"
-cd ..
-exit 0
diff --git a/projects/Stacker/autoconf/LICENSE.TXT b/projects/Stacker/autoconf/LICENSE.TXT
deleted file mode 100644
index 72fdd39edc..0000000000
--- a/projects/Stacker/autoconf/LICENSE.TXT
+++ /dev/null
@@ -1,24 +0,0 @@
-------------------------------------------------------------------------------
-Autoconf Files
-------------------------------------------------------------------------------
-All autoconf files are licensed under the LLVM license with the following
-additions:
-
-llvm/autoconf/install-sh:
- This script is licensed under the LLVM license, with the following
- additional copyrights and restrictions:
-
- Copyright 1991 by the Massachusetts Institute of Technology
-
- Permission to use, copy, modify, distribute, and sell this software and its
- documentation for any purpose is hereby granted without fee, provided that
- the above copyright notice appear in all copies and that both that
- copyright notice and this permission notice appear in supporting
- documentation, and that the name of M.I.T. not be used in advertising or
- publicity pertaining to distribution of the software without specific,
- written prior permission. M.I.T. makes no representations about the
- suitability of this software for any purpose. It is provided "as is"
- without express or implied warranty.
-
-Please see the source files for additional copyrights.
-
diff --git a/projects/Stacker/autoconf/acinclude.m4 b/projects/Stacker/autoconf/acinclude.m4
deleted file mode 100644
index bbebf45eb5..0000000000
--- a/projects/Stacker/autoconf/acinclude.m4
+++ /dev/null
@@ -1,6306 +0,0 @@
-# libtool.m4 - Configure libtool for the host system. -*-Autoconf-*-
-## Copyright 1996, 1997, 1998, 1999, 2000, 2001
-## Free Software Foundation, Inc.
-## Originally by Gordon Matzigkeit <gord@gnu.ai.mit.edu>, 1996
-##
-## This program 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 2 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
-## General Public License for more details.
-##
-## You should have received a copy of the GNU General Public License
-## along with this program; if not, write to the Free Software
-## Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
-##
-## As a special exception to the GNU General Public License, if you
-## distribute this file as part of a program that contains a
-## configuration script generated by Autoconf, you may include it under
-## the same distribution terms that you use for the rest of that program.
-
-# serial 47 AC_PROG_LIBTOOL
-
-
-# AC_PROVIDE_IFELSE(MACRO-NAME, IF-PROVIDED, IF-NOT-PROVIDED)
-# -----------------------------------------------------------
-# If this macro is not defined by Autoconf, define it here.
-m4_ifdef([AC_PROVIDE_IFELSE],
- [],
- [m4_define([AC_PROVIDE_IFELSE],
- [m4_ifdef([AC_PROVIDE_$1],
- [$2], [$3])])])
-
-
-# AC_PROG_LIBTOOL
-# ---------------
-AC_DEFUN([AC_PROG_LIBTOOL],
-[AC_REQUIRE([_AC_PROG_LIBTOOL])dnl
-dnl If AC_PROG_CXX has already been expanded, run AC_LIBTOOL_CXX
-dnl immediately, otherwise, hook it in at the end of AC_PROG_CXX.
- AC_PROVIDE_IFELSE([AC_PROG_CXX],
- [AC_LIBTOOL_CXX],
- [define([AC_PROG_CXX], defn([AC_PROG_CXX])[AC_LIBTOOL_CXX
- ])])
-dnl And a similar setup for Fortran 77 support
- AC_PROVIDE_IFELSE([AC_PROG_F77],
- [AC_LIBTOOL_F77],
- [define([AC_PROG_F77], defn([AC_PROG_F77])[AC_LIBTOOL_F77
-])])
-
-dnl Quote A][M_PROG_GCJ so that aclocal doesn't bring it in needlessly.
-dnl If either AC_PROG_GCJ or A][M_PROG_GCJ have already been expanded, run
-dnl AC_LIBTOOL_GCJ immediately, otherwise, hook it in at the end of both.
- AC_PROVIDE_IFELSE([AC_PROG_GCJ],
- [AC_LIBTOOL_GCJ],
- [AC_PROVIDE_IFELSE([A][M_PROG_GCJ],
- [AC_LIBTOOL_GCJ],
- [AC_PROVIDE_IFELSE([LT_AC_PROG_GCJ],
- [AC_LIBTOOL_GCJ],
- [ifdef([AC_PROG_GCJ],
- [define([AC_PROG_GCJ], defn([AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])
- ifdef([A][M_PROG_GCJ],
- [define([A][M_PROG_GCJ], defn([A][M_PROG_GCJ])[AC_LIBTOOL_GCJ])])
- ifdef([LT_AC_PROG_GCJ],
- [define([LT_AC_PROG_GCJ],
- defn([LT_AC_PROG_GCJ])[AC_LIBTOOL_GCJ])])])])
-])])# AC_PROG_LIBTOOL
-
-
-# _AC_PROG_LIBTOOL
-# ----------------
-AC_DEFUN([_AC_PROG_LIBTOOL],
-[AC_REQUIRE([AC_LIBTOOL_SETUP])dnl
-AC_BEFORE([$0],[AC_LIBTOOL_CXX])dnl
-AC_BEFORE([$0],[AC_LIBTOOL_F77])dnl
-AC_BEFORE([$0],[AC_LIBTOOL_GCJ])dnl
-
-# This can be used to rebuild libtool when needed
-LIBTOOL_DEPS="$ac_aux_dir/ltmain.sh"
-
-# Always use our own libtool.
-LIBTOOL='$(SHELL) $(top_builddir)/mklib'
-AC_SUBST(LIBTOOL)dnl
-
-# Prevent multiple expansion
-define([AC_PROG_LIBTOOL], [])
-])# _AC_PROG_LIBTOOL
-
-
-# AC_LIBTOOL_SETUP
-# ----------------
-AC_DEFUN([AC_LIBTOOL_SETUP],
-[AC_PREREQ(2.50)dnl
-AC_REQUIRE([AC_ENABLE_SHARED])dnl
-AC_REQUIRE([AC_ENABLE_STATIC])dnl
-AC_REQUIRE([AC_ENABLE_FAST_INSTALL])dnl
-AC_REQUIRE([AC_CANONICAL_HOST])dnl
-AC_REQUIRE([AC_CANONICAL_BUILD])dnl
-AC_REQUIRE([AC_PROG_CC])dnl
-AC_REQUIRE([AC_PROG_LD])dnl
-AC_REQUIRE([AC_PROG_LD_RELOAD_FLAG])dnl
-AC_REQUIRE([AC_PROG_NM])dnl
-
-AC_REQUIRE([AC_PROG_LN_S])dnl
-AC_REQUIRE([AC_DEPLIBS_CHECK_METHOD])dnl
-# Autoconf 2.13's AC_OBJEXT and AC_EXEEXT macros only works for C compilers!
-AC_REQUIRE([AC_OBJEXT])dnl
-AC_REQUIRE([AC_EXEEXT])dnl
-dnl
-
-AC_LIBTOOL_SYS_MAX_CMD_LEN
-AC_LIBTOOL_SYS_GLOBAL_SYMBOL_PIPE
-AC_LIBTOOL_OBJDIR
-
-AC_REQUIRE([_LT_AC_SYS_COMPILER])dnl
-_LT_AC_PROG_ECHO_BACKSLASH
-
-case $host_os in
-aix3*)
- # AIX sometimes has problems with the GCC collect2 program. For some
- # reason, if we set the COLLECT_NAMES environment variable, the problems
- # vanish in a puff of smoke.
- if test "X${COLLECT_NAMES+set}" != Xset; then
- COLLECT_NAMES=
- export COLLECT_NAMES
- fi
- ;;
-esac
-
-# Sed substitution that helps us do robust quoting. It backslashifies
-# metacharacters that are still active within double-quoted strings.
-Xsed='sed -e s/^X//'
-[sed_quote_subst='s/\([\\"\\`$\\\\]\)