radare2/libr/lang
pancake/fluendo c02ef87ac2 * Add support to ARM for the debugger
- asm.arm plugin is now embedded into r_asm as static plugin
* Added register alias names for r_reg
  - Add register names for x86/32/64/arm
  - pc, sp, bp, a0, a1, a2, a3
* Do not build lua5.1 if no lib found
* Enable cfg.ffio in debug mode
* Some code simplification in r_asm
  - Fix a negative offset bug in elf on ARM binaries
2010-02-03 14:34:00 +01:00
..
p * Add support to ARM for the debugger 2010-02-03 14:34:00 +01:00
lang.c * Initial implementation of the r_lang VAPI 2009-09-20 01:03:57 +02:00
Makefile * Added w32dist makefile target to generate a distributable zip 2010-01-15 17:02:04 +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