A dead simple programming language.

Related tags

Networking checked
Overview

checked

Checked is a dead simple programming language.

Variable declarations with type inference

func main() {
    let constantVariable = 5
    var variable = 1
}

If-statements

func main() {
    let value = false
    if value {

    } else {

    }
}

Functions

func myFunction(value: Float) {

}

Functions with anonymous parameters

func myFunction(_ value: Float) {

}

If-assignments

func myFunction(_ value: Bool) -> String {
    let result = if value {
        "string"
    } else {
        "other string"
    }

    return result
}

If-returns

func myFunction(_ value: Bool) -> String {
    return if value {
        "string"
    } else {
        "other string"
    }
}

Complex type inference

func myFunction() -> Int64 {
    return 0
}

func main() {
    let variable = myFunction()
}

Getting started

Check out the samples.

swift run checked build samples/function-call/main.checked
You might also like...
Another network wrapper for URLSession. Built to be simple, small and easy to create tests at the network layer of your application.
Another network wrapper for URLSession. Built to be simple, small and easy to create tests at the network layer of your application.

Another network wrapper for URLSession. Built to be simple, small and easy to create tests at the network layer of your application. Install Carthage

A simple HTTP server written in Swift

http4swift http4swift is a tiny HTTP server library for Nest-compatible applications. This project is unstable, and the API might be changed at anytim

Simple Wi-Fi analyzer for macOS
Simple Wi-Fi analyzer for macOS

Wandra Simple Wi-Fi analyzer for macOS built in SwiftUI. It displays your Signal to Noise Ratio and Received Signal Strength. Basestation SSID and MAC

Showcasing simple SwiftUI and networking capabilities

CovidCounts CovidCounts is powered by SwiftUI. It allows a user to view COVID related data for different U.S. States. App Purpose This app is showcasi

QwikHttp is a robust, yet lightweight and simple to use HTTP networking library for iOS, tvOS and watchOS

QwikHttp is a robust, yet lightweight and simple to use HTTP networking library. It allows you to customize every aspect of your http requests within a single line of code, using a Builder style syntax to keep your code super clean.

Simple REST Client based on RxSwift and Alamofire.

RxRestClient Example To run the example project, clone the repo, and run pod install from the Example directory first. Requirements iOS 10.0+ tvOS 10.

UDPReader : a simple package for reading udp packets

UDPReader is a simple package for reading udp packets

Simple iOS app in Swift to show AQI for some cities using websocket using Combine + MVVM
Simple iOS app in Swift to show AQI for some cities using websocket using Combine + MVVM

AQI Simple iOS app in Swift to show AQI for some cities using websocket using Combine + MVVM This app follows MVVM This app uses combine framework The

A simple, lighweight library for making http requets in iOS

HttpKIT Super simple, super lighweight library for making http requets in IOS. It is a work in progress so PR's are definitelty welcome and highly enc

Owner
Oliver Letterer
Oliver Letterer
RSNetworking is a networking library written entirly for the Swift programming language.

RSNetworking is a networking library written entirly for the Swift programming language.

null 18 Feb 25, 2018
C-Xpress is a modern c-like object oriented programming language running on top of the .NET framework

C-Xpress Programming Language The cxpress programming language is a High Level object oriented programming language running on the .NET Framework C-Xp

null 2 Jan 12, 2022
Fizz Buzz is a very simple programming task, asked in software developer job interviews.

FizzBuzz Fizz Buzz is a very simple programming task, asked in software developer job interviews. A typical round of Fizz Buzz can be: Write a program

Allan Garcia 1 Jun 6, 2022
Language Server Protocol (LSP) client for Swift

LanguageClient This is a Swift library for abstracting and interacting with language servers that implement the Language Server Protocol. It is built

Chime 35 Jan 1, 2023
Login screen using Swift language

Login Screens Design iOS login Screens, with SwiftUI Designs inspired by Project

Kushal Shingote 6 May 23, 2022
A simple OAuth library for iOS with a built-in set of providers

SwiftyOAuth is a small OAuth library with a built-in set of providers and a nice API to add your owns. let instagram: Provider = .instagram(clientID:

Damien 477 Oct 15, 2022
Swift Express is a simple, yet unopinionated web application server written in Swift

Documentation <h5 align="right"><a href="http://demo.swiftexpress.io/">Live ?? server running Demo <img src="https://cdn0.iconfinder.com/data/icons/

Crossroad Labs 850 Dec 2, 2022
A simple class to check for internet connection availability in Swift.

Reach A simple class to check for internet connection availability in Swift. Works for both 3G and WiFi connections. Install Manually Add the Reach.sw

Isuru Nanayakkara 459 Dec 29, 2022
A simple GCD based HTTP client and server, written in 'pure' Swift

SwiftyHTTP Note: I'm probably not going to update this any further - If you need a Swift networking toolset for the server side, consider: Macro.swift

Always Right Institute 116 Aug 6, 2022
Simple asynchronous HTTP networking class for Swift

YYHRequest YYHRequest is a simple and lightweight class for loading asynchronous HTTP requests in Swift. Built on NSURLConnection and NSOperationQueue

yayuhh 77 May 18, 2022