@nexssp/language
Programming Languages database, templates, info..
Note
This Nexss Programmer's plugin is the effect of the refactoring the Nexss Programmer @nexssp/cli which development has been started in 2018. This module can be used also separately without the Nexss Programmer.
Commands
nexssp-language list
nexssp-language [ext] install
nexssp-language installed
nexssp-language update
nexssp-language status
Example: nexssp-language installed
Over 50 programming languages to choose.
Example: nexssp-language list
List of supported languages
Repositories
@nexssp/language usege external repositories for all languages. List of them is located in the src/nexssp-language-repos.json
file.
const languages = require('@nexssp/languages')
console.log(languages.list())
console.log(languages.languageNames())
const selectedLanguage = languages.byFilename('myfile.js')
const selectedLanguage = languages.byExtension('js')
selectedLanguage.compiler()
selectedLanguage.compiler('python3')
selectedLanguage.compiler('python3', true)
selectedLanguage.builder()
selectedLanguage.getCompilerOrBuilder()
selectedLanguage.config()
Troubleshooting
Environment variables
- NEXSS_LANGUAGE_ENABLE_PROJECT_FOLDER - enable also search in current/project folder
process.env.NEXSS_LANGUAGE_ENABLE_PROJECT_FOLDER = true