# Parser Combinators

> How to build simple parsers for text and numbers.
- Title: Parser Combinators · T3 | Shortify
- Summary: How to build simple parsers for text and numbers. Parser combinators create reusable code for parsing text and numbers like IP addresses.
- Keywords: parser combinators, ip address, decimal number, integer, code definition, technology, startups, Parser, Combinators
- Source: T3 — https://t3.at/blog/2026-10-17-parser-combinators
- Published: 2026-10-17T00:00:00+00:00
- Read time: 1 min
- Topics: parser combinators, ip address, decimal number, integer, code definition, technology, startups
## pString
This parser matches exact text like PING.
## pInteger
This parser matches whole numbers like 64.
## pDecimal
This parser matches numbers with optional fractions like 68.7.
## pIpV4Address
This parser matches IP addresses like 1.1.1.1.
## Key takeaway

Parser combinators create reusable code for parsing text and numbers like IP addresses.