ListLanguages - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.
Our website is currently undergoing maintenance, which may result in occasional errors while browsing. We apologize for any inconvenience this may cause and are working swiftly to restore full functionality. Thank you for your patience.

Online Help

All Products    Maple    MapleSim


CodeGeneration[LanguageDefinition]

  

ListLanguages

  

list defined languages

 

Calling Sequence

Description

Examples

Calling Sequence

CodeGeneration[LanguageDefinition][ListLanguages]()

Description

• 

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.

Examples

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

(1)

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

(2)

See Also

IsDefined

Language Definition Overview

LanguageDefinition