On Apr 27, 2010, at 2:33 PM, Lukas Renggli wrote:
>> what theo d hondt told us a while ago is that pascal or oberon
>> they did not store bytecode but compressed ast and it was shorter than
>> bytecode
>
> Sounds strange
Why?
> (imagine if you have comments in your code).
There are no comments in bytecode, either. The idea is *not* to replace source
code.
> Are there
> any references on this?
>
There is a lot of work on this, e.g. slim binaries:
http://portal.acm.org/citation.cfm?id=265576
or lots of work on grammar-driven compression of code, and much more.
Not that it's exactly slim binaries that we want to implement here.
We want to learn about compact serialization of AST like structures. Just learn.
First serialization. Than compression.
And the nice thing is that I am payed for exploring strange things :-)
And I think we should pospone discussion after we have learned. It's so easy to
kill all energy
on a mailinglist in a minute.
Marcus
--
Marcus Denker -- http://www.marcusdenker.de
INRIA Lille -- Nord Europe. Team RMoD.
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project