{"repo":"plasma-umass/cwhy","free":true,"listed":false,"github":"https://github.com/plasma-umass/cwhy","clone":"git clone https://github.com/plasma-umass/cwhy.git","description":"\"See why!\" Explains and suggests fixes for compile-time errors for C, C++, C#, Go, Java, LaTeX, PHP, Python, Ruby, Rust, and TypeScript","language":"Python","stars":303,"topics":["c-plus-plus","c-programming","csharp","golang","java","python","ruby","rust","typescript","latex"],"license":"Apache-2.0","category":"dev-tools","readme_excerpt":"CWhy by Nicolas van Kempen and Emery Berger. (\"See why\") Explains and suggests fixes for compiler error messages for a wide range of programming languages, including C, C++, C#, Go, Java, LaTeX, PHP, Python, Ruby, Rust, Swift, and TypeScript. Installation [!NOTE] CWhy needs to be connected to an OpenAI account. Your account will need to have a positive balance for this to work (check your OpenAI balance). Get an OpenAI key here. You may need to purchase $0.50 - $1 in OpenAI credits depending on when your API account was created. Once you have an API key, set it as an environment variable called OPENAI API KEY . Usage Linux/MacOS The wrapper mode is now default and mandatory, with a slightly modified interface. CWhy can either be used standalone by passing the full command after the triple dashes --- , or as part of a build tool by creating a short executable script wrapping the compiler command. Configuration tools such as CMake or Autoconf will occasionally invoke the compiler to check for features, which will fail and invoke CWhy unnecessarily if not available on the machine. To circumvent this, CWHY DISABLE can be set in the environment to disable CWhy at configuration time. Windows Windows support has been tested using Powershell. On the command line, using Ninja is required as MSBuild / .vcxproj will override any option set. Continuous Integration CI using GitHub actions is straightforward on both Linux and MacOs. On Windows, Ninja is not installed by default on the imag","default_branch":null,"files":null,"tree":[],"storefront":"/r/plasma-umass","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/plasma-umass/cwhy/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}