From 483c6f84d4ad5080d05b133df9734febd60ca574 Mon Sep 17 00:00:00 2001 From: Drahflow Date: Fri, 1 Feb 2013 18:08:17 +0100 Subject: sys .asm existing --- examples/working-compiler/asm.test | 1 + examples/working-compiler/cat.test | 1 + examples/working-compiler/io.test | 16 ++++++++++++++++ examples/working-compiler/strcat.test | 1 + examples/working-compiler/testing.test | 1 + examples/working/syscall.ey | 1 + 6 files changed, 21 insertions(+) create mode 120000 examples/working-compiler/asm.test create mode 120000 examples/working-compiler/cat.test create mode 100644 examples/working-compiler/io.test create mode 120000 examples/working-compiler/strcat.test create mode 120000 examples/working-compiler/testing.test create mode 100644 examples/working/syscall.ey (limited to 'examples') diff --git a/examples/working-compiler/asm.test b/examples/working-compiler/asm.test new file mode 120000 index 0000000..04060ba --- /dev/null +++ b/examples/working-compiler/asm.test @@ -0,0 +1 @@ +../working/asm.ey \ No newline at end of file diff --git a/examples/working-compiler/cat.test b/examples/working-compiler/cat.test new file mode 120000 index 0000000..730f793 --- /dev/null +++ b/examples/working-compiler/cat.test @@ -0,0 +1 @@ +../working/cat.ey \ No newline at end of file diff --git a/examples/working-compiler/io.test b/examples/working-compiler/io.test new file mode 100644 index 0000000..a835c28 --- /dev/null +++ b/examples/working-compiler/io.test @@ -0,0 +1,16 @@ +# ## variant 0 +# +# < sys .file with +# "io.ey" RO open +# 512 read +# close +# > - + +## variant 1 + +sys .file /f defv +"io.test" f .open +512 f .read +f .close + +sys .out .writeall diff --git a/examples/working-compiler/strcat.test b/examples/working-compiler/strcat.test new file mode 120000 index 0000000..d90f3e4 --- /dev/null +++ b/examples/working-compiler/strcat.test @@ -0,0 +1 @@ +../working/strcat.ey \ No newline at end of file diff --git a/examples/working-compiler/testing.test b/examples/working-compiler/testing.test new file mode 120000 index 0000000..4eae848 --- /dev/null +++ b/examples/working-compiler/testing.test @@ -0,0 +1 @@ +../working/testing.ey \ No newline at end of file diff --git a/examples/working/syscall.ey b/examples/working/syscall.ey new file mode 100644 index 0000000..4b17190 --- /dev/null +++ b/examples/working/syscall.ey @@ -0,0 +1 @@ +"not available in the interpreter" die -- cgit v1.2.3