Comments (5)
the flag could let you choose between X spaces or tabs, or between letting the preprocessor figure it out on its own on every file
But then, what should the default value of the flag be?
from clue.
Having a set amount of whitespace (constant) might be detrimental since the string can be in any depth.
local a, b
if A {
a = "
hello
world
"
if B {
b = "
and hello
Clue
"
}
}
Probably best to make it figure it out on its own for each string.
from clue.
okay, but what if someone does want a bit of spaces before? how could it tell the preprocessor "no wait stop a bit earlier"
from clue.
okay, but what if someone does want a bit of spaces before? how could it tell the preprocessor "no wait stop a bit earlier"
local str = "
spaces will now be preserved
"
This would turn into:
local str = " spaces will now be preserved"
So that's not an issue.
from clue.
This was now implemented in 4.0.
from clue.
Related Issues (20)
- [Bug/Library bitwise mode] build_expression consumes end token in ALTER values HOT 2
- `for i in f, stop, initial` syntax HOT 1
- Commas in string `@macro` argument count as `@macro` arguments. HOT 2
- Enumerators do not work with negative numbers HOT 2
- `@define` doesn't recognize strings? HOT 2
- Using `continue` twice breaks when using the MoonScript continue mode HOT 1
- CLI stdin/stdout stream improvements HOT 6
- OOB Panic on specific arrangements of LuaJIT-style integer formats (LL/ULL) HOT 1
- Allow other types of keys in renameable table destructuring feature HOT 1
- `goto` statement HOT 2
- CLI improvements
- Operator precedence gets messed up when using bitwise operators on bitlib mode HOT 1
- C binding library interface for the Clue compiler
- Make parentheses optional for function calls with single parameter string/table HOT 1
- Multi-expression matching support HOT 4
- Increment operators like `x++` and `++x` HOT 1
- Commas in function that passed to `@macro` argument are treating as actual commas. HOT 2
- debug flag causes invalid escape sequence error on windows HOT 1
- Introduce constants HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from clue.