How to embed script into Interpreter #69
Replies: 2 comments
-
Hi... it depends how much skills do you have? But if you are able to compile own Rebol, then it is rather easy. Good (and only) example how to do it is the Siskin Builder utility, which I use to build Rebol itself. It is actually a customised Rebol. It is compiled using this specification file: https://github.com/Siskin-framework/Builder/blob/master/tree/rebol/siskin.nest If you read the file, you can see, that there is a section with some parts of the Rebol sources, custom mezzanine files and an entry script. Also quite useful are these 2 defines, to let the compiler know, that we are not building just an ordinary Rebol, but a custom app. I don't think it is perfect... but it works for me so far and I can use GitHub action to build binaries for all main systems directly from web. Things to be improved in the current process:
There was one day also an extension for embedding scripts to R3, but I am not sure, how much open sourced it was and where the sources are. |
Beta Was this translation helpful? Give feedback.
-
Thank you for quick reply. Indeed I was looking for something like you said in the beginning - that works without compilation. But since it's currently not supported I'll dive deeper into Siskin Builder with the help of links that You provided. And as for the extention you mentioned in the end I also found that link is dead. Thank you very much :) |
Beta Was this translation helpful? Give feedback.
-
Hi there,
Thank you very much for your Rebol fork. It's great and saves a lot of work!
The thing that I want to ask is that I have script that I can run with Rebol interpreter, but is it possible to somehow embed the script into the rebol executable file so that it could be run as an executable?
I found out that for Carl's Rebol there was something called encap:
http://www.rebol.com/docs/sdk/encap.html
Is something similar available here?
What to look for?
Thank you,
Beta Was this translation helpful? Give feedback.
All reactions