[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: future of annotations in Lua?
- From: Jim <sysinit@...>
- Date: Sat, 15 Jun 2019 11:17:59 +0200
08.06.2019, 07:00, "Philippe Verdy" <verdy_p@wanadoo.fr>:
> Note also that Javascript has similar issues, but it does not require ";"
> only because it differenciates whitespaces
> (those that include a newline not part of a comment
> from other whitespaces); you cannot safely remove all newlines
> in Javascript and merge all whitespaces to a single space,
> without adding a few ";" where needed.
> So Javascript's parser defines the newline token!
i do not like giving syntactical meaning
(mostly statement termination) to newlines since i prefer free
form syntaxes where the programmer can use the source code
formating they prefer.
- References:
- future of annotations in Lua?, Hisham
- Re: future of annotations in Lua?, Roberto Ierusalimschy
- Re: future of annotations in Lua?, Dibyendu Majumdar
- Re: future of annotations in Lua?, Philippe Verdy
- Re: future of annotations in Lua?, Philippe Verdy
- Re: future of annotations in Lua?, Philippe Verdy
- Re: future of annotations in Lua?, Philippe Verdy
- Re: future of annotations in Lua?, Philippe Verdy
- Re: future of annotations in Lua?, Philippe Verdy
- Re: future of annotations in Lua?, Philippe Verdy