[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Compilation to js [Update]
From: |
Mark H Weaver |
Subject: |
Re: Compilation to js [Update] |
Date: |
Tue, 20 Jun 2017 19:58:25 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) |
Ian Price <address@hidden> writes:
> As for residualisation, it's not a technical term. More accurate
> terminology would be serialisation of syntax objects. Maybe you can
> interpret my use of "residue", as being partly negative, as residue is
> something left over at the end of a process. Syntax objects are quite
> big, (in one experiment I did today, it was half the size of the
> output) and if possible, I'd like to avoid emitting them, where
> possible, since this is going to be sent over the network.
You might want to look at 'squeeze-syntax-object' in
ice-9/compile-psyntax.scm, which we use to reduce the size of
psyntax-pp.scm. Unfortunately, this breaks 'datum->syntax' in the
general case.
Regards,
Mark