radare2/libr/lang
pancake 8579a5b41f * Release version to 0.3
- Propagate @VERSION@ from ACR
  - All *2 apps are now supporting a -V flag to show the version
* Fix .dr* command in r_core debugger
  - dr now supports [regtype] [bitsize] arguments
  - Check dr? for help
* Added some 8, 16 bit registers to the dbg.ptrace backend
  - Just for testing :)
* Check build of the whole source tree
  - test programs are now in ${prefix}/bin/libr-test
* Fix lot of warnings and bugs
* Simplify some code
* Some rapification
* Fix segfault in r_reg related to unallocated arenas
  - New function r_reg_type_by_name() resolves string->id
* Fix help of rax2
2009-09-25 04:04:51 +02:00
..
p * Release version to 0.3 2009-09-25 04:04:51 +02:00
lang.c * Initial implementation of the r_lang VAPI 2009-09-20 01:03:57 +02:00
Makefile * Initial import of libr 2009-02-05 22:08:46 +01:00
README * Rename some handle_set into _use() new syntax 2009-09-20 02:16:14 +02:00

Language bindings
=================

Bindings should be generated automatically from vala or C.

The programs running in r_lang should need a better integration with the rest of libs.
This is: We need an api in r_lang to export a C symbol into the language namespace.

For example:

 r_lang_define(lang, "Core", "core", core);
 r_lang_define(lang, "Asm", "asm", asm)

This way the module instances can be shared between the core C application and many
r_lang supported language bindings (perk, python, ..)


TODO
====
* r_lang_define is implemented in lang.c, but requires the collaboration
  of the plugins to properly setup the environment for the script execution.

* Add support for STATIC_PLUGINS for r-Lang too