Expand description
Munyo is a language. Since the API documentation isn’t enough to use it, I wrote various materials.
Modules§
- builder
- This module is not intended for general usecases
- error
- Errors for Munyo
- file_io
- Utilities for File IO.
- lang
- This module is not intended for general use
Structs§
- Concurrent
- Read files in a thread and parse them in a thread pool concurrently. The thread and the threads of the pool are automatically destroyed when no tasks are assigned for them. When a task is assigned after that, a new thread is spawned. It costs some, so you may want to assign as much tasks as possible at once to avoid the respawn cost.
- Ignored
AnyVisitor - When you create a custom parser, if you need to get the rest of the line like RestOf, You can do that with this Visitor.
- Munyo
Deserializer - Deserializer to communicate with Serde
- Munyo
Item - Untyped Munyo value which can be used without implementing Serialize/Deserialize
- Munyo
Serializer - Serializer to communicate with Serde.
- RestOf
- This implements custom serde::de::Deserialize, and deserialize the rest of the arguments to a String, ignoring whitespaces. You need to use this as the last argument, otherwise deserialization will fail.
Enums§
- Error
- Error type of Munyo
Functions§
- from_
file - Deserialize items from the path of the source file of the Munyo language.
- from_
str - Deserialize items from the text of the Munyo language.
- from_
str_ with_ metabuilder - The most primitive interface which isn’t good for generic usage.
- from_
str_ with_ path - Deserialize items from the text and the path of the source file of the Munyo language
- to_
string - Serialize items to the text of Munyo language
Type Aliases§
- Result
- Result type of Munyo