Skip to content

Commit

Permalink
126
Browse files Browse the repository at this point in the history
  • Loading branch information
stephencelis committed Nov 23, 2020
1 parent 46a3fdd commit afab984
Show file tree
Hide file tree
Showing 13 changed files with 1,837 additions and 0 deletions.

Large diffs are not rendered by default.

Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<playground version='5.0' target-platform='ios' buildActiveScheme='true'>
<timeline fileName='timeline.xctimeline'/>
</playground>
5 changes: 5 additions & 0 deletions 0126-generalized-parsing-pt3/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
## [Point-Free](https://www.pointfree.co)

> #### This directory contains code from Point-Free Episode: [Generalized Parsing: Part 3](https://www.pointfree.co/episodes/ep126-generalized-parsing-part-3)
>
> Generalizing the parser type has allowed us to parse more types of inputs, but that is only scratching the surface. It also unlocks many new things that were previously impossible to see, including the ability to parse a stream of inputs and stream its output, making our parsers much more performant.
5 changes: 5 additions & 0 deletions 0126-generalized-parsing-pt3/stdin/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
.DS_Store
/.build
/Packages
/*.xcodeproj
xcuserdata/

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

22 changes: 22 additions & 0 deletions 0126-generalized-parsing-pt3/stdin/Package.swift
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// swift-tools-version:5.3
// The swift-tools-version declares the minimum version of Swift required to build this package.

import PackageDescription

let package = Package(
name: "stdin",
dependencies: [
// Dependencies declare other packages that this package depends on.
// .package(url: /* package url */, from: "1.0.0"),
],
targets: [
// Targets are the basic building blocks of a package. A target can define a module or a test suite.
// Targets can depend on other targets in this package, and on products in packages this package depends on.
.target(
name: "stdin",
dependencies: []),
.testTarget(
name: "stdinTests",
dependencies: ["stdin"]),
]
)
3 changes: 3 additions & 0 deletions 0126-generalized-parsing-pt3/stdin/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# stdin

A description of this package.
Loading

0 comments on commit afab984

Please sign in to comment.