{"action":"created","issue":{"url":"https://api.github.com/repos/morganey-lang/morganey-vscode-extension/issues/1","repository_url":"https://api.github.com/repos/morganey-lang/morganey-vscode-extension","labels_url":"https://api.github.com/repos/morganey-lang/morganey-vscode-extension/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/morganey-lang/morganey-vscode-extension/issues/1/comments","events_url":"https://api.github.com/repos/morganey-lang/morganey-vscode-extension/issues/1/events","html_url":"https://github.com/morganey-lang/morganey-vscode-extension/issues/1","id":181469540,"number":1,"title":"Figure Out How To Run Morganey From Typescript","user":{"login":"06needhamt","id":4162227,"avatar_url":"https://avatars.githubusercontent.com/u/4162227?v=3","gravatar_id":"","url":"https://api.github.com/users/06needhamt","html_url":"https://github.com/06needhamt","followers_url":"https://api.github.com/users/06needhamt/followers","following_url":"https://api.github.com/users/06needhamt/following{/other_user}","gists_url":"https://api.github.com/users/06needhamt/gists{/gist_id}","starred_url":"https://api.github.com/users/06needhamt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/06needhamt/subscriptions","organizations_url":"https://api.github.com/users/06needhamt/orgs","repos_url":"https://api.github.com/users/06needhamt/repos","events_url":"https://api.github.com/users/06needhamt/events{/privacy}","received_events_url":"https://api.github.com/users/06needhamt/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/morganey-lang/morganey-vscode-extension/labels/enhancement","name":"enhancement","color":"84b6eb"},{"url":"https://api.github.com/repos/morganey-lang/morganey-vscode-extension/labels/research","name":"research","color":"c2e0c6"}],"state":"open","locked":false,"assignee":{"login":"06needhamt","id":4162227,"avatar_url":"https://avatars.githubusercontent.com/u/4162227?v=3","gravatar_id":"","url":"https://api.github.com/users/06needhamt","html_url":"https://github.com/06needhamt","followers_url":"https://api.github.com/users/06needhamt/followers","following_url":"https://api.github.com/users/06needhamt/following{/other_user}","gists_url":"https://api.github.com/users/06needhamt/gists{/gist_id}","starred_url":"https://api.github.com/users/06needhamt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/06needhamt/subscriptions","organizations_url":"https://api.github.com/users/06needhamt/orgs","repos_url":"https://api.github.com/users/06needhamt/repos","events_url":"https://api.github.com/users/06needhamt/events{/privacy}","received_events_url":"https://api.github.com/users/06needhamt/received_events","type":"User","site_admin":false},"assignees":[{"login":"06needhamt","id":4162227,"avatar_url":"https://avatars.githubusercontent.com/u/4162227?v=3","gravatar_id":"","url":"https://api.github.com/users/06needhamt","html_url":"https://github.com/06needhamt","followers_url":"https://api.github.com/users/06needhamt/followers","following_url":"https://api.github.com/users/06needhamt/following{/other_user}","gists_url":"https://api.github.com/users/06needhamt/gists{/gist_id}","starred_url":"https://api.github.com/users/06needhamt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/06needhamt/subscriptions","organizations_url":"https://api.github.com/users/06needhamt/orgs","repos_url":"https://api.github.com/users/06needhamt/repos","events_url":"https://api.github.com/users/06needhamt/events{/privacy}","received_events_url":"https://api.github.com/users/06needhamt/received_events","type":"User","site_admin":false}],"milestone":null,"comments":4,"created_at":"2016-10-06T16:53:00Z","updated_at":"2016-10-06T17:14:57Z","closed_at":null,"body":"Possible Solutions\r\n\r\n- [https://stackoverflow.com/questions/29242529/node-js-run-a-java-program](https://stackoverflow.com/questions/29242529/node-js-run-a-java-program)\r\n- [https://github.com/joeferner/node-java](https://github.com/joeferner/node-java)"},"comment":{"url":"https://api.github.com/repos/morganey-lang/morganey-vscode-extension/issues/comments/252028664","html_url":"https://github.com/morganey-lang/morganey-vscode-extension/issues/1#issuecomment-252028664","issue_url":"https://api.github.com/repos/morganey-lang/morganey-vscode-extension/issues/1","id":252028664,"user":{"login":"ForNeVeR","id":92793,"avatar_url":"https://avatars.githubusercontent.com/u/92793?v=3","gravatar_id":"","url":"https://api.github.com/users/ForNeVeR","html_url":"https://github.com/ForNeVeR","followers_url":"https://api.github.com/users/ForNeVeR/followers","following_url":"https://api.github.com/users/ForNeVeR/following{/other_user}","gists_url":"https://api.github.com/users/ForNeVeR/gists{/gist_id}","starred_url":"https://api.github.com/users/ForNeVeR/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ForNeVeR/subscriptions","organizations_url":"https://api.github.com/users/ForNeVeR/orgs","repos_url":"https://api.github.com/users/ForNeVeR/repos","events_url":"https://api.github.com/users/ForNeVeR/events{/privacy}","received_events_url":"https://api.github.com/users/ForNeVeR/received_events","type":"User","site_admin":false},"created_at":"2016-10-06T17:14:57Z","updated_at":"2016-10-06T17:14:57Z","body":"Well, actually you have multiple options.\r\n\r\n1. You could write an integration server in Java and expose external HTTP, or socket, or pipe API. node.js could ask server to do things using its standard HTTP or TCP functionality. I think that's how the most popular language services are written today.\r\n2. You could make Java program execute your JavaScript code! There's a decent [Nashorn](http://openjdk.java.net/projects/nashorn/) JavaScript engine built in our JDK right now. Although I'm not sure how we would interprocess with it — probably using the same pipes, sockets or HTTP?\r\n\r\nOption 1 is probably easier to implement if you're on the Java side; option 2 is probably easier if you're on JavaScript side.\r\n\r\nIf you will provide some examples of what particular API calls you want to make, I'll probably be able to provide further advice."}}
{"actor":{"display_login":"ForNeVeR"}}