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
Arseny Kapoulkine
120a7fab70
Merge branch 'merge'
2022-07-07 18:22:50 -07:00
Arseny Kapoulkine
506d971421
Sync to upstream/release/535 ( #584 )
2022-07-07 18:22:39 -07:00
Arseny Kapoulkine
42244b14df
Merge branch 'upstream' into merge
2022-07-07 18:08:06 -07:00
Arseny Kapoulkine
f9e76fc75c
Merge branch 'master' into merge
2022-07-07 18:07:30 -07:00
Arseny Kapoulkine
4a95f2201e
Sync to upstream/release/535
2022-07-07 18:05:31 -07:00
Allan N Jeremy
dbcd5fb28e
build: changed data output to be different for each os ( #581 )
...
- macos: data-macos-latest.json
- ubuntu: data-ubuntu-latest.json
- windows: data-windows-latest.json
2022-07-07 08:21:40 -07:00
Alan Jeffrey
a7ae439b0f
Document new table type features ( #567 )
2022-07-05 16:25:09 -05:00
Arseny Kapoulkine
42510bb5c8
Fix test after merging a stale PR ( #577 )
2022-07-05 11:36:33 -07:00
JohnnyMorganz
baa35117bd
Use syntheticName for stringified MetatableTypeVar ( #563 )
2022-07-05 09:19:54 -07:00
JohnnyMorganz
4d98a16ea8
Store resolved types in astResolvedTypes
( #574 )
2022-07-05 09:08:05 -07:00
JohnnyMorganz
6303ae30c4
Fix op used when stringifying AstExprIndexName ( #572 )
...
* Fix op used when stringifying AstExprIndexName
* Remove visualizeWithSelf
2022-07-05 08:59:09 -07:00
Arseny Kapoulkine
2460e38998
bench: Implement luau-analyze and luau --compile benchmarks ( #575 )
...
This change adds another file for benchmarking luau-analyze and sets up
benchmarks for both non-strict/strict modes for analysis and all three
optimization levels for compilation performance.
To avoid issues with race conditions on repository update we do all this
in the same job in benchmark.yml.
To be able to benchmark both modes from a single file, luau-analyze
gains --mode argument which allows to override the default typechecking
mode. Not sure if we'll want this to be a hard override on top of the
module-specified mode in the future, but this works for now.
2022-07-05 08:23:09 -07:00