Crates.io | angelmarkup |
lib.rs | angelmarkup |
version | 1.1.0 |
source | src |
created_at | 2022-04-18 10:16:30.249935 |
updated_at | 2022-05-01 09:17:36.583992 |
description | Simple data storage with no drama. |
homepage | https://github.com/iamtheblackunicorn/angelmarkup |
repository | https://github.com/iamtheblackunicorn/angelmarkup |
max_upload_size | |
id | 569790 |
size | 22,669 |
Simple data storage with no drama.
Since I am currently working on the static-site generator oriented towards blogs called Acid, I need a data-storage format which allows comments and doesn't like drama. ANGEL MARKUP LANGUAGE is that format.
You should have the following tools installed and available from the command line:
To install Angel Markup, there are two options:
$ cargo install --git https://github.com/iamtheblackunicorn/angelmarkup
$ cargo install angelmarkup
This should make the amlc
binary available from the command line.
Once you have correctly installed ANGELMARKUP, you should have the amlc
binary available from the command line.
You can use the compiler in the following ways:
$ amlc --inf sample.aml --ouf sample.yml --yml
# OR
$ amlc -i sample.aml -o sample.yml -y
$ amlc --inf sample.aml --ouf sample.toml --tml
# OR
$ amlc -i sample.aml -o sample.toml -t
$ amlc --inf sample.aml --ouf sample.json --jsn
# OR
$ amlc -i sample.aml -o sample.json -j
$ amlc --version
# OR
$ amlc -v
$ amlc --help
# OR
$ amlc -h
To use ANGELMARKUP in your projects, add this to your Cargo.toml
:
[dependencies]
angelmarkup = "1.1.0"
To import ANGELMARKUP's functions, put this line of code inside your Rust code:
use angelmarkup::*;
To refer to ANGELMARKUP's functions and structs, please click here.
cleasy.
Result
for the serialize
method.enum
for Angelmarkup Language code.