A partial implementation of POML purely in Rust.
This project is still in early development. Use at your own risk! The API may change significantly in the near term.
- Variables
if/forattribute<let>for assigning values to variables<include>to include other files- Render as Markdown
<code>block- Expression evaluation
- Array item and object field access
+/-/*///%arithmetic operators!/&&/||logical operatorsin/>/</>=/<=rational operators===/!==strict equality operators- Ternary operator
a?b:c.
- Expression evaluation
Examples of supported POML files can be found in supported_poml_docs/. An example program is provided in examples/. You can run it with cargo:
$ cargo run --example poml_render \
supported_poml_docs/2_for_loop_on_context/main.poml \
supported_poml_docs/2_for_loop_on_context/context.json
Copyright (c) 2025, mini-poml-rs authors. All rights reserved.
Released under Mozilla Public License 2.0. See LICENSE.