[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: compiler information
From: |
John Eaton |
Subject: |
Re: compiler information |
Date: |
Wed, 26 Apr 95 12:58:18 EDT |
Joanne Marie Kilian <address@hidden> wrote:
: Could you please provide me with some information regarding how octave
: compiles its programs (ie: front-end, back-end, code optimization etc), as
: I require this information and have as yet been unable to find it.
Octave uses a bison-generated parser to `compile' the input into parse
trees which are then evaluated directly. There is no optimization
phase.
Most of this is handled in lex.l, parse.y, tree-*.h, tree-*.cc,
tc-*.h, and tc-*.cc. The main compile-eval loop is in octave.cc.
jwe