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
Kampfkarren
7fbe3a006c
Test string shadow
2022-07-26 18:49:50 -07:00
Kampfkarren
5a6912fe75
String escape
2022-07-26 18:49:17 -07:00
Kampfkarren
7d7ad6ba46
Uncomment nested strings. I'm surprised this worked
2022-07-26 18:42:59 -07:00
Kampfkarren
843fa3e8e4
Uncomment more tests
2022-07-26 18:42:28 -07:00
Kampfkarren
b40b10826c
Fix constant folding
2022-07-26 18:40:47 -07:00
Kampfkarren
da716a6a76
Fix more complicated case
2022-07-26 18:37:11 -07:00
Kampfkarren
9ea7b44ab9
%*
2022-07-26 16:37:54 -07:00
Kampfkarren
08a0f3015e
Fix multiple string interps
2022-07-26 15:47:33 -07:00
Kampfkarren
7ace43e29f
Fix multiple string interps
2022-07-26 15:44:51 -07:00
Kampfkarren
24f61dfeb5
Basic string interpolation proof of concept
2022-07-26 01:48:22 -07:00
JohnnyMorganz
2a6d1c03ac
Store AstExprFunction in astTypes for stats ( #612 )
2022-07-25 10:19:21 -07:00
Arseny Kapoulkine
12c5502027
Update performance.md
...
Update compiler performance metrics to account for O2 and expanding internal codebase
2022-07-22 10:35:03 -07:00
Arseny Kapoulkine
9be7f85be7
Update performance.md ( #608 )
...
Mention constant folding for builtins and remove the note about possibly doing inlining in the future because we do do it now!
2022-07-22 07:53:16 -07:00
Arseny Kapoulkine
b1cfaf5305
Sync to upstream/release/537 ( #607 )
2022-07-21 14:16:54 -07:00
Arseny Kapoulkine
a824b05c9e
Update coverage report to codecov ( #606 )
...
Coveralls has had multiple stability issues in the recent while, and codecov seems much better maintained in general.
2022-07-20 15:12:30 -07:00
Arseny Kapoulkine
ea7a6c1260
Spell out RFC considerations for library functions more explicitly ( #603 )
...
When considering new standard library functions, we essentially need to strongly justify their existence over their implementation in Luau in user library code.
This PR attempts to provide a few axes of consideration; ideally new library functions tick many of the boxes, eg "used often + is more performant + clear unambiguous interface" is an ideal consideration for a library function, whereas if it's merely accelerating a single specific use case for a single application it's unlikely to be a good justification for inclusion.
2022-07-19 08:37:56 -07:00
Matthew Emery
96316c66dc
Documentation of round tie-breaking ( #602 )
...
* Update library.md
* Tie-breaking documentation for round
2022-07-18 12:36:23 -07:00
Arseny Kapoulkine
5b2e39c922
Sync to upstream/release/536 ( #592 )
2022-07-14 15:52:26 -07:00
Alex Orlenko
e87009f5b2
Add lua_setuserdatatag to update userdata tags ( #588 )
2022-07-14 12:00:37 -07:00
Andy Friesen
a934f742d8
June recap ( #583 )
2022-07-11 13:21:23 -07:00
Anaminus
6ad8239e32
Improve description of bit32.extract/replace. ( #585 )
...
Fix description incorrectly saying that parameter w specifies an upper range. w is actually a width. Proof:
print(bit32.extract(2^32-1, 3, 4)) -- prints 15, not 1.
Also indicate that the position is 0-based, and that the function will error if the selected range exceeds the allowed bounds.
2022-07-08 10:06:25 -07:00