{"id":16683741,"url":"https://github.com/sd10/swift-compiler-stuff","last_synced_at":"2026-03-07T01:35:47.831Z","repository":{"id":83565470,"uuid":"107837105","full_name":"SD10/swift-compiler-stuff","owner":"SD10","description":"A scraped list of resources/inspiration for learning programming lang implementation in Swift","archived":false,"fork":false,"pushed_at":"2018-03-12T16:23:09.000Z","size":15,"stargazers_count":53,"open_issues_count":0,"forks_count":1,"subscribers_count":5,"default_branch":"master","last_synced_at":"2026-02-01T14:52:30.526Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SD10.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-10-22T04:24:32.000Z","updated_at":"2020-01-08T14:13:37.000Z","dependencies_parsed_at":"2023-07-07T19:15:16.823Z","dependency_job_id":null,"html_url":"https://github.com/SD10/swift-compiler-stuff","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/SD10/swift-compiler-stuff","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SD10%2Fswift-compiler-stuff","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SD10%2Fswift-compiler-stuff/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SD10%2Fswift-compiler-stuff/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SD10%2Fswift-compiler-stuff/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SD10","download_url":"https://codeload.github.com/SD10/swift-compiler-stuff/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SD10%2Fswift-compiler-stuff/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30205234,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-06T19:07:06.838Z","status":"ssl_error","status_checked_at":"2026-03-06T18:57:34.882Z","response_time":250,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-12T14:25:57.665Z","updated_at":"2026-03-07T01:35:47.805Z","avatar_url":"https://github.com/SD10.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# swift-compiler-stuff\nA scraped list of resources/inspiration for learning programming lang implementation in Swift\n\n### Why?\n\nI've become fascinated with programming language implementation and design and I think it would be amazing to make a contribution to an open source language one day 😅. Just a list of random resources and inspiration for me as I begin this exploration. Most references are related to Swift, as it's the language I'm most comfortable with. \n\n\n### Repositories\n\n\u2028\u2028https://github.com/marciok/Mu - It's a Swift playground explaining how to create a tiny programming language named Mu\n\n\u2028\u2028https://github.com/louisdh/lioness - The Lioness Programming Language\n\n\u2028\u2028https://github.com/louisdh/cub - The Cub Programming Language\n\n\u2028\u2028https://github.com/silt-lang/silt - An ML-like programming language.\n\n\u2028\u2028https://github.com/trill-lang - A type safe, compiled language inspired by (and written in) Swift\n\n\u2028\u2028https://github.com/trill-lang/Kaleidoscope - Kaleidoscope is an LLVM language for writing tutorials.\n\n\u2028\u2028https://github.com/harlanhaskins/Kaleidoscope-Swift - A compiler for the Kaleidoscope sample project, written in Swift\n\n\u2028\u2028https://github.com/bencochran/Kaleidoscope - Simple programming language written in Swift and compiled with LLVM\n\n\u2028\u2028https://github.com/kai-language/kai - An expressive low level programming language http://docs.kai-lang.org\n\n\u2028\u2028https://github.com/joewillsher/Vist - The Vist programming language\n\n\u2028\u2028https://github.com/dcutting/Song - Song is a terse functional programming language.\n\n\u2028\u2028https://github.com/alexito4/slox - Swift implementation of a Lox interpreter\n\n\u2028\u2028https://github.com/hashemi/slox - Lox tree-walking interpreter written in Swift - Based on Part II of Bob Nystrom's Book \"Crafting Interpreters\"\n\n\u2028\u2028https://github.com/hashemi/bslox - Lox bytecode VM written in Swift - Based on Part III of Bob Nystrom's Book \"Crafting Interpreters\"\n\n\u2028\u2028https://github.com/eirikvaa/slox - Swift implementation of the Lox programming language as seen in the Crafting Interpreters book by Bob Nystrom\n\n\u2028\u2028https://github.com/yanagiba/swift-transform - A source-to-source compiler that transforms Swift code and produces the equivalent source code in other programming languages. http://yanagiba.org/swift-transform\n\n\u2028\u2028https://github.com/SlayterDev/DeafShark - The DeafShark Programming Language implemented in Swift, Objective-C++, and LLVM http://slayterdev.github.io/DeafShark\n\n\u2028\u2028https://github.com/kyouko-taiga/anzen - The Anzen programming language.\n\n\u2028\u2028https://github.com/bencochran/Kaleidoscope - Simple programming language written in Swift and compiled with LLVM\n\n\u2028\u2028https://github.com/orbit-lang/Orbit - Orbit programming language\n\n\u2028\u2028https://github.com/jweinst1/Pigeon - A streamable, fast interpreted programming language\n\n\u2028\u2028https://github.com/BrettRToomey/Llama - A programming language made in Swift 3\n\n\u2028\u2028https://github.com/marciok/Fabienne - Fabienne is a programming language, inspired by kaleidoscope.\n\n\u2028\u2028https://github.com/caosuyang/Swizzle - Swizzle - The Swift Programming Language, Started in the Swift, version 3.1\n\n\u2028\u2028https://github.com/michaelkent94/willow - willow is a programming language\n\n\u2028\u2028https://github.com/vinivendra/jokr - The Jokr Programming Language.\n\n\u2028\u2028https://github.com/jweinst1/fenon - The abstract programming language\n\n\u2028\u2028https://github.com/kyouko-taiga/void-lang - The void programming language\n\n\u2028\u2028https://github.com/josephessin/Mindnumb - Mindnumb Compiler for the Mindfudge Programming Language\n\n\u2028\u2028https://github.com/jweinst1/CornFlake - A small programming language interpreted in Swift\n\n\u2028\u2028https://github.com/ZidPlan/zid-swift - ZID implementation in Swift programming language\n\n\u2028\u2028https://github.com/luosheng/HQ9Plus - HQ9+ is a joke programming language.\n\n\u2028\u2028https://github.com/emlai/gaia - A statically duck-typed functional programming language. Pre-alpha. https://emlai.github.io/gaia/\n\n\u2028\u2028https://github.com/jpeinelt/kopke - Programming language implemented in Swift for the LLVM\n\n\u2028\u2028https://github.com/anayini/swiftlox - Implementation of the Lox programming language in Swift\n\n\u2028\u2028https://github.com/ninguid-owl/Invocat - A nondeterministic, generative programming language for aleatory text.\n\n\u2028\u2028https://github.com/dcutting/song - Song is a terse, functional programming language with a Ruby-like syntax.\n\n\u2028\u2028https://github.com/paulgriffiths/calclang - Implementation of a simple mathematical programming language environment for OS X.\n\n\u2028\u2028https://github.com/xebia/xtime-ios - An experiment in (at least one) monkey(s), typewriter(s) and the Swift programming language.\n\n\u2028\u2028https://github.com/hashemi/FlyingMonkey - Monkey interpreter written in Swift - Based on Thorsten Ball's Book \"Writing an Interpreter in Go\"\n\n\u2028\u2028https://github.com/DJBen/ShakespearePL-Swift - An implementation of the parser of Shakespeare programming language, in Swift.\n\n\u2028\u2028https://github.com/fferri/ND.swift - A minimal interpreted programming language inspired by Algol, LISP, Golog, and others.\n\n\u2028\u2028https://github.com/agisilaos/CompilerSwift - Building a compiler in Swift with LLVM\n\n\u2028\u2028https://github.com/olenhad/sisp - A Simple Lisp LLVM Compiler. Implemented in Swift\n\n\u2028\u2028https://github.com/S2dentik/Cobain - Simple language built on top of LLVM\n\n\u2028\u2028https://github.com/jtrivedi/Teddy-Compiler - A simple, educational compiler implemented in Swift.\n\n\u2028\u2028https://github.com/mkchoi212/LBAC-Swift - Let's Build a Compiler by Jack Crenshaw translated to Swift Playgrounds\n\n\u2028\u2028https://github.com/apbendi/bitsy-swift - A small compiler, written in Swift, compiling the Bitsy language\n\n\u2028\u2028https://github.com/evanjhopkins/Compiler - A compiler written in Swift to compile Alan++ into machine code\n\n\u2028\u2028https://github.com/rsrbk/Compiler - Simple compiler written on swift\n\n\u2028\u2028https://github.com/apbendi/bitsyspec - Bitsy: The best language to implement when writing your first compiler or interpreter\n\n\u2028\u2028https://github.com/livioso/cpib - 🦄 A tiny compiler written in Swift.\n\n\u2028\u2028https://github.com/yanagiba/swift-transform - A source-to-source compiler that transforms Swift code and produces the equivalent source code in other programming languages. http://yanagiba.org/swift-transform\n\n\u2028\u2028https://github.com/HaniKazmi/swift-compiler - A compiler for a small turing complete language, written in Swift.\n\n\u2028\u2028https://github.com/JadenGeller/CS-81-Project - Compiler Project\n\n\u2028\u2028https://github.com/andrewcb/swiftemplate - A compile-time HTML templating system for Swift, consisting of a compiler that produces Swift code\n\n\u2028\u2028https://github.com/gwk/ploy - Ploy language compiler (ongoing experiment, in Swift).\n\n\u2028\u2028https://github.com/vinivendra/Tiger - Repository for storing the Tiger exercises (modern compiler implementation in ML) in Swift/C\n\n\u2028\u2028https://github.com/Krillere/Expressions - Compiler for the Expression language in Swift. Expression is a simple functional programming language, explained in the readme\n\n\u2028\u2028https://github.com/jweinst1/Noodle - A small, interpreted programmling language written in Swift\n\n### LLVM\n\n\u2028\u2028https://github.com/llvm-swift/LLVMSwift - A Swift wrapper for the LLVM C API (version 5.0)\n\n### Transpiler\n\n\u2028https://github.com/jweinst1/Peryton - A Python to Swift Transpiler\n\n\u2028\u2028https://github.com/shift-js/shift-js - Swift to JavaScript transpiler\n\n\u2028\u2028https://github.com/ankurp/swift-js - Swift to JS Transpiler\n\n\u2028\u2028https://github.com/moshbit/Kotlift - Kotlift is the first source-to-source language transpiler from Kotlin to Swift\n\n\u2028\u2028https://github.com/BenchR267/Get-Schwifty - Get Schwifty is a self-hosted Swift transpiler and was originally build for my WWDC scholarship application.\n\n\u2028\u2028https://github.com/BenchR267/SwiftTranspiler - Example implementation for a Swift -\u003e Javascript transpiler with ParserCombinator.\n\n### Resources\n\n\u2028\u2028https://tomassetti.me/resources-create-programming-languages/ - 68 Resources To Help You To Create Programming Languages \n\n\u2028\u2028https://github.com/aalhour/awesome-compilers - 😎 Curated list of awesome resources on Compilers, Interpreters and Runtimes. \n\n\u2028\u2028https://www.skilled.io/u/playgroundscon/building-a-compiler - How to Clang Your Dragon 🐉 Building a Compiler with LLVM - by Harlan Haskins\n\n\u2028\u2028http://craftinginterpreters.com/contents.html - A handbook for making programming languages\n\n\u2028\u2028https://beautifulracket.com - beautiful racket, how to make your own programming languages with racket \n\n\u2028\u2028https://www.microsoft.com/en-us/research/publication/implementing-functional-languages-a-tutorial/ - Implementing functional languages: a tutorial\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsd10%2Fswift-compiler-stuff","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsd10%2Fswift-compiler-stuff","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsd10%2Fswift-compiler-stuff/lists"}