Skip to content

hashemi/sparrow

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 

sparrow

This is an attempt to port Swift's parser to Swift. The motivation behind this project is to explore ways of writing a complex parser in idiomatic Swift.

The project is currently limited to lexical analysis. Swift's original lexer is written in C++ and is full of raw pointer manipualation. This Swift port adds a thin abstraction layer to improve the ergonomics of dealing with the parser and improve memory safety without sacrificying performance.

The next step is building an AST.

About

A port of Swift's parser to Swift

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages