lua-users home
lua-l archive

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


It would be nice if Lua supported some form of indentation in the long string constructor (similar to http://en.wikipedia.org/wiki/YAML#Indented_delimiting), so that a table of multiple long strings could indent them, as seen below:
example={
deep={
  deeper={
     string=
     [[
     This string starts with 6 spaces!
     And there's another six after that newline!
     Does that look right to you?]]
   }
 }
}