{"action":"created","issue":{"url":"https://api.github.com/repos/the-neutron-foundation/neutron/issues/4","repository_url":"https://api.github.com/repos/the-neutron-foundation/neutron","labels_url":"https://api.github.com/repos/the-neutron-foundation/neutron/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/the-neutron-foundation/neutron/issues/4/comments","events_url":"https://api.github.com/repos/the-neutron-foundation/neutron/issues/4/events","html_url":"https://github.com/the-neutron-foundation/neutron/issues/4","id":462268625,"node_id":"MDU6SXNzdWU0NjIyNjg2MjU=","number":4,"title":"Interpreter written on top of an interpreter?","user":{"login":"Demonstrandum","id":26842759,"node_id":"MDQ6VXNlcjI2ODQyNzU5","avatar_url":"https://avatars1.githubusercontent.com/u/26842759?v=4","gravatar_id":"","url":"https://api.github.com/users/Demonstrandum","html_url":"https://github.com/Demonstrandum","followers_url":"https://api.github.com/users/Demonstrandum/followers","following_url":"https://api.github.com/users/Demonstrandum/following{/other_user}","gists_url":"https://api.github.com/users/Demonstrandum/gists{/gist_id}","starred_url":"https://api.github.com/users/Demonstrandum/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Demonstrandum/subscriptions","organizations_url":"https://api.github.com/users/Demonstrandum/orgs","repos_url":"https://api.github.com/users/Demonstrandum/repos","events_url":"https://api.github.com/users/Demonstrandum/events{/privacy}","received_events_url":"https://api.github.com/users/Demonstrandum/received_events","type":"User","site_admin":false},"labels":[{"id":1377666910,"node_id":"MDU6TGFiZWwxMzc3NjY2OTEw","url":"https://api.github.com/repos/the-neutron-foundation/neutron/labels/enhancement","name":"enhancement","color":"a2eeef","default":true},{"id":1428486963,"node_id":"MDU6TGFiZWwxNDI4NDg2OTYz","url":"https://api.github.com/repos/the-neutron-foundation/neutron/labels/feature%20request","name":"feature request","color":"7243e0","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":10,"created_at":"2019-06-29T05:43:07Z","updated_at":"2019-07-02T18:05:22Z","closed_at":null,"author_association":"NONE","body":"This implementation will end up being quite slow, given that your writing this high level language in another interpreted high level language. Perhaps consider writing a bytecode compiler. You could compile your parse tree to Python bytecode and have it run on the Python VM. This is a good option because you're already writing it in Python so getting it to work should be easy, although Python bytecode is slightly non-standardised, so that's a con.\nAlternatively you could rewrite this AST traversing interpreter in a compiled language and give it a speed boost, or even do that *and* write a virtual machine and compile it to your own bytecode. "},"comment":{"url":"https://api.github.com/repos/the-neutron-foundation/neutron/issues/comments/507785574","html_url":"https://github.com/the-neutron-foundation/neutron/issues/4#issuecomment-507785574","issue_url":"https://api.github.com/repos/the-neutron-foundation/neutron/issues/4","id":507785574,"node_id":"MDEyOklzc3VlQ29tbWVudDUwNzc4NTU3NA==","user":{"login":"Dmunch04","id":30357821,"node_id":"MDQ6VXNlcjMwMzU3ODIx","avatar_url":"https://avatars1.githubusercontent.com/u/30357821?v=4","gravatar_id":"","url":"https://api.github.com/users/Dmunch04","html_url":"https://github.com/Dmunch04","followers_url":"https://api.github.com/users/Dmunch04/followers","following_url":"https://api.github.com/users/Dmunch04/following{/other_user}","gists_url":"https://api.github.com/users/Dmunch04/gists{/gist_id}","starred_url":"https://api.github.com/users/Dmunch04/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Dmunch04/subscriptions","organizations_url":"https://api.github.com/users/Dmunch04/orgs","repos_url":"https://api.github.com/users/Dmunch04/repos","events_url":"https://api.github.com/users/Dmunch04/events{/privacy}","received_events_url":"https://api.github.com/users/Dmunch04/received_events","type":"User","site_admin":false},"created_at":"2019-07-02T18:05:22Z","updated_at":"2019-07-02T18:05:22Z","author_association":"NONE","body":"Nono. It's not bad, just not as fast. Count me in 🙋‍♂️"}}
{"actor":{"display_login":"Dmunch04"}}