{"action":"created","issue":{"url":"https://api.github.com/repos/harc/ohm/issues/71","repository_url":"https://api.github.com/repos/harc/ohm","labels_url":"https://api.github.com/repos/harc/ohm/issues/71/labels{/name}","comments_url":"https://api.github.com/repos/harc/ohm/issues/71/comments","events_url":"https://api.github.com/repos/harc/ohm/issues/71/events","html_url":"https://github.com/harc/ohm/issues/71","id":138316276,"number":71,"title":"CLI tool available?","user":{"login":"blakelapierre","id":777467,"avatar_url":"https://avatars0.githubusercontent.com/u/777467?v=4","gravatar_id":"","url":"https://api.github.com/users/blakelapierre","html_url":"https://github.com/blakelapierre","followers_url":"https://api.github.com/users/blakelapierre/followers","following_url":"https://api.github.com/users/blakelapierre/following{/other_user}","gists_url":"https://api.github.com/users/blakelapierre/gists{/gist_id}","starred_url":"https://api.github.com/users/blakelapierre/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blakelapierre/subscriptions","organizations_url":"https://api.github.com/users/blakelapierre/orgs","repos_url":"https://api.github.com/users/blakelapierre/repos","events_url":"https://api.github.com/users/blakelapierre/events{/privacy}","received_events_url":"https://api.github.com/users/blakelapierre/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-03-03T22:30:14Z","updated_at":"2018-02-19T17:54:42Z","closed_at":null,"author_association":"NONE","body":"I want to be able to run files and stdin through particular grammars and semantic operations that will generate files or print results to stdout. I've started building my own tooling for doing this with my own work, but wanted to check to see if something already existed and I didn't find anything in a cursory search through the repositories posted here.\n\nExample:\n\n``` bash\ncat model | run_operation RM_PGSQL toPostgreSQL > schema.ddl\n```\n\nWhere `RM_PGSQL` refers to a grammar and `toPostgreSQL` refers to a semantic action (or derivative).\n\nDoes something like this exist, or is a common solution planned? \n\nMy apologies if I have missed something.\n"},"comment":{"url":"https://api.github.com/repos/harc/ohm/issues/comments/366764867","html_url":"https://github.com/harc/ohm/issues/71#issuecomment-366764867","issue_url":"https://api.github.com/repos/harc/ohm/issues/71","id":366764867,"user":{"login":"robertothais","id":94255,"avatar_url":"https://avatars1.githubusercontent.com/u/94255?v=4","gravatar_id":"","url":"https://api.github.com/users/robertothais","html_url":"https://github.com/robertothais","followers_url":"https://api.github.com/users/robertothais/followers","following_url":"https://api.github.com/users/robertothais/following{/other_user}","gists_url":"https://api.github.com/users/robertothais/gists{/gist_id}","starred_url":"https://api.github.com/users/robertothais/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/robertothais/subscriptions","organizations_url":"https://api.github.com/users/robertothais/orgs","repos_url":"https://api.github.com/users/robertothais/repos","events_url":"https://api.github.com/users/robertothais/events{/privacy}","received_events_url":"https://api.github.com/users/robertothais/received_events","type":"User","site_admin":false},"created_at":"2018-02-19T17:54:42Z","updated_at":"2018-02-19T17:54:42Z","author_association":"NONE","body":"I also had a need for this, and recently released https://github.com/robertothais/ohm-cli.\r\n\r\nIt currently only supports validating grammars and recognizing inputs. I'd like to add support for semantic actions soon. Any feedback is welcome."}}
{"actor":{"display_login":"robertothais"}}