Skip to content

hashemi/sparrow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 

Repository files navigation

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