4 ms·
Can you use it as an embedded scripting language? Couldn't find anything on the web site.
by chadcmulligan 4y ago
Can you use it as an embedded scripting language? Couldn't find anything on the web site.
- garrypettet 4y agoTake a look at Wren if you want a similar looking embeddable scripting language. It was created by Bob Nystrom (who now works in Dart). It’s a lovely language. [1]: https://wren.io https://wren.io
- chadcmulligan 4y agoYes thanks, wren is very nice too, though its at 0.4, I would like a 1.0, though I'm not sure how seriously to take the versions.
- tored 4y agoInteresting question, pike has a stable C API for creating C modules Step by step instructions https://pike.lysator.liu.se/docs/cmod-step-by-step/ https://pike.lysator.liu.se/docs/cmod-step-by-step/ What is CMOD? http://wiki.gotpike.org/index.pike?page=PikeDevel/C%20Modules/CMOD http://wiki.gotpike.org/index.pike?page=PikeDevel/C%20Module... Calling pike functions from within C/CMOD code http://wiki.gotpike.org/index.pike?page=PikeDevel/C%20Modules/Calling%20Pike%20Code http://wiki.gotpike.org/index.pike?page=PikeDevel/C%20Module... example https://github.com/pikelang/Pike/blob/master/src/modules/Inotify/inotify.cmod https://github.com/pikelang/Pike/blob/master/src/modules/Ino... I guess it is more of packaging issue of using pike in that manner, perhaps this is something for the pikers to explore. Could be a great way to revitalize the language, the world could need a embeddable strictly typed C like dynamic language.
- chadcmulligan 4y agoThere is a need I think, Wren is the only one. Lua and javascript are king of the hill, but both have their quirks. Though Pike isn't on ARM either (from what I can see), so probably a bit of work.
- em-bee 4y agopike is in debian on all architectures as far as i can tell, including ARM in any case. on other distributions it should compile fine from source.