RACSO
DFA
CFG
Operations:
Reg
,
CF
PDA
Reductions:
K
,
WP
,
CFG
,
NP
,
SAT
ANTLR:
lexical
,
syntactic
Exams
log in
,
register
,
become guest
This site uses cookies only for the purpose of identifying user sessions. This is required to properly register actions.
Exercise
‹
21:
Deterministic uniquely-accepting PDA for
{
x
c
y
∣
x
,
y
∈
{
a
,
b
}
∗
∧
∣
x
∣
a
b
a
=
∣
y
∣
b
a
b
}
\{ xcy \mid x,y\in\{a,b\}^* \wedge |x|_{aba}=|y|_{bab} \}
{
x
cy
∣
x
,
y
∈
{
a
,
b
}
∗
∧
∣
x
∣
aba
=
∣
y
∣
bab
}
Write a
deterministic uniquely-accepting
PDA recognizing the words of the form
x
c
y
xcy
x
cy
, where
x
,
y
x,y
x
,
y
are words over
{
a
,
b
}
\{a,b\}
{
a
,
b
}
such that the number of occurrences of
a
b
a
aba
aba
in
x
x
x
is equal to the number of occurrences of
b
a
b
bab
bab
in
y
y
y
.
Authors:
Guillem Godoy /
Documentation:
// Write your PDA here...
To be able to submit you need to either
log in
,
register
, or
become a guest
.