View Code? Open in Web Editor
NEW
Quickjs FreePascal / Delphi Bindings
License: MIT License
Pascal 92.82%
JavaScript 7.18%
quickjs-pascal's Introduction
QuickJS FreePascal / Delphi Bindings sync with the latest version QuickJS Headers.
I added a small demo in how to use it (it's a very easy engine to use)
.
Change log
Upload Static libs for Mac, IOS, Linux and dynamic ones for Windows
sync with QJS Version "2020-03-16"
Contains all function and patches from
Version "2019-10-27", "2019-12-21", "2020-01-05", "2020-01-19"
Dlls not updated yet ( Compile your own for now till I do ^_^ )
sync with QJS Version "2019-09-18"
Dlls is update to QJS Version "2019-09-18"
Sync with QJS Version "2019-09-01"
DLLs not updated yet (will upload static libs for mac, linux and dynamic ones for windows ).
Add Delphi Support
Sync with QJS Version "2019-08-18"
Init FPC binding - QJS Version "2019-08-10"
TODO
Add more demos
update the implementation with every new update :V
quickjs-pascal's People
Contributors
quickjs-pascal's Issues
If I try to compile the demo on Delphi 10.3 I get this error:
"[dcc32 Error] quickjs.pas(1467): E2029 Declaration expected but string constant found"
This is a great project! Do you have a plan to support Delphi? Thanks.
console.log(String.fromCharCode(10249));
displays: Γáë
instead of ⠉
quickjs commit 2e8736f
Using dll from QuickJS-Pascal/LibQJS/Windows/x86_64/
on Windows 10 Pro 2004 build 19041.388 Windows Feature Experience Pack 120.2202.130.0
cmd.exe standalone
cmd on Windows Terminal 1.1.2021.0
cmd Windows Terminal Preview 1.2.2022.0
Cascadia Mono PL, Cascadia Mono, Cascadia Code (2007.001)
Hi !
Thanks for your work.
Can you provide the make file to build QuickJS library for all platforms please ?
I aim to compile the library for Raspberry PI, for example...
Thanks
Regards
Hi,
Before this project gets going in a deep-techie only way I would suggest a 'HOWTO Install. Step by step' be done.
That way many developers and potential developers have the opportunity to get on board with this project.
Thx.
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.