diff options
| author | Drahflow <drahflow@gmx.de> | 2013-01-23 10:02:54 +0100 |
|---|---|---|
| committer | Drahflow <drahflow@gmx.de> | 2013-01-23 10:02:54 +0100 |
| commit | aba7b3fa8bd92c66760009d0a2762df3539c36cd (patch) | |
| tree | 923c57882554805ce85516b516ac536ea1847167 /examples | |
| parent | d7fbde238c596c3f7cbc5471a0efb32481bdf6b8 (diff) | |
dom, rep, =[] done
dom now correctly calls .dom on structs
rep loops 0 times, not 2^64 times when called with 0
=[] implemented
Diffstat (limited to 'examples')
| -rwxr-xr-x | examples/compiler-missing.sh | 1 | ||||
| l--------- | examples/working-compiler/array-assign.test | 1 | ||||
| l--------- | examples/working-compiler/dom.test | 1 | ||||
| l--------- | examples/working-compiler/qsort.test | 1 | ||||
| -rw-r--r-- | examples/working/array-assign.ey | 4 | ||||
| -rw-r--r-- | examples/working/array_assign.ey | 4 |
6 files changed, 8 insertions, 4 deletions
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 |
