awesome-result-builders
A list of cool DSLs made with Swift 5.4’s @resultBuilder
https://github.com/carson-katri/awesome-result-builders
Last synced: about 10 hours ago
JSON representation
-
Testing
- SwiftValidation
- Rorschach - Write XCTest tests in BDD style 🤷🏻♂️
-
UIKit
- TurtleBuilder - Turtle graphics made on the top of Swift's function builder. It allows you to use a Logo-like syntax to create and draw lines in your Swift project.
- FlooidLayout - Setup autolayout constraints in a declerative way
- BoxLayout - [WIP] SwiftUI's interface like AutoLayout DSL
- LegoKit
- Mockingbird - An experiment of implementing a UI layout and rendering framework inspired by SwiftUI
-
AppKit
- MenuBuilder - A convenient way to create menus.
-
Other
- Pappe - A Proof of concept embedded interpreted synchronous DSL for Swift.
- SyntaxBuilder - A *toy* Swift code generator based on SwiftSyntax
- Narratore - A library to generate interactive stories and narrative games, that uses a DSL to write the story.
-
Guides
-
GraphQL
- Artemis - Interact with GraphQL in Swift - not strings
- graphique - Experimental GraphQL query builders
- Graphiti - Swift GraphQL Schema/Type framework for macOS and Linux
- SociableWeaver - Build declarative GraphQL queries in Swift.
-
HTML
- Vaux - A HTML DSL library for Swift
- HyperSwift - A Swift DSL for generating HTML and CSS documents
- Mongrel - Build declarative HTML in Swift.
- Swep - Writing type-safe HTML/CSS declaratively.
-
Parsing
- HTMLParserBuilder - Build your HTML parser with declarative syntax and strongly-typed result.
- DeepCodable - Encode and decode deeply-nested data into flat Swift objects
-
Networking
- swift-request - Declarative HTTP networking, designed for SwiftUI
-
NSAttributedString
- NSAttributedStringBuilder - Composing NSAttributedString with SwiftUI-style syntax
-
REST
-
Server-Side
- MacroApp - A SwiftUI-like, declarative way to setup endpoints for the [MacroExpress](https://github.com/Macro-swift/MacroExpress) SwiftNIO based web framework framework
- Meridian - A web server written in Swift that lets you write your endpoints in a declarative way
- VaporDSL - Declarative, structured syntax for Vapor.
-
SwiftUI
- ControlFlowUI - A library that add control flow functionality to SwitUI, using the power of `@functionBuilder` and `ViewBuilder`
- PathBuilder - Implementation of function builder for SwiftUI Path.
- SwiftWebUI - A demo implementation of SwiftUI for the Web
- SequenceBuilder - Allows you to build arbitrary heterogenous sequences without loosing information about the underlying types. It is especially useful for building custom container views in SwiftUI.
- SwiftDB - A type-safe, SwiftUI-inspired wrapper around CoreData
- ComposableNavigator - The **ComposableNavigator** is based on the concept of PathBuilder composition in form of a NavigationTree. A NavigationTree composes PathBuilders to describe all valid navigation paths in an application. That also means that all screens in our application are accessible via a pre-defined navigation path.
- here
-
Data
- BitWiser - A simple library to help you in dealing with bytes, bits, nibbles and Data
- BoolBuilder - Build complex Bool values in an easy to understasnd way while perserving short-circuit semantics and exception handling capabilities
-
Dependency Injection
- DependencyInjection - Dependency injection with function builders and property wrappers
Programming Languages
Categories
Sub Categories
Keywords
swift
16
dsl
10
swiftui
7
functionbuilder
5
graphql
4
vapor
3
html
3
ios
3
function-builder
2
codable
2
swiftpm
2
resultbuilder
2
result-builder
2
swift5
2
macos
2
declarative
2
css
1
swift-nio
1
declarative-programming
1
declarative-ui
1
generate-css
1
generate-html
1
rendering
1
server-side-swift
1
swep
1
swift-web-page
1
webpage
1
composition
1
modularity
1
navigation
1
domain-specific-language
1
swift-package-manager
1
xcode
1
backend
1
corvus
1
databases
1
rest
1
rest-api
1
server
1
dependency-injection-framework
1
inversion-of-control
1
property-wrappers
1
artemis
1
property-wrapper
1
relationship
1
runtime
1
sql
1
type-safe
1
wrapper
1
bdd
1