QuickJS-Pascal icon indicating copy to clipboard operation
QuickJS-Pascal copied to clipboard

Rtti-based binding

Open d-mozulyov opened this issue 3 years ago • 3 comments

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.

d-mozulyov avatar Jul 29 '20 18:07 d-mozulyov

Hello @d-mozulyov

Your code is really impressive and for sure i'll use it into my RTTI port for QJS. I was working on my own RTTI code, But I stopped it. But I think i'll return to continue working on it.

Again thanks for your amazing work.

you can contact me

@ coldzer0[at]protonmail.ch Discord : Coldzer0#0001

Coldzer0 avatar Jul 31 '20 18:07 Coldzer0

@Coldzer0 , any news on the RTTI binding for quickjs ;)

edwinyzh avatar Mar 11 '21 16:03 edwinyzh

Just got to know that Arnaud Bouchez author of mORMot is working on it ;)

edwinyzh avatar Mar 18 '21 07:03 edwinyzh