CLI tool available?
See original GitHub issueI 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.
Example:
cat model | run_operation RM_PGSQL toPostgreSQL > schema.ddl
Where RM_PGSQL
refers to a grammar and toPostgreSQL
refers to a semantic action (or derivative).
Does something like this exist, or is a common solution planned?
My apologies if I have missed something.
Issue Analytics
- State:
- Created 8 years ago
- Comments:6 (5 by maintainers)
Top Results From Across the Web
Command Line Tools for Developers | Toptal
Command line tools are a necessity for every developer. This article provides an overview of various CLI tools and explains why you should...
Read more >What is a command-line interface (CLI)? - TechTarget
A command-line interface (CLI) is a text-based user interface (UI) used to run programs, manage computer files and interact with the computer. Command-line ......
Read more >50 Useful Command Line Tools Developers Will Love - Stackify
Check out our top 50 roundup of the best command line tools broken out by categories, like Web Development, Utilities, Productivity, ...
Read more >The 10 Best CLI Tools 🛠️ for Software Developer's ...
Httpie is a command-line HTTP client with an intuitive UI, JSON support, syntax highlighting, wget-like downloads, plugins, and more. Using curl ...
Read more >My Favorite CLI Tools - Sebastian Witowski
26 CLI tools that I love. And one that is OK. ... But, at the same time, CLI commands provided by those tools...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m going to close this as we now have an “official” CLI tool.
I also had a need for this, and recently released https://github.com/robertothais/ohm-cli.
It currently only supports validating grammars and recognizing inputs. I’d like to add support for semantic actions soon. Any feedback is welcome.