Wolfram Language
Paclet Repository
Community-contributed installable additions to the Wolfram Language
Primary Navigation
Categories
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
Create a Paclet
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
DanielS`PatternMatcher`
P
a
t
t
e
r
n
B
y
t
e
c
o
d
e
I
n
f
o
r
m
a
t
i
o
n
P
a
t
t
e
r
n
B
y
t
e
c
o
d
e
I
n
f
o
r
m
a
t
i
o
n
[
b
c
]
r
e
t
u
r
n
s
a
n
A
s
s
o
c
i
a
t
i
o
n
w
i
t
h
m
e
t
a
i
n
f
o
r
m
a
t
i
o
n
a
b
o
u
t
t
h
e
b
y
t
e
c
o
d
e
s
t
r
u
c
t
u
r
e
.
D
e
t
a
i
l
s
a
n
d
O
p
t
i
o
n
s
Examples
(
2
)
Basic Examples
(
2
)
Get compilation metadata for a simple pattern:
I
n
[
1
]
:
=
b
y
t
e
c
o
d
e
=
C
o
m
p
i
l
e
P
a
t
t
e
r
n
T
o
B
y
t
e
c
o
d
e
[
_
I
n
t
e
g
e
r
]
;
P
a
t
t
e
r
n
B
y
t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