Close
Close window
YAML - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Mozilla Firefox.
Maplesoft logo
Maplesoft logo

Online Help

All Products Maple MapleSim


[フレーム] [フレーム]

YAML

Tools for parsing and generating data in YAML format

Calling Sequence

YAML:-command(arguments)

command(arguments)

Description

YAML (YAML Ain't Markup Language) is a lightweight data-interchange format.

The YAML package is a collection of commands for parsing YAML data into Maple expressions, and for encoding Maple expressions into YAML format.

Accessing YAML Package Commands

Each command in the YAML package can be accessed by using either the long form or the short form of the command name in the command calling sequence.

The long form, YAML:-command, is always available. The short form can be used after loading the package.

List of YAML Package Commands

The following is a list of commands available in the YAML package.

To display the help page for a particular YAML command, see Getting Help with a Command in a Package .

Examples

>

with(YAML):

>

ParseString("{ name: G Raymond, date: 2016年02月03日, payment: 50.71 }");

tablename=G Raymond,date=2016年02月03日,payment=50.71

(1)
>

ToString( table([ "a"=[2,3,4,5], "b"=3 ]) );

--- a: - 2 - 3 - 4 - 5 b: 3

(2)

Compatibility

The YAML package was introduced in Maple 2017.

For more information on Maple 2017 changes, see Updates in Maple 2017 .

See Also


Download Help Document

AltStyle によって変換されたページ (->オリジナル) /