www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Flectioned for Windows

reply Thomas Kuehne <thomas-dloop kuehne.cn> writes:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Flectioned(runtime reflection for D) now supports Windows systems. In
contrast to Linux you have to compile your modules with debugging symbols
enabled (DLLs aren't affected by this).

Do you like to redirect any kind of function call?

sample:
# import cn.kuehne.flectioned, std.stdio;
#
# void foo(){
#    writefln("foo");
# }
# 
# void bar(){
#    writefln("bar");
# }
# 
# void main(){
#    foo();
#    ubyte[] buf = Function.redirect(&foo, &bar);
#    foo();
#    Function.restoreRedirect(&foo, buf);
#    foo();
# }

output:
 foo
 bar
 foo

Wine users: Type information isn't supported(fixme:dbghelp_msc:codeview_snarf). DLLs aren't supported(fixme:dbghelp:elf_load_debug_info_from_map). http://flectioned.kuehne.cn Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFFwn+YLK5blCcjpWoRAtiZAJ9LcWKqTIfN+lN+/17N1zXEQd1BUQCbBcG6 H3Y2qLecyAZMKQo5cQCQBCs= =jmqj -----END PGP SIGNATURE-----
Feb 01 2007
next sibling parent Derek Parnell <derek nomail.afraid.org> writes:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, 1 Feb 2007 23:09:09 +0000 (UTC), Thomas Kuehne wrote:

 Flectioned(runtime reflection for D) now supports Windows systems.

I bow in humble adoration ... Bloody brilliant, mate! - -- Derek (skype: derek.j.parnell) Melbourne, Australia "Down with mediocrity!" 2/02/2007 11:13:44 AM -----BEGIN PGP SIGNATURE----- Version: PGP Desktop 9.5.2 (Build 4075) wj8DBQFFwoKiB2Z2alRbg5gRAoHcAKCXfsJQcJvdMaowz1DGnhDbq+kUJgCgjnnq OXlpS4f4I8rZ1iD5zmfTxCU= =MPww -----END PGP SIGNATURE-----
Feb 01 2007
prev sibling next sibling parent reply Gregor Richards <Richards codu.org> writes:
Flectioned is now installable via DSSS.

  - Gregor Richards
Feb 01 2007
parent reply Kyle Furlong <kylefurlong gmail.com> writes:
Gregor Richards wrote:
 Flectioned is now installable via DSSS.
 
  - Gregor Richards

Is tango?
Feb 01 2007
parent Gregor Richards <Richards codu.org> writes:
Kyle Furlong wrote:
 Gregor Richards wrote:
 Flectioned is now installable via DSSS.

  - Gregor Richards

Is tango?

Tango can be built with DSSS, yes. In the tango source, you'll see there's a dsss.conf. - Gregor Richards
Feb 01 2007
prev sibling next sibling parent Pragma <ericanderton yahoo.removeme.com> writes:
Thomas Kuehne wrote:
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
 Flectioned(runtime reflection for D) now supports Windows systems. In
 contrast to Linux you have to compile your modules with debugging symbols
 enabled (DLLs aren't affected by this).

Wow that's slick. Nice work! -- - EricAnderton at yahoo
Feb 02 2007
prev sibling next sibling parent reply BLS <Killing_Zoe web.de> writes:
?
Bjoern

Thomas Kuehne schrieb:
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
 Flectioned(runtime reflection for D) now supports Windows systems. In
 contrast to Linux you have to compile your modules with debugging symbols
 enabled (DLLs aren't affected by this).
 
 Do you like to redirect any kind of function call?
 
 sample:
 # import cn.kuehne.flectioned, std.stdio;
 #
 # void foo(){
 #    writefln("foo");
 # }
 # 
 # void bar(){
 #    writefln("bar");
 # }
 # 
 # void main(){
 #    foo();
 #    ubyte[] buf = Function.redirect(&foo, &bar);
 #    foo();
 #    Function.restoreRedirect(&foo, buf);
 #    foo();
 # }
 
 output:
 
foo
bar
foo

Wine users: Type information isn't supported(fixme:dbghelp_msc:codeview_snarf). DLLs aren't supported(fixme:dbghelp:elf_load_debug_info_from_map). http://flectioned.kuehne.cn Thomas -----BEGIN PGP SIGNATURE----- iD8DBQFFwn+YLK5blCcjpWoRAtiZAJ9LcWKqTIfN+lN+/17N1zXEQd1BUQCbBcG6 H3Y2qLecyAZMKQo5cQCQBCs= =jmqj -----END PGP SIGNATURE-----

Feb 02 2007
parent "Frank Benoit (keinfarbton)" <benoit tionex.removethispart.de> writes:
 ?
 Bjoern
 

Erm, perhaps ;) The code of SWT is converted. On linux I already had an open window with button and text field. Whats left is a big mountain of work. 1. In the moment i am working on implementing the replacement for the jre. I want to make a pure D jre replacement, called dejavu. 2. loading resources files 3. Reflection Michael Snoyberg has joined the project. Bjoern, you are also welcome to help :) Frank
Feb 02 2007
prev sibling parent Charles D Hixson <charleshixsn earthlink.net> writes:
Thomas Kuehne wrote:
 -----BEGIN PGP SIGNED MESSAGE-----
 Hash: SHA1
 
 Flectioned(runtime reflection for D) now supports Windows systems. In
 contrast to Linux you have to compile your modules with debugging symbols
 enabled (DLLs aren't affected by this).
...

I'm more interested in the Linux version (well..not yet, in a year or two), but it's good to see this also available under MSWind.
Feb 03 2007