2022-05-26 23:08:16 +01:00
|
|
|
# Luau.Common Sources
|
|
|
|
# Note: Until 3.19, INTERFACE targets couldn't have SOURCES property set
|
|
|
|
if(NOT ${CMAKE_VERSION} VERSION_LESS "3.19")
|
|
|
|
target_sources(Luau.Common PRIVATE
|
|
|
|
Common/include/Luau/Common.h
|
|
|
|
Common/include/Luau/Bytecode.h
|
2023-01-20 20:27:03 +00:00
|
|
|
Common/include/Luau/DenseHash.h
|
2022-07-21 22:16:54 +01:00
|
|
|
Common/include/Luau/ExperimentalFlags.h
|
2022-05-26 23:08:16 +01:00
|
|
|
)
|
|
|
|
endif()
|
|
|
|
|
2021-10-29 21:25:12 +01:00
|
|
|
# Luau.Ast Sources
|
|
|
|
target_sources(Luau.Ast PRIVATE
|
|
|
|
Ast/include/Luau/Ast.h
|
|
|
|
Ast/include/Luau/Confusables.h
|
|
|
|
Ast/include/Luau/Lexer.h
|
|
|
|
Ast/include/Luau/Location.h
|
|
|
|
Ast/include/Luau/ParseOptions.h
|
|
|
|
Ast/include/Luau/Parser.h
|
2022-02-18 01:18:01 +00:00
|
|
|
Ast/include/Luau/ParseResult.h
|
2021-10-29 21:25:12 +01:00
|
|
|
Ast/include/Luau/StringUtils.h
|
2021-11-05 02:34:35 +00:00
|
|
|
Ast/include/Luau/TimeTrace.h
|
2021-10-29 21:25:12 +01:00
|
|
|
|
|
|
|
Ast/src/Ast.cpp
|
|
|
|
Ast/src/Confusables.cpp
|
|
|
|
Ast/src/Lexer.cpp
|
|
|
|
Ast/src/Location.cpp
|
|
|
|
Ast/src/Parser.cpp
|
|
|
|
Ast/src/StringUtils.cpp
|
2021-11-05 02:34:35 +00:00
|
|
|
Ast/src/TimeTrace.cpp
|
2021-10-29 21:25:12 +01:00
|
|
|
)
|
|
|
|
|
|
|
|
# Luau.Compiler Sources
|
|
|
|
target_sources(Luau.Compiler PRIVATE
|
|
|
|
Compiler/include/Luau/BytecodeBuilder.h
|
|
|
|
Compiler/include/Luau/Compiler.h
|
2021-11-19 16:10:07 +00:00
|
|
|
Compiler/include/luacode.h
|
2021-10-29 21:25:12 +01:00
|
|
|
|
|
|
|
Compiler/src/BytecodeBuilder.cpp
|
|
|
|
Compiler/src/Compiler.cpp
|
2022-01-14 16:20:09 +00:00
|
|
|
Compiler/src/Builtins.cpp
|
2022-07-14 23:52:26 +01:00
|
|
|
Compiler/src/BuiltinFolding.cpp
|
2022-01-14 16:20:09 +00:00
|
|
|
Compiler/src/ConstantFolding.cpp
|
2022-04-15 00:57:43 +01:00
|
|
|
Compiler/src/CostModel.cpp
|
2022-01-14 16:20:09 +00:00
|
|
|
Compiler/src/TableShape.cpp
|
|
|
|
Compiler/src/ValueTracking.cpp
|
2021-11-19 16:10:07 +00:00
|
|
|
Compiler/src/lcode.cpp
|
2022-01-14 16:20:09 +00:00
|
|
|
Compiler/src/Builtins.h
|
2022-07-14 23:52:26 +01:00
|
|
|
Compiler/src/BuiltinFolding.h
|
2022-01-14 16:20:09 +00:00
|
|
|
Compiler/src/ConstantFolding.h
|
2022-04-15 00:57:43 +01:00
|
|
|
Compiler/src/CostModel.h
|
2022-01-14 16:20:09 +00:00
|
|
|
Compiler/src/TableShape.h
|
|
|
|
Compiler/src/ValueTracking.h
|
2021-10-29 21:25:12 +01:00
|
|
|
)
|
|
|
|
|
2022-05-26 23:08:16 +01:00
|
|
|
# Luau.CodeGen Sources
|
|
|
|
target_sources(Luau.CodeGen PRIVATE
|
2022-11-04 17:33:22 +00:00
|
|
|
CodeGen/include/Luau/AddressA64.h
|
|
|
|
CodeGen/include/Luau/AssemblyBuilderA64.h
|
2022-05-26 23:08:16 +01:00
|
|
|
CodeGen/include/Luau/AssemblyBuilderX64.h
|
2022-09-08 23:14:25 +01:00
|
|
|
CodeGen/include/Luau/CodeAllocator.h
|
2022-09-15 23:38:17 +01:00
|
|
|
CodeGen/include/Luau/CodeBlockUnwind.h
|
2022-10-14 20:48:41 +01:00
|
|
|
CodeGen/include/Luau/CodeGen.h
|
2022-11-04 17:33:22 +00:00
|
|
|
CodeGen/include/Luau/ConditionA64.h
|
|
|
|
CodeGen/include/Luau/ConditionX64.h
|
Sync to upstream/release/562 (#828)
* Fixed rare use-after-free in analysis during table unification
A lot of work these past months went into two new Luau components:
* A near full rewrite of the typechecker using a new deferred constraint
resolution system
* Native code generation for AoT/JiT compilation of VM bytecode into x64
(avx)/arm64 instructions
Both of these components are far from finished and we don't provide
documentation on building and using them at this point.
However, curious community members expressed interest in learning about
changes that go into these components each week, so we are now listing
them here in the 'sync' pull request descriptions.
---
New typechecker can be enabled by setting
DebugLuauDeferredConstraintResolution flag to 'true'.
It is considered unstable right now, so try it at your own risk.
Even though it already provides better type inference than the current
one in some cases, our main goal right now is to reach feature parity
with current typechecker.
Features which improve over the capabilities of the current typechecker
are marked as '(NEW)'.
Changes to new typechecker:
* Regular for loop index and parameters are now typechecked
* Invalid type annotations on local variables are ignored to improve
autocomplete
* Fixed missing autocomplete type suggestions for function arguments
* Type reduction is now performed to produce simpler types to be
presented to the user (error messages, custom LSPs)
* Internally, complex types like '((number | string) & ~(false?)) |
string' can be produced, which is just 'string | number' when simplified
* Fixed spots where support for unknown and never types was missing
* (NEW) Length operator '#' is now valid to use on top table type, this
type comes up when doing typeof(x) == "table" guards and isn't available
in current typechecker
---
Changes to native code generation:
* Additional math library fast calls are now lowered to x64: math.ldexp,
math.round, math.frexp, math.modf, math.sign and math.clamp
2023-02-03 19:26:13 +00:00
|
|
|
CodeGen/include/Luau/IrAnalysis.h
|
|
|
|
CodeGen/include/Luau/IrBuilder.h
|
|
|
|
CodeGen/include/Luau/IrDump.h
|
|
|
|
CodeGen/include/Luau/IrData.h
|
|
|
|
CodeGen/include/Luau/IrUtils.h
|
2022-05-26 23:08:16 +01:00
|
|
|
CodeGen/include/Luau/Label.h
|
|
|
|
CodeGen/include/Luau/OperandX64.h
|
2023-02-24 21:49:38 +00:00
|
|
|
CodeGen/include/Luau/OptimizeConstProp.h
|
2023-02-10 19:40:38 +00:00
|
|
|
CodeGen/include/Luau/OptimizeFinalX64.h
|
2022-11-04 17:33:22 +00:00
|
|
|
CodeGen/include/Luau/RegisterA64.h
|
2022-05-26 23:08:16 +01:00
|
|
|
CodeGen/include/Luau/RegisterX64.h
|
2022-09-15 23:38:17 +01:00
|
|
|
CodeGen/include/Luau/UnwindBuilder.h
|
|
|
|
CodeGen/include/Luau/UnwindBuilderDwarf2.h
|
|
|
|
CodeGen/include/Luau/UnwindBuilderWin.h
|
2022-05-26 23:08:16 +01:00
|
|
|
|
2022-11-04 17:33:22 +00:00
|
|
|
CodeGen/src/AssemblyBuilderA64.cpp
|
2022-05-26 23:08:16 +01:00
|
|
|
CodeGen/src/AssemblyBuilderX64.cpp
|
2022-09-08 23:14:25 +01:00
|
|
|
CodeGen/src/CodeAllocator.cpp
|
2022-09-15 23:38:17 +01:00
|
|
|
CodeGen/src/CodeBlockUnwind.cpp
|
2022-10-14 20:48:41 +01:00
|
|
|
CodeGen/src/CodeGen.cpp
|
2022-10-28 11:37:29 +01:00
|
|
|
CodeGen/src/CodeGenUtils.cpp
|
2023-03-24 18:03:04 +00:00
|
|
|
CodeGen/src/CodeGenA64.cpp
|
2022-10-14 20:48:41 +01:00
|
|
|
CodeGen/src/CodeGenX64.cpp
|
|
|
|
CodeGen/src/EmitBuiltinsX64.cpp
|
2023-03-24 18:03:04 +00:00
|
|
|
CodeGen/src/EmitCommonA64.cpp
|
2022-10-14 20:48:41 +01:00
|
|
|
CodeGen/src/EmitCommonX64.cpp
|
2023-03-24 18:03:04 +00:00
|
|
|
CodeGen/src/EmitInstructionA64.cpp
|
2022-10-14 20:48:41 +01:00
|
|
|
CodeGen/src/EmitInstructionX64.cpp
|
2022-09-23 20:17:25 +01:00
|
|
|
CodeGen/src/Fallbacks.cpp
|
2023-01-27 22:28:31 +00:00
|
|
|
CodeGen/src/IrAnalysis.cpp
|
2023-01-20 20:27:03 +00:00
|
|
|
CodeGen/src/IrBuilder.cpp
|
2023-01-13 22:10:01 +00:00
|
|
|
CodeGen/src/IrDump.cpp
|
2023-03-24 18:03:04 +00:00
|
|
|
CodeGen/src/IrLoweringA64.cpp
|
2023-01-27 22:28:31 +00:00
|
|
|
CodeGen/src/IrLoweringX64.cpp
|
2023-02-24 21:49:38 +00:00
|
|
|
CodeGen/src/IrRegAllocX64.cpp
|
|
|
|
CodeGen/src/IrTranslateBuiltins.cpp
|
2023-01-20 20:27:03 +00:00
|
|
|
CodeGen/src/IrTranslation.cpp
|
2023-02-10 19:40:38 +00:00
|
|
|
CodeGen/src/IrUtils.cpp
|
2022-10-14 20:48:41 +01:00
|
|
|
CodeGen/src/NativeState.cpp
|
2023-02-24 21:49:38 +00:00
|
|
|
CodeGen/src/OptimizeConstProp.cpp
|
2023-02-10 19:40:38 +00:00
|
|
|
CodeGen/src/OptimizeFinalX64.cpp
|
2022-09-15 23:38:17 +01:00
|
|
|
CodeGen/src/UnwindBuilderDwarf2.cpp
|
|
|
|
CodeGen/src/UnwindBuilderWin.cpp
|
2022-09-23 20:17:25 +01:00
|
|
|
|
|
|
|
CodeGen/src/ByteUtils.h
|
2022-10-14 20:48:41 +01:00
|
|
|
CodeGen/src/CustomExecUtils.h
|
2022-10-28 11:37:29 +01:00
|
|
|
CodeGen/src/CodeGenUtils.h
|
2023-03-24 18:03:04 +00:00
|
|
|
CodeGen/src/CodeGenA64.h
|
2022-10-14 20:48:41 +01:00
|
|
|
CodeGen/src/CodeGenX64.h
|
|
|
|
CodeGen/src/EmitBuiltinsX64.h
|
2023-03-03 20:21:14 +00:00
|
|
|
CodeGen/src/EmitCommon.h
|
2023-03-24 18:03:04 +00:00
|
|
|
CodeGen/src/EmitCommonA64.h
|
2022-10-14 20:48:41 +01:00
|
|
|
CodeGen/src/EmitCommonX64.h
|
2023-03-24 18:03:04 +00:00
|
|
|
CodeGen/src/EmitInstructionA64.h
|
2022-10-14 20:48:41 +01:00
|
|
|
CodeGen/src/EmitInstructionX64.h
|
2022-09-23 20:17:25 +01:00
|
|
|
CodeGen/src/Fallbacks.h
|
|
|
|
CodeGen/src/FallbacksProlog.h
|
2023-03-24 18:03:04 +00:00
|
|
|
CodeGen/src/IrLoweringA64.h
|
2023-01-27 22:28:31 +00:00
|
|
|
CodeGen/src/IrLoweringX64.h
|
2023-02-24 21:49:38 +00:00
|
|
|
CodeGen/src/IrRegAllocX64.h
|
|
|
|
CodeGen/src/IrTranslateBuiltins.h
|
2023-01-20 20:27:03 +00:00
|
|
|
CodeGen/src/IrTranslation.h
|
2022-10-14 20:48:41 +01:00
|
|
|
CodeGen/src/NativeState.h
|
2022-05-26 23:08:16 +01:00
|
|
|
)
|
|
|
|
|
2021-10-29 21:25:12 +01:00
|
|
|
# Luau.Analysis Sources
|
|
|
|
target_sources(Luau.Analysis PRIVATE
|
2022-08-18 22:32:08 +01:00
|
|
|
Analysis/include/Luau/Anyification.h
|
2022-08-04 23:35:33 +01:00
|
|
|
Analysis/include/Luau/ApplyTypeFunction.h
|
|
|
|
Analysis/include/Luau/AstJsonEncoder.h
|
2021-10-29 21:25:12 +01:00
|
|
|
Analysis/include/Luau/AstQuery.h
|
|
|
|
Analysis/include/Luau/Autocomplete.h
|
2023-03-03 20:21:14 +00:00
|
|
|
Analysis/include/Luau/Breadcrumb.h
|
2021-10-29 21:25:12 +01:00
|
|
|
Analysis/include/Luau/BuiltinDefinitions.h
|
2022-04-07 22:29:01 +01:00
|
|
|
Analysis/include/Luau/Clone.h
|
2022-06-03 23:15:45 +01:00
|
|
|
Analysis/include/Luau/Config.h
|
Sync to upstream/release/562 (#828)
* Fixed rare use-after-free in analysis during table unification
A lot of work these past months went into two new Luau components:
* A near full rewrite of the typechecker using a new deferred constraint
resolution system
* Native code generation for AoT/JiT compilation of VM bytecode into x64
(avx)/arm64 instructions
Both of these components are far from finished and we don't provide
documentation on building and using them at this point.
However, curious community members expressed interest in learning about
changes that go into these components each week, so we are now listing
them here in the 'sync' pull request descriptions.
---
New typechecker can be enabled by setting
DebugLuauDeferredConstraintResolution flag to 'true'.
It is considered unstable right now, so try it at your own risk.
Even though it already provides better type inference than the current
one in some cases, our main goal right now is to reach feature parity
with current typechecker.
Features which improve over the capabilities of the current typechecker
are marked as '(NEW)'.
Changes to new typechecker:
* Regular for loop index and parameters are now typechecked
* Invalid type annotations on local variables are ignored to improve
autocomplete
* Fixed missing autocomplete type suggestions for function arguments
* Type reduction is now performed to produce simpler types to be
presented to the user (error messages, custom LSPs)
* Internally, complex types like '((number | string) & ~(false?)) |
string' can be produced, which is just 'string | number' when simplified
* Fixed spots where support for unknown and never types was missing
* (NEW) Length operator '#' is now valid to use on top table type, this
type comes up when doing typeof(x) == "table" guards and isn't available
in current typechecker
---
Changes to native code generation:
* Additional math library fast calls are now lowered to x64: math.ldexp,
math.round, math.frexp, math.modf, math.sign and math.clamp
2023-02-03 19:26:13 +00:00
|
|
|
Analysis/include/Luau/Refinement.h
|
2022-06-17 02:05:14 +01:00
|
|
|
Analysis/include/Luau/Constraint.h
|
2022-06-03 23:15:45 +01:00
|
|
|
Analysis/include/Luau/ConstraintGraphBuilder.h
|
|
|
|
Analysis/include/Luau/ConstraintSolver.h
|
2023-03-17 19:20:37 +00:00
|
|
|
Analysis/include/Luau/ControlFlow.h
|
2022-12-02 18:09:59 +00:00
|
|
|
Analysis/include/Luau/DataFlowGraph.h
|
2022-09-08 23:14:25 +01:00
|
|
|
Analysis/include/Luau/DcrLogger.h
|
2022-10-21 18:54:01 +01:00
|
|
|
Analysis/include/Luau/Def.h
|
2021-10-29 21:25:12 +01:00
|
|
|
Analysis/include/Luau/Documentation.h
|
|
|
|
Analysis/include/Luau/Error.h
|
|
|
|
Analysis/include/Luau/FileResolver.h
|
|
|
|
Analysis/include/Luau/Frontend.h
|
2022-05-26 23:08:16 +01:00
|
|
|
Analysis/include/Luau/Instantiation.h
|
2021-10-29 21:25:12 +01:00
|
|
|
Analysis/include/Luau/IostreamHelpers.h
|
2022-08-04 23:35:33 +01:00
|
|
|
Analysis/include/Luau/JsonEmitter.h
|
2021-10-29 21:25:12 +01:00
|
|
|
Analysis/include/Luau/Linter.h
|
2022-01-06 23:26:14 +00:00
|
|
|
Analysis/include/Luau/LValue.h
|
2022-10-21 18:54:01 +01:00
|
|
|
Analysis/include/Luau/Metamethods.h
|
2021-10-29 21:25:12 +01:00
|
|
|
Analysis/include/Luau/Module.h
|
|
|
|
Analysis/include/Luau/ModuleResolver.h
|
2022-04-15 00:57:43 +01:00
|
|
|
Analysis/include/Luau/Normalize.h
|
2021-10-29 21:25:12 +01:00
|
|
|
Analysis/include/Luau/Predicate.h
|
2021-11-05 15:47:21 +00:00
|
|
|
Analysis/include/Luau/Quantify.h
|
2021-10-29 21:25:12 +01:00
|
|
|
Analysis/include/Luau/RecursionCounter.h
|
|
|
|
Analysis/include/Luau/RequireTracer.h
|
2021-11-05 02:34:35 +00:00
|
|
|
Analysis/include/Luau/Scope.h
|
2021-10-29 21:25:12 +01:00
|
|
|
Analysis/include/Luau/Substitution.h
|
|
|
|
Analysis/include/Luau/Symbol.h
|
2021-12-03 06:41:04 +00:00
|
|
|
Analysis/include/Luau/ToDot.h
|
2021-10-29 21:25:12 +01:00
|
|
|
Analysis/include/Luau/TopoSortStatements.h
|
|
|
|
Analysis/include/Luau/ToString.h
|
|
|
|
Analysis/include/Luau/Transpiler.h
|
|
|
|
Analysis/include/Luau/TxnLog.h
|
2022-05-20 01:02:24 +01:00
|
|
|
Analysis/include/Luau/TypeArena.h
|
2021-10-29 21:25:12 +01:00
|
|
|
Analysis/include/Luau/TypeAttach.h
|
2022-06-17 02:05:14 +01:00
|
|
|
Analysis/include/Luau/TypeChecker2.h
|
2021-10-29 21:25:12 +01:00
|
|
|
Analysis/include/Luau/TypedAllocator.h
|
|
|
|
Analysis/include/Luau/TypeInfer.h
|
|
|
|
Analysis/include/Luau/TypePack.h
|
2023-01-06 21:14:35 +00:00
|
|
|
Analysis/include/Luau/TypeReduction.h
|
2021-10-29 21:25:12 +01:00
|
|
|
Analysis/include/Luau/TypeUtils.h
|
2023-01-04 20:53:17 +00:00
|
|
|
Analysis/include/Luau/Type.h
|
2021-10-29 21:25:12 +01:00
|
|
|
Analysis/include/Luau/Unifiable.h
|
|
|
|
Analysis/include/Luau/Unifier.h
|
2021-11-05 15:47:21 +00:00
|
|
|
Analysis/include/Luau/UnifierSharedState.h
|
2021-10-29 21:25:12 +01:00
|
|
|
Analysis/include/Luau/Variant.h
|
2023-01-04 20:53:17 +00:00
|
|
|
Analysis/include/Luau/VisitType.h
|
2021-10-29 21:25:12 +01:00
|
|
|
|
2022-08-18 22:32:08 +01:00
|
|
|
Analysis/src/Anyification.cpp
|
2022-08-04 23:35:33 +01:00
|
|
|
Analysis/src/ApplyTypeFunction.cpp
|
|
|
|
Analysis/src/AstJsonEncoder.cpp
|
2021-10-29 21:25:12 +01:00
|
|
|
Analysis/src/AstQuery.cpp
|
|
|
|
Analysis/src/Autocomplete.cpp
|
|
|
|
Analysis/src/BuiltinDefinitions.cpp
|
2022-04-07 22:29:01 +01:00
|
|
|
Analysis/src/Clone.cpp
|
2022-06-03 23:15:45 +01:00
|
|
|
Analysis/src/Config.cpp
|
Sync to upstream/release/562 (#828)
* Fixed rare use-after-free in analysis during table unification
A lot of work these past months went into two new Luau components:
* A near full rewrite of the typechecker using a new deferred constraint
resolution system
* Native code generation for AoT/JiT compilation of VM bytecode into x64
(avx)/arm64 instructions
Both of these components are far from finished and we don't provide
documentation on building and using them at this point.
However, curious community members expressed interest in learning about
changes that go into these components each week, so we are now listing
them here in the 'sync' pull request descriptions.
---
New typechecker can be enabled by setting
DebugLuauDeferredConstraintResolution flag to 'true'.
It is considered unstable right now, so try it at your own risk.
Even though it already provides better type inference than the current
one in some cases, our main goal right now is to reach feature parity
with current typechecker.
Features which improve over the capabilities of the current typechecker
are marked as '(NEW)'.
Changes to new typechecker:
* Regular for loop index and parameters are now typechecked
* Invalid type annotations on local variables are ignored to improve
autocomplete
* Fixed missing autocomplete type suggestions for function arguments
* Type reduction is now performed to produce simpler types to be
presented to the user (error messages, custom LSPs)
* Internally, complex types like '((number | string) & ~(false?)) |
string' can be produced, which is just 'string | number' when simplified
* Fixed spots where support for unknown and never types was missing
* (NEW) Length operator '#' is now valid to use on top table type, this
type comes up when doing typeof(x) == "table" guards and isn't available
in current typechecker
---
Changes to native code generation:
* Additional math library fast calls are now lowered to x64: math.ldexp,
math.round, math.frexp, math.modf, math.sign and math.clamp
2023-02-03 19:26:13 +00:00
|
|
|
Analysis/src/Refinement.cpp
|
2022-06-17 02:05:14 +01:00
|
|
|
Analysis/src/Constraint.cpp
|
2022-06-03 23:15:45 +01:00
|
|
|
Analysis/src/ConstraintGraphBuilder.cpp
|
|
|
|
Analysis/src/ConstraintSolver.cpp
|
2022-12-02 18:09:59 +00:00
|
|
|
Analysis/src/DataFlowGraph.cpp
|
2022-09-08 23:14:25 +01:00
|
|
|
Analysis/src/DcrLogger.cpp
|
2022-10-21 18:54:01 +01:00
|
|
|
Analysis/src/Def.cpp
|
2022-08-18 22:32:08 +01:00
|
|
|
Analysis/src/EmbeddedBuiltinDefinitions.cpp
|
2021-10-29 21:25:12 +01:00
|
|
|
Analysis/src/Error.cpp
|
|
|
|
Analysis/src/Frontend.cpp
|
2022-05-26 23:08:16 +01:00
|
|
|
Analysis/src/Instantiation.cpp
|
2021-10-29 21:25:12 +01:00
|
|
|
Analysis/src/IostreamHelpers.cpp
|
2022-08-04 23:35:33 +01:00
|
|
|
Analysis/src/JsonEmitter.cpp
|
2021-10-29 21:25:12 +01:00
|
|
|
Analysis/src/Linter.cpp
|
2022-01-06 23:26:14 +00:00
|
|
|
Analysis/src/LValue.cpp
|
2021-10-29 21:25:12 +01:00
|
|
|
Analysis/src/Module.cpp
|
2022-04-15 00:57:43 +01:00
|
|
|
Analysis/src/Normalize.cpp
|
2021-11-05 15:47:21 +00:00
|
|
|
Analysis/src/Quantify.cpp
|
2021-10-29 21:25:12 +01:00
|
|
|
Analysis/src/RequireTracer.cpp
|
2021-11-05 02:34:35 +00:00
|
|
|
Analysis/src/Scope.cpp
|
2021-10-29 21:25:12 +01:00
|
|
|
Analysis/src/Substitution.cpp
|
|
|
|
Analysis/src/Symbol.cpp
|
2021-12-03 06:41:04 +00:00
|
|
|
Analysis/src/ToDot.cpp
|
2021-10-29 21:25:12 +01:00
|
|
|
Analysis/src/TopoSortStatements.cpp
|
|
|
|
Analysis/src/ToString.cpp
|
|
|
|
Analysis/src/Transpiler.cpp
|
|
|
|
Analysis/src/TxnLog.cpp
|
2022-05-20 01:02:24 +01:00
|
|
|
Analysis/src/TypeArena.cpp
|
2021-10-29 21:25:12 +01:00
|
|
|
Analysis/src/TypeAttach.cpp
|
2022-06-17 02:05:14 +01:00
|
|
|
Analysis/src/TypeChecker2.cpp
|
2021-10-29 21:25:12 +01:00
|
|
|
Analysis/src/TypedAllocator.cpp
|
|
|
|
Analysis/src/TypeInfer.cpp
|
|
|
|
Analysis/src/TypePack.cpp
|
2023-01-06 21:14:35 +00:00
|
|
|
Analysis/src/TypeReduction.cpp
|
2021-10-29 21:25:12 +01:00
|
|
|
Analysis/src/TypeUtils.cpp
|
2023-01-04 20:53:17 +00:00
|
|
|
Analysis/src/Type.cpp
|
2021-10-29 21:25:12 +01:00
|
|
|
Analysis/src/Unifiable.cpp
|
|
|
|
Analysis/src/Unifier.cpp
|
|
|
|
)
|
|
|
|
|
|
|
|
# Luau.VM Sources
|
|
|
|
target_sources(Luau.VM PRIVATE
|
|
|
|
VM/include/lua.h
|
|
|
|
VM/include/luaconf.h
|
|
|
|
VM/include/lualib.h
|
|
|
|
|
|
|
|
VM/src/lapi.cpp
|
|
|
|
VM/src/laux.cpp
|
|
|
|
VM/src/lbaselib.cpp
|
|
|
|
VM/src/lbitlib.cpp
|
|
|
|
VM/src/lbuiltins.cpp
|
|
|
|
VM/src/lcorolib.cpp
|
|
|
|
VM/src/ldblib.cpp
|
|
|
|
VM/src/ldebug.cpp
|
|
|
|
VM/src/ldo.cpp
|
|
|
|
VM/src/lfunc.cpp
|
|
|
|
VM/src/lgc.cpp
|
2021-12-03 06:41:04 +00:00
|
|
|
VM/src/lgcdebug.cpp
|
2021-10-29 21:25:12 +01:00
|
|
|
VM/src/linit.cpp
|
|
|
|
VM/src/lmathlib.cpp
|
|
|
|
VM/src/lmem.cpp
|
2022-01-07 01:46:53 +00:00
|
|
|
VM/src/lnumprint.cpp
|
2021-10-29 21:25:12 +01:00
|
|
|
VM/src/lobject.cpp
|
|
|
|
VM/src/loslib.cpp
|
|
|
|
VM/src/lperf.cpp
|
|
|
|
VM/src/lstate.cpp
|
|
|
|
VM/src/lstring.cpp
|
|
|
|
VM/src/lstrlib.cpp
|
|
|
|
VM/src/ltable.cpp
|
|
|
|
VM/src/ltablib.cpp
|
|
|
|
VM/src/ltm.cpp
|
2021-12-10 22:05:05 +00:00
|
|
|
VM/src/ludata.cpp
|
2021-10-29 21:25:12 +01:00
|
|
|
VM/src/lutf8lib.cpp
|
|
|
|
VM/src/lvmexecute.cpp
|
|
|
|
VM/src/lvmload.cpp
|
|
|
|
VM/src/lvmutils.cpp
|
2022-10-14 20:48:41 +01:00
|
|
|
|
2021-10-29 21:25:12 +01:00
|
|
|
VM/src/lapi.h
|
|
|
|
VM/src/lbuiltins.h
|
|
|
|
VM/src/lbytecode.h
|
|
|
|
VM/src/lcommon.h
|
|
|
|
VM/src/ldebug.h
|
|
|
|
VM/src/ldo.h
|
|
|
|
VM/src/lfunc.h
|
|
|
|
VM/src/lgc.h
|
|
|
|
VM/src/lmem.h
|
|
|
|
VM/src/lnumutils.h
|
|
|
|
VM/src/lobject.h
|
|
|
|
VM/src/lstate.h
|
|
|
|
VM/src/lstring.h
|
|
|
|
VM/src/ltable.h
|
|
|
|
VM/src/ltm.h
|
2021-12-10 22:05:05 +00:00
|
|
|
VM/src/ludata.h
|
2021-10-29 21:25:12 +01:00
|
|
|
VM/src/lvm.h
|
|
|
|
)
|
|
|
|
|
2022-02-04 16:45:57 +00:00
|
|
|
target_sources(isocline PRIVATE
|
|
|
|
extern/isocline/include/isocline.h
|
|
|
|
extern/isocline/src/isocline.c
|
|
|
|
)
|
|
|
|
|
2021-10-29 21:25:12 +01:00
|
|
|
if(TARGET Luau.Repl.CLI)
|
|
|
|
# Luau.Repl.CLI Sources
|
|
|
|
target_sources(Luau.Repl.CLI PRIVATE
|
2021-12-10 22:05:05 +00:00
|
|
|
CLI/Coverage.h
|
|
|
|
CLI/Coverage.cpp
|
2021-10-29 21:25:12 +01:00
|
|
|
CLI/FileUtils.h
|
|
|
|
CLI/FileUtils.cpp
|
2022-07-21 22:16:54 +01:00
|
|
|
CLI/Flags.h
|
|
|
|
CLI/Flags.cpp
|
2021-10-29 21:25:12 +01:00
|
|
|
CLI/Profiler.h
|
|
|
|
CLI/Profiler.cpp
|
2022-01-27 23:46:05 +00:00
|
|
|
CLI/Repl.cpp
|
|
|
|
CLI/ReplEntry.cpp)
|
2021-10-29 21:25:12 +01:00
|
|
|
endif()
|
|
|
|
|
|
|
|
if(TARGET Luau.Analyze.CLI)
|
|
|
|
# Luau.Analyze.CLI Sources
|
|
|
|
target_sources(Luau.Analyze.CLI PRIVATE
|
|
|
|
CLI/FileUtils.h
|
|
|
|
CLI/FileUtils.cpp
|
2022-07-21 22:16:54 +01:00
|
|
|
CLI/Flags.h
|
|
|
|
CLI/Flags.cpp
|
2021-10-29 21:25:12 +01:00
|
|
|
CLI/Analyze.cpp)
|
|
|
|
endif()
|
|
|
|
|
2022-02-11 19:02:09 +00:00
|
|
|
if(TARGET Luau.Ast.CLI)
|
2022-02-07 20:08:43 +00:00
|
|
|
target_sources(Luau.Ast.CLI PRIVATE
|
2022-02-11 19:02:09 +00:00
|
|
|
CLI/Ast.cpp
|
2022-02-07 20:08:43 +00:00
|
|
|
CLI/FileUtils.h
|
|
|
|
CLI/FileUtils.cpp
|
2022-02-11 19:02:09 +00:00
|
|
|
)
|
2022-02-07 20:08:43 +00:00
|
|
|
endif()
|
|
|
|
|
2021-10-29 21:25:12 +01:00
|
|
|
if(TARGET Luau.UnitTest)
|
|
|
|
# Luau.UnitTest Sources
|
|
|
|
target_sources(Luau.UnitTest PRIVATE
|
2022-12-02 18:09:59 +00:00
|
|
|
tests/AstQueryDsl.cpp
|
2022-09-15 23:38:17 +01:00
|
|
|
tests/AstQueryDsl.h
|
2022-12-02 18:09:59 +00:00
|
|
|
tests/ClassFixture.cpp
|
|
|
|
tests/ClassFixture.h
|
|
|
|
tests/ConstraintGraphBuilderFixture.cpp
|
2022-09-15 23:38:17 +01:00
|
|
|
tests/ConstraintGraphBuilderFixture.h
|
2022-12-02 18:09:59 +00:00
|
|
|
tests/Fixture.cpp
|
2021-10-29 21:25:12 +01:00
|
|
|
tests/Fixture.h
|
|
|
|
tests/IostreamOptional.h
|
|
|
|
tests/ScopedFlags.h
|
2022-07-08 02:22:39 +01:00
|
|
|
tests/AssemblyBuilderX64.test.cpp
|
2022-08-04 23:35:33 +01:00
|
|
|
tests/AstJsonEncoder.test.cpp
|
2021-10-29 21:25:12 +01:00
|
|
|
tests/AstQuery.test.cpp
|
|
|
|
tests/AstVisitor.test.cpp
|
|
|
|
tests/Autocomplete.test.cpp
|
|
|
|
tests/BuiltinDefinitions.test.cpp
|
2022-09-08 23:14:25 +01:00
|
|
|
tests/CodeAllocator.test.cpp
|
2021-10-29 21:25:12 +01:00
|
|
|
tests/Compiler.test.cpp
|
|
|
|
tests/Config.test.cpp
|
2022-07-08 02:22:39 +01:00
|
|
|
tests/ConstraintSolver.test.cpp
|
2022-04-29 02:24:24 +01:00
|
|
|
tests/CostModel.test.cpp
|
2022-12-02 18:09:59 +00:00
|
|
|
tests/DataFlowGraph.test.cpp
|
2023-01-27 22:28:31 +00:00
|
|
|
tests/DenseHash.test.cpp
|
2021-10-29 21:25:12 +01:00
|
|
|
tests/Error.test.cpp
|
|
|
|
tests/Frontend.test.cpp
|
2023-02-10 19:40:38 +00:00
|
|
|
tests/IrBuilder.test.cpp
|
2022-08-04 23:35:33 +01:00
|
|
|
tests/JsonEmitter.test.cpp
|
2022-07-29 05:24:07 +01:00
|
|
|
tests/Lexer.test.cpp
|
2021-10-29 21:25:12 +01:00
|
|
|
tests/Linter.test.cpp
|
2022-01-06 23:26:14 +00:00
|
|
|
tests/LValue.test.cpp
|
2021-10-29 21:25:12 +01:00
|
|
|
tests/Module.test.cpp
|
|
|
|
tests/NonstrictMode.test.cpp
|
2022-04-15 00:57:43 +01:00
|
|
|
tests/Normalize.test.cpp
|
2022-07-08 02:22:39 +01:00
|
|
|
tests/NotNull.test.cpp
|
2021-10-29 21:25:12 +01:00
|
|
|
tests/Parser.test.cpp
|
|
|
|
tests/RequireTracer.test.cpp
|
2022-04-29 02:24:24 +01:00
|
|
|
tests/RuntimeLimits.test.cpp
|
2021-10-29 21:25:12 +01:00
|
|
|
tests/StringUtils.test.cpp
|
|
|
|
tests/Symbol.test.cpp
|
2021-12-03 06:41:04 +00:00
|
|
|
tests/ToDot.test.cpp
|
2021-10-29 21:25:12 +01:00
|
|
|
tests/TopoSort.test.cpp
|
|
|
|
tests/ToString.test.cpp
|
|
|
|
tests/Transpiler.test.cpp
|
2021-11-05 02:34:35 +00:00
|
|
|
tests/TypeInfer.aliases.test.cpp
|
2021-10-29 21:25:12 +01:00
|
|
|
tests/TypeInfer.annotations.test.cpp
|
2022-03-18 00:46:04 +00:00
|
|
|
tests/TypeInfer.anyerror.test.cpp
|
2021-10-29 21:25:12 +01:00
|
|
|
tests/TypeInfer.builtins.test.cpp
|
2023-03-17 19:20:37 +00:00
|
|
|
tests/TypeInfer.cfa.test.cpp
|
2021-10-29 21:25:12 +01:00
|
|
|
tests/TypeInfer.classes.test.cpp
|
|
|
|
tests/TypeInfer.definitions.test.cpp
|
2022-03-18 00:46:04 +00:00
|
|
|
tests/TypeInfer.functions.test.cpp
|
2021-10-29 21:25:12 +01:00
|
|
|
tests/TypeInfer.generics.test.cpp
|
|
|
|
tests/TypeInfer.intersectionTypes.test.cpp
|
2022-03-18 00:46:04 +00:00
|
|
|
tests/TypeInfer.loops.test.cpp
|
|
|
|
tests/TypeInfer.modules.test.cpp
|
2022-10-28 11:37:29 +01:00
|
|
|
tests/TypeInfer.negations.test.cpp
|
2022-03-18 00:46:04 +00:00
|
|
|
tests/TypeInfer.oop.test.cpp
|
|
|
|
tests/TypeInfer.operators.test.cpp
|
|
|
|
tests/TypeInfer.primitives.test.cpp
|
2021-10-29 21:25:12 +01:00
|
|
|
tests/TypeInfer.provisional.test.cpp
|
|
|
|
tests/TypeInfer.refinements.test.cpp
|
2021-11-19 16:10:07 +00:00
|
|
|
tests/TypeInfer.singletons.test.cpp
|
2021-10-29 21:25:12 +01:00
|
|
|
tests/TypeInfer.tables.test.cpp
|
|
|
|
tests/TypeInfer.test.cpp
|
|
|
|
tests/TypeInfer.tryUnify.test.cpp
|
|
|
|
tests/TypeInfer.typePacks.cpp
|
|
|
|
tests/TypeInfer.unionTypes.test.cpp
|
2022-07-08 02:22:39 +01:00
|
|
|
tests/TypeInfer.unknownnever.test.cpp
|
2021-10-29 21:25:12 +01:00
|
|
|
tests/TypePack.test.cpp
|
2023-01-06 21:14:35 +00:00
|
|
|
tests/TypeReduction.test.cpp
|
2021-10-29 21:25:12 +01:00
|
|
|
tests/TypeVar.test.cpp
|
|
|
|
tests/Variant.test.cpp
|
2023-01-04 20:53:17 +00:00
|
|
|
tests/VisitType.test.cpp
|
2021-10-29 21:25:12 +01:00
|
|
|
tests/main.cpp)
|
|
|
|
endif()
|
|
|
|
|
|
|
|
if(TARGET Luau.Conformance)
|
|
|
|
# Luau.Conformance Sources
|
|
|
|
target_sources(Luau.Conformance PRIVATE
|
|
|
|
tests/Conformance.test.cpp
|
|
|
|
tests/main.cpp)
|
|
|
|
endif()
|
2021-11-22 17:59:15 +00:00
|
|
|
|
2022-01-27 23:46:05 +00:00
|
|
|
if(TARGET Luau.CLI.Test)
|
|
|
|
# Luau.CLI.Test Sources
|
|
|
|
target_sources(Luau.CLI.Test PRIVATE
|
|
|
|
CLI/Coverage.h
|
|
|
|
CLI/Coverage.cpp
|
|
|
|
CLI/FileUtils.h
|
|
|
|
CLI/FileUtils.cpp
|
2022-07-21 22:16:54 +01:00
|
|
|
CLI/Flags.h
|
|
|
|
CLI/Flags.cpp
|
2022-01-27 23:46:05 +00:00
|
|
|
CLI/Profiler.h
|
|
|
|
CLI/Profiler.cpp
|
|
|
|
CLI/Repl.cpp
|
2022-10-21 18:54:01 +01:00
|
|
|
|
2022-01-27 23:46:05 +00:00
|
|
|
tests/Repl.test.cpp
|
|
|
|
tests/main.cpp)
|
|
|
|
endif()
|
|
|
|
|
2021-11-22 17:59:15 +00:00
|
|
|
if(TARGET Luau.Web)
|
|
|
|
# Luau.Web Sources
|
|
|
|
target_sources(Luau.Web PRIVATE
|
|
|
|
CLI/Web.cpp)
|
|
|
|
endif()
|
2022-08-11 22:01:33 +01:00
|
|
|
|
|
|
|
if(TARGET Luau.Reduce.CLI)
|
|
|
|
target_sources(Luau.Reduce.CLI PRIVATE
|
|
|
|
CLI/Reduce.cpp
|
|
|
|
CLI/FileUtils.cpp
|
|
|
|
CLI/FileUtils.h
|
|
|
|
)
|
|
|
|
endif()
|