Port documentation from DSL.swift

Relates to #189. Please review.