From aba7b3fa8bd92c66760009d0a2762df3539c36cd Mon Sep 17 00:00:00 2001 From: Drahflow Date: Wed, 23 Jan 2013 10:02:54 +0100 Subject: dom, rep, =[] done dom now correctly calls .dom on structs rep loops 0 times, not 2^64 times when called with 0 =[] implemented --- examples/compiler-missing.sh | 1 + examples/working-compiler/array-assign.test | 1 + examples/working-compiler/dom.test | 1 + examples/working-compiler/qsort.test | 1 + examples/working/array-assign.ey | 4 ++++ examples/working/array_assign.ey | 4 ---- 6 files changed, 8 insertions(+), 4 deletions(-) create mode 100755 examples/compiler-missing.sh create mode 120000 examples/working-compiler/array-assign.test create mode 120000 examples/working-compiler/dom.test create mode 120000 examples/working-compiler/qsort.test create mode 100644 examples/working/array-assign.ey delete mode 100644 examples/working/array_assign.ey (limited to 'examples') diff --git a/examples/compiler-missing.sh b/examples/compiler-missing.sh new file mode 100755 index 0000000..13474dd --- /dev/null +++ b/examples/compiler-missing.sh @@ -0,0 +1 @@ +{( cd working-compiler; ls *.test ); (cd working; ls *.ey)} | sed -e 's/\..*//g' | sort | uniq -c | sort -nr diff --git a/examples/working-compiler/array-assign.test b/examples/working-compiler/array-assign.test new file mode 120000 index 0000000..67d7f95 --- /dev/null +++ b/examples/working-compiler/array-assign.test @@ -0,0 +1 @@ +../working/array-assign.ey \ No newline at end of file diff --git a/examples/working-compiler/dom.test b/examples/working-compiler/dom.test new file mode 120000 index 0000000..4a02d38 --- /dev/null +++ b/examples/working-compiler/dom.test @@ -0,0 +1 @@ +../working/dom.ey \ No newline at end of file diff --git a/examples/working-compiler/qsort.test b/examples/working-compiler/qsort.test new file mode 120000 index 0000000..73d3b70 --- /dev/null +++ b/examples/working-compiler/qsort.test @@ -0,0 +1 @@ +../working/qsort.ey \ No newline at end of file diff --git a/examples/working/array-assign.ey b/examples/working/array-assign.ey new file mode 100644 index 0000000..34cf6e4 --- /dev/null +++ b/examples/working/array-assign.ey @@ -0,0 +1,4 @@ +[ 1 2 3 4 ] /a defv +0 6 a =[] + +a dump diff --git a/examples/working/array_assign.ey b/examples/working/array_assign.ey deleted file mode 100644 index b369e5b..0000000 --- a/examples/working/array_assign.ey +++ /dev/null @@ -1,4 +0,0 @@ -[ 1 2 3 4 ] =a -0 2 a =[] - -a dump -- cgit v1.2.3