{"action":"created","issue":{"url":"https://api.github.com/repos/otland/forgottenserver/issues/2246","repository_url":"https://api.github.com/repos/otland/forgottenserver","labels_url":"https://api.github.com/repos/otland/forgottenserver/issues/2246/labels{/name}","comments_url":"https://api.github.com/repos/otland/forgottenserver/issues/2246/comments","events_url":"https://api.github.com/repos/otland/forgottenserver/issues/2246/events","html_url":"https://github.com/otland/forgottenserver/issues/2246","id":227988012,"number":2246,"title":"[Question] Introducing more scripting languages","user":{"login":"pzaj2","id":19946083,"avatar_url":"https://avatars1.githubusercontent.com/u/19946083?v=3","gravatar_id":"","url":"https://api.github.com/users/pzaj2","html_url":"https://github.com/pzaj2","followers_url":"https://api.github.com/users/pzaj2/followers","following_url":"https://api.github.com/users/pzaj2/following{/other_user}","gists_url":"https://api.github.com/users/pzaj2/gists{/gist_id}","starred_url":"https://api.github.com/users/pzaj2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pzaj2/subscriptions","organizations_url":"https://api.github.com/users/pzaj2/orgs","repos_url":"https://api.github.com/users/pzaj2/repos","events_url":"https://api.github.com/users/pzaj2/events{/privacy}","received_events_url":"https://api.github.com/users/pzaj2/received_events","type":"User","site_admin":false},"labels":[{"id":45832747,"url":"https://api.github.com/repos/otland/forgottenserver/labels/question","name":"question","color":"cc317c","default":true}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2017-05-11T13:17:26Z","updated_at":"2017-05-13T18:03:50Z","closed_at":null,"body":"Hello\r\n\r\nJust some sort of a question / enquiry. Would you consider introducing other scripting languages to work with TFS? Like python for example?\r\n\r\nI admit I didn't look into this yet, so this is strictly a theory, but would you find it feasible to abstract the exposure of functions / objects / whatever is available in lua and thus allow writing \"wrappers\" (or call it however you wish to call it) for scripting languages to work with TFS. Most probably also introducing pluggable architecture for these wrappers, so you can load them based on config, working either exlusively or side by side.\r\n\r\nThe question is both theoretical (whether it would be feasible) and practical (as in, if you consider it a valuable addition).\r\n\r\nYou may ask for reasons, well, I believe this could attract people with different background, for example web developers using python for back-end, to work on scripts for TFS. Another reason, perhaps even more important from developers point of view, would be the ability to switch to another scripting language more easily (a good example here is Squirrel which seems a nice alternative, offering syntax closer to C++ and is Object-oriented) without the need to trash all currently used lua scripts."},"comment":{"url":"https://api.github.com/repos/otland/forgottenserver/issues/comments/301264378","html_url":"https://github.com/otland/forgottenserver/issues/2246#issuecomment-301264378","issue_url":"https://api.github.com/repos/otland/forgottenserver/issues/2246","id":301264378,"user":{"login":"pzaj2","id":19946083,"avatar_url":"https://avatars1.githubusercontent.com/u/19946083?v=3","gravatar_id":"","url":"https://api.github.com/users/pzaj2","html_url":"https://github.com/pzaj2","followers_url":"https://api.github.com/users/pzaj2/followers","following_url":"https://api.github.com/users/pzaj2/following{/other_user}","gists_url":"https://api.github.com/users/pzaj2/gists{/gist_id}","starred_url":"https://api.github.com/users/pzaj2/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pzaj2/subscriptions","organizations_url":"https://api.github.com/users/pzaj2/orgs","repos_url":"https://api.github.com/users/pzaj2/repos","events_url":"https://api.github.com/users/pzaj2/events{/privacy}","received_events_url":"https://api.github.com/users/pzaj2/received_events","type":"User","site_admin":false},"created_at":"2017-05-13T18:03:50Z","updated_at":"2017-05-13T18:03:50Z","body":"@djarek \r\n\r\nYes, I agree that rewriting part of code that significant without tidying it up makes no real sense. Perhaps these two things could be done simultaneously, which would result in neat and decoupled abstraction layer for scripting. But I suppose it could as well wait for the clean up.\r\n\r\nWould you mind if I ask why compile-time feature would be better? Othen than being probably easier to implement. Do you think it could have significant impact on performance to make the choice on startup?\r\n\r\nIn the end I think it would be nice addition, whether compile-time feature or configurable on startup and I'm glad to see it being taken under consideration."}}
{"actor":{"display_login":"pzaj2"}}