ListLanguages - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.

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.

> 

with⁡CodeGeneration:

> 

LanguageDefinitionListLanguages⁡

C,CSharp,Fortran,Fortran77,Fortran95,IC,Java,JavaScript,Julia,KernelExtensionInternalUseOnly,Matlab,Perl,Pseudocode,Python,R,Swift,VisualBasic,default

(1)
> 

LanguageDefinitionDefine⁡ListLanguagesExample,extend=C,AddFunction⁡sin,anything::anything,sin,AddOperator⁡Names:-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