{"action":"created","issue":{"url":"https://api.github.com/repos/KSP-KOS/KOS/issues/966","labels_url":"https://api.github.com/repos/KSP-KOS/KOS/issues/966/labels{/name}","comments_url":"https://api.github.com/repos/KSP-KOS/KOS/issues/966/comments","events_url":"https://api.github.com/repos/KSP-KOS/KOS/issues/966/events","html_url":"https://github.com/KSP-KOS/KOS/issues/966","id":73700059,"number":966,"title":"Why not Lua?","user":{"login":"viluon","id":7235381,"avatar_url":"https://avatars.githubusercontent.com/u/7235381?v=3","gravatar_id":"","url":"https://api.github.com/users/viluon","html_url":"https://github.com/viluon","followers_url":"https://api.github.com/users/viluon/followers","following_url":"https://api.github.com/users/viluon/following{/other_user}","gists_url":"https://api.github.com/users/viluon/gists{/gist_id}","starred_url":"https://api.github.com/users/viluon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/viluon/subscriptions","organizations_url":"https://api.github.com/users/viluon/orgs","repos_url":"https://api.github.com/users/viluon/repos","events_url":"https://api.github.com/users/viluon/events{/privacy}","received_events_url":"https://api.github.com/users/viluon/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-05-06T18:28:36Z","updated_at":"2015-05-06T18:56:00Z","closed_at":null,"body":"Hello, I'm not sure if it is a good idea to post this as an issue, but I found not FAQ in the thread nor anything similar in the documentation.\r\n\r\n My question is, why doesn't kOS switch to Lua? There are many many enhancements it would bring, listing a few:\r\n\r\n+syntax actually similar to those of *modern* languages\r\n+fast and flexible, easy to bind with C#\r\n+much love amongst programmers\r\n+easy to learn and understand! No confusing CAPS LOCK commands\r\n+actually used in business (Love 2D, Corona SDK), players gain useful knowledge\r\n+OOP is fully possible\r\n+tables allow for simple understanding of structures and objects, no need to know any C languages\r\n+way nicer syntax not only to newbies but also to the eye\r\n+open source \r\n+and much, much more...\r\n\r\nSo yeah, Lua would be great. If not Lua then some other scripting language but seriously, why do you reinvent the wheel? A popular language = a popular mod.\r\n"},"comment":{"url":"https://api.github.com/repos/KSP-KOS/KOS/issues/comments/99572762","html_url":"https://github.com/KSP-KOS/KOS/issues/966#issuecomment-99572762","issue_url":"https://api.github.com/repos/KSP-KOS/KOS/issues/966","id":99572762,"user":{"login":"Dunbaratu","id":5216848,"avatar_url":"https://avatars.githubusercontent.com/u/5216848?v=3","gravatar_id":"","url":"https://api.github.com/users/Dunbaratu","html_url":"https://github.com/Dunbaratu","followers_url":"https://api.github.com/users/Dunbaratu/followers","following_url":"https://api.github.com/users/Dunbaratu/following{/other_user}","gists_url":"https://api.github.com/users/Dunbaratu/gists{/gist_id}","starred_url":"https://api.github.com/users/Dunbaratu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dunbaratu/subscriptions","organizations_url":"https://api.github.com/users/Dunbaratu/orgs","repos_url":"https://api.github.com/users/Dunbaratu/repos","events_url":"https://api.github.com/users/Dunbaratu/events{/privacy}","received_events_url":"https://api.github.com/users/Dunbaratu/received_events","type":"User","site_admin":false},"created_at":"2015-05-06T18:56:00Z","updated_at":"2015-05-06T18:56:00Z","body":"If you want to use an existing language, there is an entirely different approach used by another mod called kRPC that is more appropriate to that style, because it does not attempt to run the code INSIDE the KSP game itself at all - it just provides an api to *talk to* the KSP game from an outside process, and you run what you want as an outside program.  Making it so that you run code in an outside process means that process can be written from whatever language you feel like.  The downside is that kRPC doesn't seem to have been updated as much and is a bit sparser on what it supports from KSP.  But if you seriously want to 'start from scratch' it's probably easier to just start from kRPC and add more to it.\r\n"}}