Commit graph

626 commits

Author SHA1 Message Date
Kampfkarren
9246edd601 Fix lineendings on Parser 2022-07-28 17:26:43 -07:00
Kampfkarren
657fa854eb Remove unused variable 2022-07-28 00:10:31 -07:00
Kampfkarren
dbf5064449 Change nextInterpolatedString return value 2022-07-27 23:43:25 -07:00
Kampfkarren
54734826e7 Use TempVector 2022-07-27 23:36:45 -07:00
Kampfkarren
e1a229aa80 Fix tests, but introduce a new snaggle 2022-07-27 23:29:57 -07:00
Kampfkarren
cfe339f994 String to make sure interp strings with no expressions are compiled as strings 2022-07-27 22:47:47 -07:00
Kampfkarren
efe3b7ca36 Bespoke error for interpolated string fails 2022-07-27 22:42:37 -07:00
Kampfkarren
63654211c6 Allow interpolated strings without expressions, add TODO test for failing interp strings as types 2022-07-27 22:12:27 -07:00
Kampfkarren
92adca20bf Test constant type interp strings 2022-07-27 18:50:39 -07:00
Kampfkarren
186bfb1342 Remove trailing newline 2022-07-27 18:46:55 -07:00
Kampfkarren
6e97add1ee Support un-interpolated strings 2022-07-27 18:10:06 -07:00
Kampfkarren
8ef45854f7 Add FFlag for %* 2022-07-27 17:59:21 -07:00
Kampfkarren
41fa546a17 Error when given a form 2022-07-27 17:53:15 -07:00
Kampfkarren
c224548781 Remove const& from strings loop 2022-07-27 17:45:24 -07:00
Kampfkarren
9918529641 Documentation for strings 2022-07-27 17:41:52 -07:00
Kampfkarren
77166a3654 Bring back whitespace test in Linter 2022-07-27 17:40:08 -07:00
Kampfkarren
b43fe82465 Better %* 2022-07-27 17:34:16 -07:00
Kampfkarren
e496c86581 Change name 2022-07-27 17:26:27 -07:00
Kampfkarren
2a41dca9d4 Avoid extra allocations 2022-07-27 17:13:44 -07:00
Kampfkarren
dadbd4cd47 FFlag off 2022-07-27 16:47:20 -07:00
Kampfkarren
c770cac964 auto cleanup 2022-07-27 16:43:49 -07:00
Kampfkarren
310adedc90 Optional ergonomics 2022-07-27 16:40:43 -07:00
Kampfkarren
8dcbebaa70 Remove backslashes 2022-07-27 16:36:05 -07:00
Kampfkarren
dd2c4e9391 Fix Compiler commit 2022-07-27 16:34:39 -07:00
Kampfkarren
be781b5083 Fix typechecker 2022-07-27 16:33:20 -07:00
Kampfkarren
11787e8336 Bespoke error for interpolated string after call 2022-07-27 02:25:12 -07:00
Kampfkarren
591192c3e5 Fix location, Transpiler 2022-07-26 23:06:56 -07:00
Kampfkarren
38d40143d7 Remove commented code 2022-07-26 22:28:01 -07:00
Kampfkarren
1ea1d654ee Arseny told me I don't need this 2022-07-26 22:27:20 -07:00
Kampfkarren
aa9f9c371f Check end brace parse errors 2022-07-26 22:14:28 -07:00
Kampfkarren
c302ea18e6 Fix ScopedFlag include 2022-07-26 21:36:33 -07:00
Kampfkarren
b773f41790 Scoped FFlag for JsonEncoder test 2022-07-26 21:33:02 -07:00
Kampfkarren
4504b05b76 Pre-allocate registers, getting better errors 2022-07-26 21:30:19 -07:00
Kampfkarren
e42e7884bb Fix MSVC compiler warnings 2022-07-26 21:25:42 -07:00
Kampfkarren
8496af7907 JsonEncoder 2022-07-26 21:23:19 -07:00
Kampfkarren
7893ca20bb Linter test 2022-07-26 21:19:15 -07:00
Kampfkarren
7e00934619 Higher baseline cost 2022-07-26 21:05:33 -07:00
Kampfkarren
38cda27144 A test I haven't made work, Cost branch 2022-07-26 21:04:15 -07:00
Kampfkarren
477cfc4d0d Basic string type 2022-07-26 20:50:46 -07:00
Kampfkarren
36b0037145 FFlag 2022-07-26 20:40:37 -07:00
Kampfkarren
beb7ecceb1 Remove unneeded lexer APIs 2022-07-26 20:25:20 -07:00
Kampfkarren
ea01fe3b34 Remove outdated TODO 2022-07-26 20:22:17 -07:00
Kampfkarren
0e87afff90 Include grammar 2022-07-26 20:21:46 -07:00
Kampfkarren
d4642f78ef Include grammar 2022-07-26 20:20:44 -07:00
Kampfkarren
12ca7c5bb0 Better error for constant 2022-07-26 19:48:17 -07:00
Kampfkarren
8e409efde8 Use the same error 2022-07-26 19:45:01 -07:00
Kampfkarren
8d0d271cd3 Make interpolated string with no formatting a syntax error 2022-07-26 19:39:54 -07:00
Kampfkarren
f8be1070c3 Make {{ a parse error 2022-07-26 19:30:02 -07:00
Kampfkarren
6cb9054c07 Remove copy paste (though I'm not sure it's much better), start work on {{ parse failure 2022-07-26 19:20:33 -07:00
Kampfkarren
5a9de6ba0a Fix string tests (VS Code was breaking it somehow? Not StyLua) 2022-07-26 18:57:09 -07:00