# What does parser expected mean?

Hi Everyone,

what does parser expected mean in general?

Also, we can’t set lower bounds or upper bounds for vector declarations inside model block as follows?

model {

vector<lower=1.01> [10] Omega;

.
.
.
}
When I do this, I’m getting a parser expected syntax error: ‘integer expression in square brackets’

what does it mean?

No, because those bounds are not verified. You can do

``````model {
vector[10] Omega;
...
}``````

HI @bgoodri,

what does parser expected mean in general? what does the parser term mean?

Stan language is translated (with a parser) to a C++ code which is then compiled and executed.

1 Like