Tomboy toml dom
For those who are struggling with Rust's cool syntax, our goal is to provide a TOML parser that's as easy as pointing to a menu and eating fast food.
Rustのイケてる構文に難儀している人のために、メニューを指差してファーストフードを食べるぐらい簡単な操作のTOMLパーサーを提供することを目標とします。
Unstable version. It's a tryal and error process. Specifications will change.
不安定版。 試行錯誤中です。 仕様はコロコロ変わるでしょう。
Tomboy is a pun.
トムボーイ(おてんば娘)は語呂合わせです。
References:
Run (実行)
Take a look at the repository.
リポジトリを見てください。
cargo run --example comment
cargo run --example example
cargo run --example inline_table
cargo run --example main
cargo run --example mix_array
cargo run --example spot
cargo run --example table
cargo run --example toml-io-en-a-quick-tour-of-toml-v100rc3
Specification (仕様)
The specifications will gradually solidify.
仕様は少しずつ固めていきます。
You can think that you can't do anything that isn't written here.
ここに書かれていないことは何もできないと思ってもらって構いません。
//! An exemplary program.
//! 模範的なプログラム。
//!
//! `cargo run --example example`
extern crate tomboy_toml_dom;
use ;
use Toml;
TODO
- Literal
- Parsing a literal containing dots. Example:
3.14
.
ドットを含むリテラル文字列の解析。例:3.14
。 - Literal numbers...
-
0x
- hex. -
0o
- oct. -
0b
- binary. -
_
- space. -
nan
- Not a number. -
+nan
- Not a number. -
-nan
- Not a number.
-
- Parsing a literal containing dots. Example:
- String (Not str)
-
"abc"
- Basic string.- Plain.
- Escape sequence.
-
"""abc"""
- Multi-line basic string.- Plain.
- Escape sequence.
- Ending backslash to automatically trim.
-
'abc'
- Literal string.- Plain.
-
'''abc'''
- multi-line literal string.- Plain.
- The first newline is trimmed in raw string.
- Escape sequence.
-
\r
- caridge return. -
\n
- line feed. -
\t
- tab. -
\\
- tab. -
\"
- tab. -
\u0000
- Unicode. -
\U00000000
- Unicode.
-
-
- DateTime
- UTC
-
1979-05-27T07:32:00-08:00
.
-
- UTC