Am 15.06.2016 um 08:24 schrieb Riccardo (Jack) Lucchetti:
On Tue, 14 Jun 2016, Allin Cottrell wrote:
>
> The function identifiers in the "switch" are upper-case "enum"
values
> prefixed with "F_", as in F_LOG, F_CUM, etc. Usually it should be
> fairly clear what userland function names these correspond to, but in
> case of doubt the mapping can be found in genlex.c (str_table_funcs).
>
> For commands the analogous entry point is again a big switch
> statement, but in the function gretl_cmd_exec() in interact.c. In this
> case the command identifiers are mostly just upper-case versions of
> the command names: OLS, ADF, etc.
Thanks, I'll have a look.
Anyway, there is a "Rosetta stone" if you need one: it's
lib/src/genlex.c.
Also interesting.
available to commands is easy to find by looking at
lib/src/options.c.
Yes that's one of the things I was able to figure out myself (long live
self-explanatory names...).
thanks,
sven