Skip to content
P

Perses

language-agnostic program reducer

by uw-pluverseFree

#4117in Developer Tools
0In stores

Description

Perses is a language-agnostic program reducer. It takes a program and a test script that encodes the constraints the program has to keep sat…

Highlights

  • Shrinks a program while keeping it valid against a test script
  • Uses ANTLR grammar syntax to avoid invalid programs
  • Supports C, C++, Go, Java, Python, Rust and many more languages
  • Runs from a release JAR, a source build or perses-trunk

Ratings & Reviews

No ratings yet

Be the first to rate Perses.

People also visit

C

Cvise

Super-parallel Python port of the C-Reduce

Developer Tools
Launch
P

Programming Languages DB

Find the Programming Language for your next project

Developer Tools
Launch
U

Ultimate Bug Scanner

Static analysis tool that catches 1000+ bug patterns across all popular

AI
Launch
C

cpp-pro

Writes, optimizes, and debugs C++ applications

AI Skills
Get
W

wispbit

AI Code Review in your IDE

Developer Tools
Launch
A

AICommit

Detect bugs, generate code recommendations

Developer Tools
Launch

Perses FAQ

What does Perses do?

Perses takes a program and a test script that defines the constraints, then produces a minimized program that still satisfies those constraints. It is language-agnostic.

Which languages are supported?

The README lists C, C++, GLSL, Go, Jackson YAML, Java, JavaScript, Line, Makefile, MySQL, One Token, PHP, Python 3, Ruby, Rust, Scala, SMT-LIB v2, Solidity, SQLite, SystemVerilog, WebAssembly and XML. Support for other languages is coming soon.

How do I run it?

Download a prebuilt release JAR from the release page, clone the repository and build from source, or use perses-trunk, which downloads and builds the latest version. perses-trunk needs Bazelisk.

What is the test script?

The test script encodes the constraints that both the original program and the reduced version must satisfy. Perses outputs a minimized program that still meets those constraints.

How is it different from delta debugging?

The README says Perses uses the syntax information in the ANTLR grammar and avoids generating syntactically invalid programs, which narrows the search compared with Delta Debugging and Hierarchical Delta Debugging.

What are the best Perses alternatives?

Popular alternatives to Perses include Cvise, Programming Languages DB and wispbit. See all Perses alternatives

Developer Stuff

Badges