lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: An infix syntax for Scheme ...


From: David Kastrup
Subject: Re: An infix syntax for Scheme ...
Date: Wed, 10 Aug 2022 01:48:17 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux)

Jean Abou Samra <jean@abou-samra.fr> writes:

> Some time ago, Jacques Menu asked on the French-speaking equivalent of
> this list if it would be possible to create an infix syntax for Scheme
> that would be more approachable for beginners.
>
> As we discussed this topic privately and he asked me questions about how
> a possible implementation could be done, I ended up finding that an
> example was easier to give than full explanations, and this gave
> "Herescheme":
>
> https://gitlab.com/jeanas/herescheme/

Well, the point of Lisp is that it doesn't even have a program syntax.
You write down the parse tree as a Lisp data structure.  That makes it
easy for programs to talk about programs.

"Converting to infix" just does not make a lot of sense in that
paradigm.  Once you separate language structures and data structures,
there is no point in creating some chimera.  The computer can no longer
easily process it, so there is little point in making something only
somewhat closer to human-readable.

-- 
David Kastrup



reply via email to

[Prev in Thread] Current Thread [Next in Thread]