diff options
| author | Drahflow <drahflow@gmx.de> | 2012-12-08 14:29:18 +0100 |
|---|---|---|
| committer | Drahflow <drahflow@gmx.de> | 2012-12-08 14:29:18 +0100 |
| commit | 74f3f1354afe9b6fe866527a1de2a8d16d1210b8 (patch) | |
| tree | b98303d84e99ab1829410ae38317c27c911217b5 /examples/non-working | |
Initial commit
Diffstat (limited to 'examples/non-working')
| -rw-r--r-- | examples/non-working/.io.ey.swp | bin | 0 -> 12288 bytes | |||
| -rw-r--r-- | examples/non-working/cat.ey | 13 | ||||
| -rw-r--r-- | examples/non-working/cross.ey | 1 | ||||
| -rw-r--r-- | examples/non-working/io.ey | 3 | ||||
| -rw-r--r-- | examples/non-working/macro.ey | 8 | ||||
| -rw-r--r-- | examples/non-working/tokens.ey | 5 |
6 files changed, 30 insertions, 0 deletions
diff --git a/examples/non-working/.io.ey.swp b/examples/non-working/.io.ey.swp Binary files differnew file mode 100644 index 0000000..661a09e --- /dev/null +++ b/examples/non-working/.io.ey.swp diff --git a/examples/non-working/cat.ey b/examples/non-working/cat.ey new file mode 100644 index 0000000..23b5786 --- /dev/null +++ b/examples/non-working/cat.ey @@ -0,0 +1,13 @@ +#!/usr/bin/env elymas + +/stdlib import + +4096 malloc =buf +0 =len + +0 \argv 0 open =f +{ + f buf 4096 read =len + f buf len write +} len while +f close diff --git a/examples/non-working/cross.ey b/examples/non-working/cross.ey new file mode 100644 index 0000000..65a2923 --- /dev/null +++ b/examples/non-working/cross.ey @@ -0,0 +1 @@ +[ 1 2 3 ] [ 1 2 3 ] add dump diff --git a/examples/non-working/io.ey b/examples/non-working/io.ey new file mode 100644 index 0000000..24803bc --- /dev/null +++ b/examples/non-working/io.ey @@ -0,0 +1,3 @@ +"io.ey" linux .ORDONLY 0 linux .open /fd defv + +fd linux .close diff --git a/examples/non-working/macro.ey b/examples/non-working/macro.ey new file mode 100644 index 0000000..9ead477 --- /dev/null +++ b/examples/non-working/macro.ey @@ -0,0 +1,8 @@ +{ * } /now defq + +{ { 1 2 3 add add } now } /f deff +f dump + +{ blk 0 -01 * sym die } /qdie defq +{ code die } /qcode defq +{ f qcode } diff --git a/examples/non-working/tokens.ey b/examples/non-working/tokens.ey new file mode 100644 index 0000000..24ba14e --- /dev/null +++ b/examples/non-working/tokens.ey @@ -0,0 +1,5 @@ +< + { dump } /a deff +> /std defv + +"dump" std .a |
