[SCM] Lisaac compiler branch, mildred-backend, updated. lisaac-0.12-524-g7710f76

Mildred Ki'Lya silkensedai at online.fr
Tue Aug 25 21:53:55 UTC 2009


The following commit has been merged in the mildred-backend branch:
commit a347452c351069a3869f4269f7a2ed8decec9272
Author: Mildred Ki'Lya <silkensedai at online.fr>
Date:   Tue Aug 25 21:48:58 2009 +0200

    Added scripts to simplify correcting bugs in backend

diff --git a/bootstrap.sh b/bootstrap.sh
new file mode 100755
index 0000000..8d8865b
--- /dev/null
+++ b/bootstrap.sh
@@ -0,0 +1,15 @@
+#!/bin/sh
+
+log(){
+  echo "$@"
+  "$@"
+}
+
+log lisaac-prj src/make.lip src/lisaac -no-debug
+if [ lisaac.c -nt lisaac ]; then
+  log gcc lisaac.c -o lisaac -lm
+fi
+log ./lisaac src/make.lip src/lisaac -no-debug
+if [ lisaac.c -nt lisaac ]; then
+  log gcc lisaac.c -o lisaac -lm
+fi
diff --git a/checkout.sh b/checkout.sh
new file mode 100755
index 0000000..663de30
--- /dev/null
+++ b/checkout.sh
@@ -0,0 +1,15 @@
+#! /bin/sh
+
+commit="$1"
+shift
+
+while [ -n "$1" ]; do
+
+  file="$1"
+
+  echo git show "$commit:$file" ">" "$file"
+  git show "$commit:$file" > "$file"
+
+  shift
+
+done
diff --git a/merge.sh b/merge.sh
new file mode 100755
index 0000000..9c0bd9b
--- /dev/null
+++ b/merge.sh
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+commit="$1"
+shift
+
+while [ -n "$1" ]; do
+
+  file="$1"
+
+  log(){
+    echo "$@"
+    "$@"
+  }
+
+  echo git show "$commit:$file" ">" "$file-"
+  git show "$commit:$file" > "$file-"
+  log meld "$file-" "$file"
+  log rm -f "$file-"
+
+  shift
+
+done

-- 
Lisaac compiler



More information about the Lisaac-commits mailing list