Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cfdrake/swift-dsl-example
A micro domain-specific-language example for NSPredicate written in Swift.
https://github.com/cfdrake/swift-dsl-example
playground swift tutorial
Last synced: 25 days ago
JSON representation
A micro domain-specific-language example for NSPredicate written in Swift.
- Host: GitHub
- URL: https://github.com/cfdrake/swift-dsl-example
- Owner: cfdrake
- License: mit
- Created: 2015-10-29T04:04:26.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-06-17T18:57:37.000Z (over 7 years ago)
- Last Synced: 2024-04-22T12:31:08.194Z (8 months ago)
- Topics: playground, swift, tutorial
- Language: Swift
- Homepage: https://colindrake.me/post/implementing-a-small-dsl-in-swift/
- Size: 6.84 KB
- Stars: 19
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- Awesome-Swift-Playgrounds - Swift DSL Example - Implementation of a DSL in Swift. (Learning Swift: Advanced Topics)
README
# Swift DSL Example
This is my blog article [Implementing a Small DSL in Swift](https://colindrake.me/post/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](http://colindrake.me)!
## 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.