Questions about maxima's source code



>>>>> "Michel" == Michel Van den Bergh <michel.vandenbergh at uhasselt.be> writes:

    Michel> Hi,
    Michel> I am trying to find my way in maxima's source code.
    Michel> To speed things up I have some questions.

    Michel> (1) Where is maxima's main loop located?

cl-user::run, in src/init-cl.lisp, which basically runs
macsyma-top-level, in src/macsys.lisp.

    Michel> (2) I assume that things type by the user are first translated into 
    Michel> maxima's internal format and then evaluated.
    Michel> Is the evaluation done by meval?

After some poking around, it's the function toplevel-macsyma-eval in
macsys.lisp, which basically calls meval*.

    Michel> (3) Which is the routine which formats maxima's internal format for display?

This is done by the function displa in src/displa.lisp.

Ray