Crate munyo

source ·
Expand description

Munyo is a language. Since the API documentation isn’t enough to use it, I wrote various materials.

See readme samples lang_spec What’s DSL?

Modules§

  • This module is not intended for general usecases
  • Errors for Munyo
  • Utilities for File IO.
  • This module is not intended for general use

Structs§

  • 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.
  • 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.
  • Deserializer to communicate with Serde
  • Untyped Munyo value which can be used without implementing Serialize/Deserialize
  • Serializer to communicate with Serde.
  • 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§

Functions§

  • Deserialize items from the path of the source file of the Munyo language.
  • Deserialize items from the text of the Munyo language.
  • The most primitive interface which isn’t good for generic usage.
  • Deserialize items from the text and the path of the source file of the Munyo language
  • Serialize items to the text of Munyo language

Type Aliases§