Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
deterministic
· 5mo ago · 0 comments
Maybe you could have generated random test input, generated the trees, and then converted the trees back to the input, checking if they match?
Comments
[–]
nz
4mo ago
Yeah, that is situation 2 mentioned above. A Chomsky Grammar is also a generator. So it can generate valid inputs, and then turn them into valid outputs -- and it can do the first part stochastically/randomly.