findon objects and now I must perform a
findon every run of a function which checks if a
methodexists. I am working on a command server which executes functions aggregated in loadable object libraries, so the need to ckeck if the function exists. Performing a
findat every call, of the function that query objects members, hits performance and readability.
SETwhich works on multiple types of data. Having the management code split on different access methods has created a lot of confusion and cognitive overwork. I was going crazy managing all cases because of the multiplication created from
SOURCE-TYPE x DEST_TYPE x REFINEMENTs x ACCESS_METODS x CASE_CONDITIONS. To handle this and simplify everything I have put even single words on blocks and used a couple of
FINDs and I was able to complete my work on the function.
For the security minded, there are some good notes about 2/3 through this (I'm skimming the transcript). When we get ports, and start doing networking in Red, security it going to be a high priority. That may mean limiting features and flexibility. When we look at special cases ("I just need a little escape hatch to execute custom code and work around this security feature."), we will push back hard. Security is critical, convenience for special cases is not.
And the best thing to prevent phishing attacks? Something like a Yubikey.
@drkameleon How much OS API are you using? Would it be possible to wrap your interpreter with APE format so that single binary would work on a few platforms?
This looks interesting. I'll certainly have a look into it. ;)
I noticed your
versiontype says "SemVer compliant". SemVer 2 adds quite a bit beyond numbers (build and prerelease info), so you may want to note that.
Well, it's one of those cases where the documentation falls a bit short.
Actually, what you suggest has already been implemented. (I'm not sure it's 100% perfect yet, but it is quite SemVer-compliant).
Have a look: https://arturo-lang.io/playground/?mydYTg
Is the string dash notation something from Nim? What is the main use case for that?
No, it has nothing to do with Nim. Basically, the inspiration is YAML front matter and templates (e.g. for static website generation).
For example this could be a perfectly valid template data file (and Arturo code, at the same time):
read-cp <binary-data> <codepage-name>
%codepagesfile with the conversion tables
%client-tools.redwhich does the conversion automatically