I was using an old version of nest (3.5) and nestml. Someone sent me a nestml model, and that worked. I wanted to make my own model, but the tutorials had a different format. In particular, it seems like the first line of code in the
tutorials start with model, and the old version started with neuron of synapse.
So, I thought it was time to upgrade, so installed nest 3.7, and pip-ed nestml. (I also installed PyNN as that's the way I typically work.) When I imported generate_target (through python 3.12), I got the typical PyGSL warning; I think
that's because I'm using python 3.12 not 3.11, and I don't think it matters in this case.
Then I ran the generate_target and I got an error mismatched input 'model' expecting {newline, 'neuron', 'synapse}
I expect there's something like a yacc table that specifies the syntax, and somehow I've got the old syntax.
I've tried it with several version of nestml 7.0.2, 7.0.0, 6.0.0 and 5.0.0. I think 5.0.0 had the old syntax. I've tried several models from the library, and the Izhikevich tutorial.
Any thoughts about how to fix it?
-Chris