helloSqrat has a feature to compile the script into bytecodes to files, but it would be nice to be aible to compile it to string then it can be used later from memory, such as binding it to an executable or something similar
I looked at how to code this just now, and it doesn't look too hard.
You should use sq_writeclosure to do it and sqstd_writeclosuretofile to learn.
If you get a good implementation, I will add it to the code base.
This is something that is a tad unnecessary, and so I won't add it myself.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
hi again, i've coded everything and it works i think, at leest for me and if anything to fix, i'm hear to fix it, but please note i'm new to squirrel, thanks
I looked at how to code this just now, and it doesn't look too hard.
You should use sq_writeclosure to do it and sqstd_writeclosuretofile to learn.
If you get a good implementation, I will add it to the code base.
This is something that is a tad unnecessary, and so I won't add it myself.
hi again, this is the code but maybe it is buggy, because i've wrote it very fast, because of my jobs, again thanks
Please get the code to compile and test it before I add it in
hi again, i've coded everything and it works i think, at leest for me and if anything to fix, i'm hear to fix it, but please note i'm new to squirrel, thanks
I will add this still if you make it easy on me,
but I don't feel like doing a diff, pasting the code in, and testing.