https://github.com/queil/yzl
F# DSL for YAML
https://github.com/queil/yzl
dsl yaml yzl
Last synced: 4 months ago
JSON representation
F# DSL for YAML
- Host: GitHub
- URL: https://github.com/queil/yzl
- Owner: queil
- License: apache-2.0
- Created: 2020-03-11T08:37:27.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2026-02-23T14:45:03.000Z (4 months ago)
- Last Synced: 2026-02-23T21:39:30.324Z (4 months ago)
- Topics: dsl, yaml, yzl
- Language: F#
- Homepage: https://queil.github.io/yzl/
- Size: 1.38 MB
- Stars: 7
- Watchers: 1
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: docs/contributing.md
- License: LICENSE
Awesome Lists containing this project
README
# yzl [](https://dev.azure.com/queil/yzl/_build/latest?definitionId=2&branchName=master) [](https://www.nuget.org/packages/Yzl) 
yzl /ˈiːz(ə)l/ - YAML Zero-Language - F# DSL for YAML
Yzl is a DSL alternative for templating YAML. It was inspired by [Suave HTML View Engine](https://github.com/SuaveIO/suave/blob/master/src/Suave.Experimental/Html.fs).
## Docs
https://queil.github.io/yzl/
## Example
[Full code here](tests/Example.fs)
Yzl:
```fsharp
! [
name "Martin D'vloper"
job "Developer"
skill "Elite"
employed true
foods [
! "Apple"
! "Orange"
! "Strawberry"
! "Mango" ]
languages [
perl "Elite"
python "Elite"
pascal "Lame" ]
education !|
"""
4 GCSEs
3 A-Levels
BSc in the Internet of Things
"""
]
```
Yaml:
```yaml
name: Martin D'vloper
job: Developer
skill: Elite
employed: true
foods:
- Apple
- Orange
- Strawberry
- Mango
languages:
perl: Elite
python: Elite
pascal: Lame
education: |
4 GCSEs
3 A-Levels
BSc in the Internet of Things
```