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
‹
6
›
:
CFG for
{
a
i
b
j
∣
2
i
≥
j
}
\{ a^i b^j \mid 2i\geq j \}
{
a
i
b
j
∣
2
i
≥
j
}
Write a CFG generating the words of the form
a
i
b
j
a^ib^j
a
i
b
j
where the number of
b
b
b
’s is at most twice the number of
a
a
a
’s.
Authors:
Guillem Godoy /
Documentation:
// Write your CFG here...
To be able to submit you need to either
log in
,
register
, or
become a guest
.