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.
Anyway, there is a "Rosetta stone" if you need one: it's lib/src/genlex.c.
In the same way, a complete list of the options available to commands is
easy to find by looking at lib/src/options.c.
-------------------------------------------------------
Riccardo (Jack) Lucchetti
Dipartimento di Scienze Economiche e Sociali (DiSES)
Università Politecnica delle Marche
(formerly known as Università di Ancona)
r.lucchetti(a)univpm.it
http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------