luau/CLI
aaron 7105c81579
Sync to upstream/release/602 (#1089)
# What's changed?

* Fixed a bug in type cloning by maintaining persistent types.
* We now parse imprecise integer literals to report the imprecision as a
warning to developers.
* Add a compiler flag to specify the name of the statistics output file.

### New type solver

* Renamed `ConstraintGraphBuilder` to `ConstraintGenerator`
* LValues now take into account the type being assigned during
constraint generation.
* Normalization performance has been improved by 33% by replacing the an
internal usage of `std::unordered_set` with `DenseHashMap`.
* Normalization now has a helper to identify types that are equivalent
to `unknown`, which is being used to fix some bugs in subtyping.
* Uses of the old unifier in the new type solver have been eliminated.
* Improved error explanations for subtyping errors in `TypeChecker2`.

### Native code generation

* Expanded some of the statistics recorded during compilation to include
the number of instructions and blocks.
* Introduce instruction and block count limiters for controlling what
bytecode is translated into native code.
* Implement code generation for byteswap instruction.

### Internal Contributors

Co-authored-by: Aaron Weiss <aaronweiss@roblox.com>
Co-authored-by: Alexander McCord <amccord@roblox.com>
Co-authored-by: Andy Friesen <afriesen@roblox.com>
Co-authored-by: Aviral Goel <agoel@roblox.com>
Co-authored-by: Lily Brown <lbrown@roblox.com>
2023-11-03 16:45:04 -07:00
..
Analyze.cpp Sync to upstream/release/575 (#919) 2023-05-05 14:52:49 -07:00
Ast.cpp Sync to upstream/release/575 (#919) 2023-05-05 14:52:49 -07:00
Compile.cpp Sync to upstream/release/602 (#1089) 2023-11-03 16:45:04 -07:00
Coverage.cpp Sync to upstream/release/513 (#340) 2022-02-04 08:45:57 -08:00
Coverage.h Sync to upstream/release/507-pre (#286) 2021-12-10 14:05:05 -08:00
FileUtils.cpp Improve POSIX compliance in CLI/FileUtils.cpp (#1064) 2023-10-12 05:46:53 -07:00
FileUtils.h luau-analyze: Add support for reading source code from stdin (#325) 2022-01-25 08:25:01 -08:00
Flags.cpp Sync to upstream/release/537 (#607) 2022-07-21 14:16:54 -07:00
Flags.h Sync to upstream/release/537 (#607) 2022-07-21 14:16:54 -07:00
Profiler.cpp Sync to upstream/release/548 (#699) 2022-10-06 17:23:29 -07:00
Profiler.h Sync to upstream/release/507-pre (#286) 2021-12-10 14:05:05 -08:00
Reduce.cpp fix build & test conformance issues on mingw32/gcc and mingw64/clang (#1034) 2023-09-05 10:22:35 -07:00
Repl.cpp Sync to upstream/release/592 (#1018) 2023-08-25 10:23:55 -07:00
Repl.h Sync to upstream/release/514 (#357) 2022-02-11 11:02:09 -08:00
ReplEntry.cpp Sync to upstream/release/538 (#616) 2022-07-28 21:24:07 -07:00
Web.cpp Sync to upstream/release/509 (#303) 2022-01-06 17:46:53 -08:00