tondrej / chakracore-delphi

Delphi and Free Pascal bindings and classes for Microsoft's ChakraCore library
https://tondrej.blogspot.com/search/label/chakracore
MIT License
137 stars 34 forks source link

Rtti-based binding #15

Open d-mozulyov opened 4 years ago

d-mozulyov commented 4 years ago

Hello

I partially implemented Delphi and Lua binding based on RTTI and manually registered information. See an example, I hope you like this way: https://github.com/d-mozulyov/CrystalLUA/blob/master/README.md

It seems to me that it would be useful to bind Delphi code not only with Lua, but also with other languages: JavaScript, Python, etc. But since it is quite difficult to process RTTI, and it is very different for FreePascal, old and new versions of Delphi, I have created several units that can be used now: https://github.com/d-mozulyov/Tiny.Library/blob/master/doc/Rtti.md

You can contact me with any questions. I would like to see a convenient Delphi+JS library appear over time.