Skip to content
/ syml Public

SYML (Simple YAML-like Markup Language) is a simple markup language with similar structure to YAML, but without all the gewgaws and folderol.

License

Notifications You must be signed in to change notification settings

eykd/syml

Repository files navigation

SYML

GitHub Actions Workflow Status PyPI - Version

SYML (Simple YAML-like Markup Language) is a simple markup language with similar structure to YAML, but without all the gewgaws and folderol.

Example

Here's a simple SYML document:

>>> document = """
foo:
  - bar
  - baz
  - blah
    boo
    baloon

booleans?:
  - True
  - False
  - true
  - false
  - TRUE
  - FALSE
"""

And the resulting data structure::

>>> import syml
>>> syml.loads(document)
{'foo': ['bar', 'baz', 'blah\nboo\nbaloon'],
 'booleans?': ['True', 'False', 'true', 'false', 'TRUE', 'FALSE']}

All leaf values in SYML are just plain ol' strings. No ints, floats, bools, or nasty remote code execution bugs!

About

SYML (Simple YAML-like Markup Language) is a simple markup language with similar structure to YAML, but without all the gewgaws and folderol.

Resources

License

Stars

Watchers

Forks

Packages

No packages published