Skip to content

tfidfwastaken/yamm

Repository files navigation

yamm

yamm is a yaml preprocessing language I made to practice making DSL’s.

Proposal

--- # The yamms are the powers that be
  processed: $e (equal? 5 5.0) e$
  $e (for/hash ([i (in-range 5)]
               [j '("bunch" "of" "values" "here")])
      (values i j) e$

$e (list "this" "is" "a" "list") e$

Will give:

--- # The yamms are the powers that be
  processed: Yes
  1: bunch
  2: of
  3: values
  4: here

- this
- is
- a
- list

It kinda works, but has a lot of usability and sanity issues that I do not want to really fix at the moment. YAML is quite messy to deal with.

If you need something like this, have a look at Dhall.

About

yet another markup modder

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages