Registry / utility / llgcode-ps

llgcode-ps

JSON →
library0.0.0-20210114104736-f4b0c5d1e02egogounverified

A PostScript scanner derived from the Go source scanner package, used for parsing PostScript data.

go get github.com/llgcode/ps
INSTALL
IMPORT
SIG · LLGCODE-PS
L
llgcode-ps
utilitygov0.0.0-20210114104736-f4b0c5d1e02e
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ps
github.com/llgcode/ps

Scans a PostScript input stream and prints tokens.

package main import ( "fmt" "strings" "github.com/llgcode/ps" ) func main() { scanner := ps.NewScanner(strings.NewReader("Hello World")) for { tok, lit := scanner.Scan() if tok == ps.EOF { break } fmt.Printf("%s: %s\n", tok, lit) } }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.0-20210114104736-f4b0c5d1e02elatest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
3 hits · last 30 days
node
2
Amazon
1
Resources
llgcode-ps — go get llgcode-ps · libregistry