Laxaro

View the latest news and breaking news today

inessential: frontier diary #3: built-in verbs configuration

inessential: frontier diary #3: built-in verbs configuration Article News With Simple Text and Web Resource Link. For View Full Content Click on Source Link on Then Bottom Of News.



inessential: frontier diary #3: built-in verbs configuration

frontier’s standard library is known as its built-in verbs. there are a number of different tables: file, clock, xml, and so on. each contains a number of verbs: file.readwholefile, clock.now, and so on.most of these verbs are implemented in c, in the kernel, rather than as scripts. at the moment, to add one of these kernel verbs, you have to jump through a few hoops: edit a resource, add an integer id, add to a switch statement, etc. it’s a pain and is error-prone.so i want to re-do this in swift, because i’m all about swift. and i want adding verbs to be fool-proof: i don’t want to remember how to configure this every single time i add a verb. adding a verb needs to be easy.my thin...