Re: ~/.qe/config detected as Qscript
Piscium <[email protected]> Sun, 21 Aug 2022 20:13:45 +0100
| Newsgroups | gmane.editors.qemacs.devel |
|---|---|
| Message-ID | <CAFMg86tniZG_qQy=wbXm4abuMU3f3Ojhod_sZ_xoBXqm-BzD0w@mail.gmail.com> |
On Sun, 21 Aug 2022 at 19:30, Charlie Gordon <[email protected]> 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! :-)