[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ~/.qe/config detected as Qscript
From: |
Piscium |
Subject: |
Re: ~/.qe/config detected as Qscript |
Date: |
Sun, 21 Aug 2022 20:13:45 +0100 |
On Sun, 21 Aug 2022 at 19:30, Charlie Gordon <qemacs@chqrlie.org> wrote:
> Qscript is a toy scripting language I wrote a long time ago. I never
> published it because it never reached production stage.
> The syntax is close to the C syntax, except there is no preprocessing and
> fewer types and keywords.
Thanks for the explanations.
> The reason RET causes indentation is you forgot the `;` at the end of the
> line.
> It is optional, but the indenter is not smart enough to distinguish
> continuation lines and single line expressions.
> Just end your lines with semicolumns and you will be fine.
Thanks again. You are right, the semicolon makes a difference with
respect to indenting.
> I explored using Javascript as an extension language, and joined with Fabrice
> Bellard, to write QuickJS, a full featured javascript interpreter, but
> Javascript is way too complex and not well suited for the task, so this issue
> is still open.
With full JS interpreter would not be a micro emacs anymore! :-)