Auto-detect the programming language of any code
Use the Inferlang API to programmatically build language detection into your application
POST: https://inferlang.com/api/detect
Request Body | |
---|---|
code (required) |
Code input you would like to identify the language for as a string |
Returns | |
---|---|
language |
Name of the language detected |
You can run the Interlang app in your local machine
First, install the dependencies using
npm install
Then run the Next.JS application using
npm run dev
Open http://localhost:3000 with your browser to see the result.
Inferlang is powered by and GuessLang and hosted by Mintlify. You can find out more at
-
GuessLang Documentation - Guesslang detects the programming language of a given source code. It supports more than 50 programming languages and detects the correct programming language with more than 90% accuracy.
-
Mintlify Signup - The search engine in your codebase
You can check out the Inferlang repository - your feedback and contributions are welcome!