A micro domain-specific-language example for NSPredicate written in Swift.
Swift
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
SwiftDSL.playground Initial import Oct 29, 2015
.gitignore Initial import Oct 29, 2015
LICENSE Add in MIT license Oct 29, 2015
README.md Add in README Oct 29, 2015

README.md

Swift DSL Example

This is my blog article Implementing a Small DSL in Swift implemented as a literate program in a Swift playground.

If you like this, feel free to check out my site!

Troubleshooting

If the Markdown is not rendering, click Editor and then Show Rendered Markdown.

Caveats

Note: Please keep in mind that this is a proof-of-concept/tutorial only. This code is not production ready.