[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [groff] [patch] do not strip mdoc macros
From: |
James K. Lowden |
Subject: |
Re: [groff] [patch] do not strip mdoc macros |
Date: |
Fri, 15 Mar 2019 11:33:35 -0400 |
On Fri, 15 Mar 2019 00:12:29 +0000
Ralph Corderoy <address@hidden> wrote:
> > It would follow from Bjarni's argument, if accepted, that it is
> > objectively correct (a strong claim!) to install programs in
> > scripting languages on user systems only after first stripping
> > comments from them (or perhaps even only after also running them
> > through a compiler, where available).
>
> But sed, awk, perl, python, ... lex and parse once into an AST or
> bytecode, removing the recurring cost of comments, etc. that impact
> groff. So I don't think it's an even comparison.
Of course it's a valid comparison. Which sed or awk or shell script is
distributed in a stripped/compressed form? Do they store their AST
somewhere, so as to avoid recompilation? They do not. Just as
with groff, every parse starts anew.
--jkl
- Re: [groff] [patch] do not strip mdoc macros, Doug McIlroy, 2019/03/14
- Re: [groff] [patch] do not strip mdoc macros, Colin Watson, 2019/03/14
- Re: [groff] [patch] do not strip mdoc macros, Ralph Corderoy, 2019/03/14
- Re: [groff] [patch] do not strip mdoc macros,
James K. Lowden <=
- Re: [groff] [patch] do not strip mdoc macros, Ralph Corderoy, 2019/03/15
- Re: [groff] [patch] do not strip mdoc macros, James K. Lowden, 2019/03/17
- Re: [groff] [patch] do not strip mdoc macros, Ralph Corderoy, 2019/03/17
- Re: [groff] [patch] do not strip mdoc macros, Ingo Schwarze, 2019/03/18
- Re: [groff] [patch] do not strip mdoc macros, Ralph Corderoy, 2019/03/18
- Re: [groff] [patch] do not strip mdoc macros, Ingo Schwarze, 2019/03/18