CodeGeneration[LanguageDefinition] - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Code Generation Package : Language Definition : CodeGeneration/LanguageDefinition/ListLanguages

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:

LanguageDefinition[ListLanguages]

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

(1)

LanguageDefinition[Define]ListLanguagesExample,extend=C,AddFunctionsin,anything::anything,sin,AddOperatorNames:-Assignment=:=:LanguageDefinition[ListLanguages]

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

(2)

See Also

IsDefined

Language Definition Overview

LanguageDefinition

 


Download Help Document

Copyright © MathResources Inc. All Rights Reserved.

www.mathresources.com

Was this information helpful?



Please add your Comment (Optional)
E-mail Address (Optional)
What is ? This question helps us to combat spam