Rune - Collapse system calls and external libraries
authorMatthew Dillon <dillon@apollo.backplane.com>
Thu, 31 Mar 2016 22:28:31 +0000 (15:28 -0700)
committerMatthew Dillon <dillon@apollo.backplane.com>
Thu, 31 Mar 2016 22:51:39 +0000 (15:51 -0700)
commitff730100d7529a189a524cfce82e72cf76b29fec
treea58b08c94adcc8333b3550342ef9995b56cff898
parentfee830f0887cbc39ebd15ab429c7719b17371aec
Rune - Collapse system calls and external libraries

* Make the interpreter use the run-time system call API and remove all
  interpreter-specific generation for same.

  This makes interfacing to C via external libraries MUCH easier.

* The interpreter is now using libruntime a whole lot more, and this also
  means that the interpreter is starting to use libruntime's ref and lock
  code as well.
56 files changed:
TODO
classes/gfx/main.d
docs/overview.html
ext_x11/Makefile
ext_x11/Makefile.inc [deleted file]
ext_x11/defs.h [moved from ext_x11/link/defs.h with 97% similarity]
ext_x11/dll/Makefile [deleted file]
ext_x11/dll/defs.h [deleted file]
ext_x11/dll/draw.c [deleted file]
ext_x11/dll/export.h [deleted file]
ext_x11/dll/fill.c [deleted file]
ext_x11/dll/pen.c [deleted file]
ext_x11/dll/text.c [deleted file]
ext_x11/dll/xevent.c [deleted file]
ext_x11/dll/xwin.c [deleted file]
ext_x11/draw.c [moved from ext_x11/link/draw.c with 88% similarity]
ext_x11/export.h [new file with mode: 0644]
ext_x11/fill.c [moved from ext_x11/link/fill.c with 91% similarity]
ext_x11/link/Makefile [deleted file]
ext_x11/link/main.c [deleted file]
ext_x11/main.c [moved from ext_x11/dll/main.c with 64% similarity]
ext_x11/pen.c [moved from ext_x11/link/pen.c with 84% similarity]
ext_x11/text.c [moved from ext_x11/link/text.c with 87% similarity]
ext_x11/xevent.c [moved from ext_x11/link/xevent.c with 98% similarity]
ext_x11/xwin.c [moved from ext_x11/link/xwin.c with 100% similarity]
libdthread/refstor.c
libgen/Makefile
libgen/defs.h
libgen/export.h
libgen/gen_exp.c
libgen/misc.c
libgen/run_exp.c
libgen/run_stmt.c
libgen/sys.c
libgen/sys_fd.c [deleted file]
libgen/sys_math.c [deleted file]
libgen/sys_misc.c [deleted file]
libgen/sys_thread.c [deleted file]
libgen/syscalls.h
librune/context.h
librune/exp.h
librune/export.h
librune/misc.c
librune/resolve.c
librune/type.c
libruntime/Makefile
libruntime/export.h
libruntime/stubs.c [new file with mode: 0644]
libruntime/sys_fd.c
libruntime/sys_math.c
libruntime/sys_misc.c
libruntime/sys_thread.c
libruntime/syscalls.h [new file with mode: 0644]
rune/Makefile
rune/rune.c
tests/cmp2.d