Hello,
I want to change the code which is generated by NMODL, I want to generate my own code using NMODL.
Is there anyone who has done something similar or can someone guide me ?
Thank You
Changing NMODL
-
- Site Admin
- Posts: 6384
- Joined: Wed May 18, 2005 4:50 pm
- Location: Yale University School of Medicine
- Contact:
Re: Changing NMODL
Haven't heard of it.roybens wrote:Is there anyone who has done something similar
The first question is, what are you trying to accomplish? What ultmate task are you trying to deal with?or can someone guide me ?
Re: Changing NMODL
Hi,
The NMODL parser, generates a C code from the mod files.
I want, from the same mode files, generate my own C code.
Meaning, I want only to change the output of the parser.
The NMODL parser, generates a C code from the mod files.
I want, from the same mode files, generate my own C code.
Meaning, I want only to change the output of the parser.
Re: Changing NMODL
Long ago, probably more than 20 years, Upi Bhalla and I transformed nmodl into gmodl to
generate Genesis channels. That is now lost in the deeps of time.
NMODL is mostly an elaborate macro substitution program. The only way to understand it
is to look at the c code translation of example mod files. Most of the interface declarations are
emitted from nocpout.c and most of the interface code is emitted from noccout.c.
generate Genesis channels. That is now lost in the deeps of time.
NMODL is mostly an elaborate macro substitution program. The only way to understand it
is to look at the c code translation of example mod files. Most of the interface declarations are
emitted from nocpout.c and most of the interface code is emitted from noccout.c.
Re: Changing NMODL
Thank you,
I'll take a look into these files.
I'll take a look into these files.