From 81992e5376056adf6bc0e7e7fed6fc4be1f6f499 Mon Sep 17 00:00:00 2001 From: "Mike D. Lowis" Date: Mon, 19 Mar 2012 09:36:17 -0400 Subject: [PATCH] Added bci prototype and language design prototypes --- bash/bci.sh | 204 ++++++++++++ bash/builds/DUMMY | 0 bash/builds/vimrc | 1 + .../ui-bg_diagonals-thick_18_b81900_40x40.png | Bin 0 -> 260 bytes .../ui-bg_diagonals-thick_20_666666_40x40.png | Bin 0 -> 251 bytes .../images/ui-bg_flat_10_000000_40x100.png | Bin 0 -> 178 bytes .../images/ui-bg_glass_100_f6f6f6_1x400.png | Bin 0 -> 104 bytes .../images/ui-bg_glass_100_fdf5ce_1x400.png | Bin 0 -> 125 bytes .../images/ui-bg_glass_65_ffffff_1x400.png | Bin 0 -> 105 bytes .../ui-bg_gloss-wave_35_f6a828_500x100.png | Bin 0 -> 3762 bytes .../ui-bg_highlight-soft_100_eeeeee_1x100.png | Bin 0 -> 90 bytes .../ui-bg_highlight-soft_75_ffe45c_1x100.png | Bin 0 -> 129 bytes .../images/ui-icons_222222_256x240.png | Bin 0 -> 4369 bytes .../images/ui-icons_228ef1_256x240.png | Bin 0 -> 4369 bytes .../images/ui-icons_ef8c08_256x240.png | Bin 0 -> 4369 bytes .../images/ui-icons_ffd27a_256x240.png | Bin 0 -> 4369 bytes .../images/ui-icons_ffffff_256x240.png | Bin 0 -> 4369 bytes .../ui-lightness/jquery-ui-1.8.18.custom.css | 305 ++++++++++++++++++ bash/html/index.html | 29 ++ bash/html/index.html_ | 0 bash/html/js/jquery-1.7.1.min.js | 4 + bash/html/js/jquery-ui-1.8.18.custom.min.js | 29 ++ bash/log/build.log | 1 + bash/log/status.log | 7 + bash/repos | 1 + lang_design/prototypal/main.cpp | 38 +++ lang_design/prototypal/types/block.h | 8 + lang_design/prototypal/types/bool.h | 8 + lang_design/prototypal/types/char.h | 8 + lang_design/prototypal/types/list.h | 8 + lang_design/prototypal/types/number.h | 49 +++ lang_design/prototypal/types/object.h | 9 + lang_design/prototypal/types/prototype.h | 94 ++++++ lang_design/prototypal/types/string.h | 8 + lang_design/prototypal/types/symbol.h | 8 + lang_design/prototypal/types/vector.h | 8 + lang_design/types/main.cpp | 96 ++++++ lang_design/types/stack_var.cpp | 105 ++++++ 38 files changed, 1028 insertions(+) create mode 100644 bash/bci.sh create mode 100644 bash/builds/DUMMY create mode 160000 bash/builds/vimrc create mode 100644 bash/html/css/ui-lightness/images/ui-bg_diagonals-thick_18_b81900_40x40.png create mode 100644 bash/html/css/ui-lightness/images/ui-bg_diagonals-thick_20_666666_40x40.png create mode 100644 bash/html/css/ui-lightness/images/ui-bg_flat_10_000000_40x100.png create mode 100644 bash/html/css/ui-lightness/images/ui-bg_glass_100_f6f6f6_1x400.png create mode 100644 bash/html/css/ui-lightness/images/ui-bg_glass_100_fdf5ce_1x400.png create mode 100644 bash/html/css/ui-lightness/images/ui-bg_glass_65_ffffff_1x400.png create mode 100644 bash/html/css/ui-lightness/images/ui-bg_gloss-wave_35_f6a828_500x100.png create mode 100644 bash/html/css/ui-lightness/images/ui-bg_highlight-soft_100_eeeeee_1x100.png create mode 100644 bash/html/css/ui-lightness/images/ui-bg_highlight-soft_75_ffe45c_1x100.png create mode 100644 bash/html/css/ui-lightness/images/ui-icons_222222_256x240.png create mode 100644 bash/html/css/ui-lightness/images/ui-icons_228ef1_256x240.png create mode 100644 bash/html/css/ui-lightness/images/ui-icons_ef8c08_256x240.png create mode 100644 bash/html/css/ui-lightness/images/ui-icons_ffd27a_256x240.png create mode 100644 bash/html/css/ui-lightness/images/ui-icons_ffffff_256x240.png create mode 100644 bash/html/css/ui-lightness/jquery-ui-1.8.18.custom.css create mode 100644 bash/html/index.html create mode 100644 bash/html/index.html_ create mode 100644 bash/html/js/jquery-1.7.1.min.js create mode 100644 bash/html/js/jquery-ui-1.8.18.custom.min.js create mode 100644 bash/log/build.log create mode 100644 bash/log/status.log create mode 100644 bash/repos create mode 100644 lang_design/prototypal/main.cpp create mode 100644 lang_design/prototypal/types/block.h create mode 100644 lang_design/prototypal/types/bool.h create mode 100644 lang_design/prototypal/types/char.h create mode 100644 lang_design/prototypal/types/list.h create mode 100644 lang_design/prototypal/types/number.h create mode 100644 lang_design/prototypal/types/object.h create mode 100644 lang_design/prototypal/types/prototype.h create mode 100644 lang_design/prototypal/types/string.h create mode 100644 lang_design/prototypal/types/symbol.h create mode 100644 lang_design/prototypal/types/vector.h create mode 100644 lang_design/types/main.cpp create mode 100644 lang_design/types/stack_var.cpp diff --git a/bash/bci.sh b/bash/bci.sh new file mode 100644 index 0000000..1572f63 --- /dev/null +++ b/bash/bci.sh @@ -0,0 +1,204 @@ +#!/bin/env bash + +START_BACKGROUND=0 +START_CI=0 +CONF_FILE=./repos +IDLE_TIME=5m +#ngfnote: i prefer $(pwd) to using backticks; don't think it makes a difference. +WORKING_DIR=`pwd` +REPO_LIST=() + +#ngfnote: i prefer to do something like +#GIT="$(which git)" +#: ${GIT:?'git not found in path!'} +#then use '$GIT' instead of 'git' in code + +#ngfnote, i'm sure you already know this, but cat <<-EOF will allow you to put +#indentation in before the lines being catted +#unfortunately, to get formatting of the cat correct, this requires you to mix tabs and spaces +#which is a no-no. +#alternatively, i've gotten in the habit of putting this in a USAGE file then doing something like +#usage(){ cat $USAGE_FILE } +usage() { +cat << EOF +usage $0 + +This script implements a primitive continuous integration server. + +Options: + -c Use the given configuration file + -d Set the working directory for this script + -B Launch this script in the background + -h Prints usage message + -S Start the service in the foreground (do not daemonize) + -t