CodeGeneration[LanguageDefinition]
ListLanguages
list defined languages
Calling Sequence
Description
Examples
CodeGeneration[LanguageDefinition][ListLanguages]()
The ListLanguages command lists the names of all languages which have been defined for use by CodeGeneration, including built-in languages.
Once added with Add or Define, user-defined languages should appear in the list returned by ListLanguages.
Define a new language ListLanguagesExample with Define, and check that it now appears in the list of defined languages.
withCodeGeneration:
LanguageDefinitionListLanguages
C,CSharp,Fortran,Fortran77,Fortran95,IC,Java,JavaScript,Julia,KernelExtensionInternalUseOnly,Matlab,Perl,Pseudocode,Python,R,Swift,VisualBasic,default
LanguageDefinitionDefineListLanguagesExample,extend=C,AddFunctionsin,anything::anything,sin,AddOperatorNames:-Assignment=:=:LanguageDefinitionListLanguages
C,CSharp,Fortran,Fortran77,Fortran95,IC,Java,JavaScript,Julia,KernelExtensionInternalUseOnly,ListLanguagesExample,Matlab,Perl,Pseudocode,Python,R,Swift,VisualBasic,default
See Also
IsDefined
Language Definition Overview
LanguageDefinition
Download Help Document