[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Fwd: Heritage of Lua syntax for multi-line strings and comments
- From: Sean Conner <sean@...>
- Date: Mon, 27 Nov 2023 21:44:11 -0500
It was thus said that the Great Philippe Verdy once stated:
> We should be able to place comment anywhere (including in the middle of any
> lexical token, and in the middle of long literals with a proper syntaxe of
> these literals allowing them to be segmented and automatically concatenated
> by the parser if they are splitted into multiple tokens (to break too long
> lines, or insert comments or o
> processing directives, we should allow thèse delimted tokens to be
> separaetd by any whitespaces or even none, without needing any additional
> operator tokens).
--[[]]for--[[]]x--[[]]=--[[]]1--[[]],--[[]]100--[[]]do--[[]]
--[[]]print--[[]](--[[]]"Good idea? or bad?"--[[]])--[[]]
--[[]]end--[[]]
But by all means, present a working proof of concept so it can be judged
on its merits.
-spc