YAMLScript Language Track

Fixed in 3 pushed commits.

Thanks heaps for reviewing!!!

I really appreciate you taking your time on this.

I’m working on that as we chat. Hoping to have it ready enough to launch tomorrow. I’ll ping you on discord as I publish things…

I’ll be happy to look at it.

I looked at a couple of the community solutions and was reminded that the language is “Clojure-esque”. It took me a bit to translate

(defn leap-year? [year]
  (and (zero? (mod year 4))
       (or (not (zero? (mod year 100)))
           (zero? (mod year 400)))))

to

defn is-leap-year(year):
  and:
    zero?:
      mod: year 4
    or:
      not:
        zero?:
          mod: year 100
      zero?:
        mod: year 400

The hard part was figuring out where the keys were. Was it

zero?: mod year 100

or

zero?
  mod:
  - year
  - 100

Congrats on getting there with the current docs!

In return I offer you this mentoring gist :D

2 Likes

The YAMLScript track has launched!

Big thanks to everyone here for helping out!

5 Likes

Congratulations. Do you want to do the honors and update the language counter on exercism’s Wikipedia page? It is not up-to-date.

Thank you!
I would be most honored if you updated it. :)

I updated both track counts on that page.

2 Likes

Congratulations!

1 Like