New Lua VM does not parse vertical tabs as whitespace

The recently released Lua VM (Luau) does not parse vertical tab characters as whitespace, and throws an error when they are used in source code. Vanilla Lua 5.1 (and beyond) allows vertical tabs for use as whitespace, so Roblox should too for the sake of compatibility.

In order to reproduce this you can run some code with a vertical tab in it. I just ran the default Hello World script but with a vertical tab before it; it ran in Lua 5.1, but not in Luau. Attached is a file that contains exactly that: vertical_tab_test.lua (23 Bytes).

This is obviously very important and I hope Roblox fixes it immediately. Or that it at least gets added to the queue because it is absolutely the least important bug I’ve ever encountered.

3 Likes

We considered supporting this in the initial release, but since vertical tab doesn’t even get its own Wikipedia page (source: Vertical tab - Wikipedia), we decided that it’s not important enough.

Maybe we’ll fix this one day.

5 Likes

Form feeds are also supported (Lua calls isspace). It has a section on the wiki. Page break - Wikipedia

Will these be supported?

I think you’re slightly wrong - page break has a page on the wiki, but form feed doesn’t. So form feed also isn’t important enough.

1 Like

What in the heck is a vertical tab??
Wiki page doesn’t exist for it? It feels like an antimeme, erasing it’s own existence.

1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.