Wolfram Language Paclet Repository

Community-contributed installable additions to the Wolfram Language

Primary Navigation

    • Cloud & Deployment
    • Core Language & Structure
    • Data Manipulation & Analysis
    • Engineering Data & Computation
    • External Interfaces & Connections
    • Financial Data & Computation
    • Geographic Data & Computation
    • Geometry
    • Graphs & Networks
    • Higher Mathematical Computation
    • Images
    • Knowledge Representation & Natural Language
    • Machine Learning
    • Notebook Documents & Presentation
    • Scientific and Medical Data & Computation
    • Social, Cultural & Linguistic Data
    • Strings & Text
    • Symbolic & Numeric Computation
    • System Operation & Setup
    • Time-Related Computation
    • User Interface Construction
    • Visualization & Graphics
    • Random Paclet
    • Alphabetical List
  • Using Paclets
    • Get Started
    • Download Definition Notebook
  • Learn More about Wolfram Language

PatternMatcher

Guides

  • A Virtual Machine for the Pattern Matcher

Symbols

  • CompilePatternToBytecode
  • CreatePatternMatcherVirtualMachine
  • PatternBytecodeDisassemble
  • PatternBytecodeInformation
  • PatternBytecode
  • PatternBytecodeQ
  • PatternMatcherEnableTrace
  • PatternMatcherExecute
  • PatternMatcherMatch
  • PatternMatcherMatchQ
  • PatternMatcherReplace
  • PatternMatcherStep
  • PatternMatcherTraceEnabled
  • PatternMatcherTraceEnabledQ
  • PatternMatcherVirtualMachine
  • PatternToMatchFunction
A Virtual Machine for the Pattern Matcher
A register-based virtual machine that compiles Wolfram Language patterns into bytecode for efficient, observable execution with explicit backtracking and comprehensive debugging support.
Compilation
PatternToMatchFunction
— convert a pattern to a pure function for matching
CompilePatternToBytecode
— compile a pattern into executable bytecode
Pattern Matching
PatternMatcherExecute
— execute a compiled pattern and return detailed match results
PatternMatcherMatchQ
— test whether an expression matches a pattern
PatternMatcherReplace
— apply pattern-based replacement rules to expressions
Pattern Matcher Objects
PatternBytecode
— compiled bytecode representation of a pattern
PatternMatcherVirtualMachine
— virtual machine instance for executing bytecode
Bytecode Inspection
PatternBytecodeDisassemble
— display human-readable bytecode instructions
PatternBytecodeInformation
— retrieve metadata about compiled bytecode
Execution Control
PatternMatcherEnableTrace
— enable or disable step-by-step execution tracing
PatternMatcherTraceEnabledQ
— check whether execution tracing is enabled
CreatePatternMatcherVirtualMachine
▪
PatternBytecodeQ
RelatedGuides
▪
Patterns
""

© 2026 Wolfram. All rights reserved.

  • Legal & Privacy Policy
  • Contact Us
  • WolframAlpha.com
  • WolframCloud.com