9 releases (4 breaking)

0.5.1 Jun 17, 2019
0.5.0 Jun 17, 2019
0.4.0 Jun 16, 2019
0.3.0 Jun 14, 2019
0.1.1 Mar 30, 2019

#2343 in Parser implementations

MIT license

15KB
360 lines

vojaq_parser

vojaq_parser is a Rust crate which can parse Vojaq files.

ありがとう {arigatou} thank you
馬鹿 {baka} idiot | stupid
洗い熊 | アライグマ {araiguma} raccoon {animal}
サントノーレ {santonôre} Saint-Honoré {pastry | cake} French

Disclaimer

This crate is very unstable and far from being finished. You probably should not use this crate at the moment.

Vojaq syntax

A variant is a character string which does not contain unescaped {, }, | or a linefeed.

A field is an array of variants separated by a |.

A line is an array of fields in such a way that one in two fields is enclosed between { and }.

A set is an array of lines separated by a linefeed (LF).


lib.rs:

vojaq_parser

vojaq_parser is a Rust crate which can parse Vojaq files.

ありがとう {arigatou} thank you
馬鹿 {baka} idiot | stupid
洗い熊 | アライグマ {araiguma} raccoon {animal}
サントノーレ {santonôre} Saint-Honoré {pastry | cake} French

Disclaimer

This crate is very buggy and far from being finished. You should not use this crate at the moment.

Vojaq syntax

A variant is a character string which does not contain unescaped {, }, | or a linefeed.

A field is an array of variants separated by a |.

A line is an array of fields in such a way that one in two fields is enclosed between { and }.

A set is an array of lines separated by a linefeed (LF).

No runtime deps