[Ecls-list] Patch: FTYPE proclamations with DEFTYPE'd types.
Juan Jose Garcia-Ripoll
juanjose.garciaripoll at googlemail.com
Sun Sep 14 08:12:21 UTC 2008
On Sun, Sep 14, 2008 at 2:58 AM, Gabriel Dos Reis <
gdr at integrable-solutions.net> wrote:
> Said differently, it is more portable than other implementations
> even if it is sometimes less efficient, I suspect Sage's move to rely
> replace
> CLisp with ECL is based on similar considerations. So, for me it is
> important
> to know what I should expect for the future of the `old compiler'.
All reported bugs will be fixed, that is what I understand by
"maintenance". You should not worry at all. And simple improvements will be
implemented. That said, I will probably not work much on getting full type
propagation and function unboxing. If things go right with the other
project, replacement should be smooth and just as portable, but the result
should be mor robust
Do you have a design document for the new compiler, or is it
> still in its `brain storming' stage?
I am still brain storming but also writing things as I go to get some
self-documenting code with holes to fill. Nice thing about Lisp is that
things can be layered and tested indivudally. I do not have the notes
around, but last thing I wrote was something like
- Translate to a subset of Common Lisp
- Variable and function object creation
- Computation of closure sizes
- Translation to a list of assignments, function calls and jumps
- Identification of code blocks and creation of the code flow graph
- Variable renaming and insertion o Phi functions to get SSA
- Elimination of redundant Phi forms and variables.
- Type and constant propagation
- Dead code elimination
- Register allocation
- Final code production
I guess the first four passes could be merged, and some of the algorithms
such as Phi function elimination, though they seem simple, I have never
implemented, but from what I read it is not difficult to get something that
works and it is not too inefficient.
Juanjo
--
Instituto de Física Fundamental
CSIC, Serrano, 113, Madrid 28040 (Spain)
http://juanjose.garciaripoll.googlepages.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20080914/8207a879/attachment.html>
More information about the ecl-devel
mailing list