Kampfkarren
cbe84bd5ea
More tests
2022-08-22 14:41:27 -07:00
Kampfkarren
83dad7bdf3
Only get one error rather than two
2022-08-17 16:51:17 -07:00
Kampfkarren
3b26ab85a0
Better lexer tostring
2022-08-17 16:34:25 -07:00
Kampfkarren
09b5821768
enum class
2022-08-17 16:33:11 -07:00
Kampfkarren
8bb8f47325
New lexer method
2022-08-17 09:45:12 -07:00
Kampfkarren
7a437aad17
Revert lstrlib to upstream/master
2022-08-04 18:17:31 -07:00
Kampfkarren
cce6b98821
Merge remote-tracking branch 'upstream/master' into string-interpolation
2022-08-04 18:15:53 -07:00
Arseny Kapoulkine
1b20fcd43c
Sync to upstream/release/539 ( #625 )
2022-08-04 15:35:33 -07:00
boyned//Kampfkarren
4658219df2
Add %* format specifier ( #619 )
...
RFC: https://github.com/Roblox/luau/pull/165
2022-08-04 07:22:16 -07:00
Arseny Kapoulkine
2c12badb5c
Update RFC status page
2022-08-03 15:40:57 -07:00
Arseny Kapoulkine
4692c55687
Mark never/unknown types RFC as implemented
2022-08-03 15:40:24 -07:00
Arseny Kapoulkine
b39fcc7e77
Mark __len RFC as implemented
2022-08-03 15:38:45 -07:00
Jay Kruer
b204981aca
Add Ctrl-C handling to the REPL ( #537 )
...
Co-authored-by: Arseny Kapoulkine <arseny.kapoulkine@gmail.com>
2022-08-02 09:32:22 -07:00
Arseny Kapoulkine
d3b566c258
Sync to upstream/release/538 ( #616 )
2022-07-28 21:24:07 -07:00
Kampfkarren
08494dc57a
Interpolated strings as args
2022-07-28 18:56:10 -07:00
Kampfkarren
90f7bf6f72
Reserve format capacity
2022-07-28 17:56:28 -07:00
Kampfkarren
d4dce498f7
Test compile
2022-07-28 17:51:51 -07:00
Kampfkarren
acf5c78dcc
LUA_ASSERT in readInterpolatedStringBegin
2022-07-28 17:49:41 -07:00
Kampfkarren
c8d7fd171f
Escape interpolated strings better
2022-07-28 17:45:02 -07:00
Kampfkarren
3683436dbe
Explicit bytecode test
2022-07-28 17:33:10 -07:00
Kampfkarren
ea9d29658c
Remove luaL_reservebuffer
2022-07-28 17:31:31 -07:00
Kampfkarren
7229853372
Remove interpolated string FFlag check
2022-07-28 17:30:38 -07:00
Kampfkarren
e7176f8ebf
Remove commented code
2022-07-28 17:30:08 -07:00
Kampfkarren
856ef34719
string.append
2022-07-28 17:29:54 -07:00
Kampfkarren
bfca408753
Fix line endings on Parser.h
2022-07-28 17:27:07 -07:00
Kampfkarren
9246edd601
Fix lineendings on Parser
2022-07-28 17:26:43 -07:00
Alexander McCord
cb16555608
RFC: Disallow name T
and name(T)
in future syntactic extensions for type annotations ( #589 )
2022-07-28 14:48:17 -07:00
Alexander McCord
185370fa1d
RFC: Update the rules on string interpolation in light of feedback ( #615 )
...
We make four adjustments in this RFC:
1. `{{` is not allowed. This is likely a valid but poor attempt at escaping coming from C#, Rust, or Python.
2. We now allow `` `this` `` with zero interpolating expressions.
3. We now allow `` f `this` `` also.
4. Explicitly say that `` `this` `` and `` `this {that}` `` are not valid type annotation syntax.
2022-07-28 14:48:05 -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