[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Christmas wish: Literate Elisp
From: |
Phillip Lord |
Subject: |
Re: Christmas wish: Literate Elisp |
Date: |
Fri, 20 Dec 2019 16:51:15 +0000 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
>> My proposal is to slightly change Elisp parser to treat lines that start
>> with any other printable character but '(' as a start of comment and to
>> simply ignore the line, just as it treats ';' as a comment.
>
> The `sexpresso` Haskell package follows the same idea ;-)
>
> As for using it in Elisp: I don't think there's anything stopping anyone
> from making such a `literate-elisp-mode` and even arrange for `load` to
> handle such a file (just like there is already a package that lets
> `load` work directly on .org files).
>
> I'd welcome such a package in GNU ELPA.
I'm very late to this thread, for which apologies.
My own package, lentic, could achieve this. It's gives you two
visualisations of the same file; so one with comment characters, and one
without. You can then do the literate part in one mode and the coding
part in another.
It already supports org-mode delination markers; it could be made to
support brackets as a delineator too.
Phil
- Re: Sv: Christmas wish: Literate Elisp, (continued)
- Re: Sv: Christmas wish: Literate Elisp, Stefan Monnier, 2019/12/20
- Re: Sv: Christmas wish: Literate Elisp, Stefan Monnier, 2019/12/20
- Sv: Sv: Christmas wish: Literate Elisp, arthur miller, 2019/12/20
- Re: Sv: Sv: Christmas wish: Literate Elisp, Stefan Monnier, 2019/12/20
- Re: Sv: Sv: Christmas wish: Literate Elisp, Eduardo Ochs, 2019/12/20
- Sv: Sv: Sv: Christmas wish: Literate Elisp, arthur miller, 2019/12/20
- Re: Sv: Sv: Christmas wish: Literate Elisp, Eduardo Ochs, 2019/12/21
- Sv: Sv: Sv: Christmas wish: Literate Elisp, arthur miller, 2019/12/21
- Message not available
- Sv: Sv: Sv: Christmas wish: Literate Elisp, arthur miller, 2019/12/21
- Message not available
- Message not available
- Message not available
- Sv: Sv: Sv: Sv: Christmas wish: Literate Elisp, arthur miller, 2019/12/22
Re: Christmas wish: Literate Elisp,
Phillip Lord <=
- Re: Christmas wish: Literate Elisp, Tim Cross, 2019/12/20
- Sv: Christmas wish: Literate Elisp, arthur miller, 2019/12/20
- Re: Christmas wish: Literate Elisp, Tim Cross, 2019/12/21
- Re: Christmas wish: Literate Elisp, VanL, 2019/12/21
- Sv: Christmas wish: Literate Elisp, arthur miller, 2019/12/21
Re: Christmas wish: Literate Elisp, Richard Stallman, 2019/12/13