luau/0.625

A fast, small, safe, gradually typed embeddable scripting language derived from Lua
Recipe info
2024-05-10

Available packages
Linux
Windows
macOS
macOS Apple Silicon

Install
Add the following line to your conanfile.txt:
[requires]
luau/0.625

Using luau

Note

If you are a new Conan user, we recommend reading the how to consume packages tutorial.

If you need additional assistance, please ask a question in the Conan Center Index repository.

Simplest use case consuming this recipe and assuming CMake as your local build tool:

[requires]
luau/0.625
[generators]
CMakeDeps
CMakeToolchain
[layout]
cmake_layout
from conan import ConanFile
from conan.tools.cmake import cmake_layout


class ExampleRecipe(ConanFile):
    settings = "os", "compiler", "build_type", "arch"
    generators = "CMakeDeps", "CMakeToolchain"

    def requirements(self):
        self.requires("luau/0.625")

    def layout(self):
        cmake_layout(self)

Now, you can run this Conan command to locally install (and build if necessary) this recipe and its dependencies (if any):

$ conan install conanfile.txt --build=missing

Useful information to take into account to consume this library:


These are the main declared targets:

  • CMake package name(s): Luau
  • CMake target name(s): Luau::Luau
  • VM => Luau::VM
    Ast => Luau::Ast
    CodeGen => Luau::CodeGen
    Analysis => Luau::Analysis
    Compiler => Luau::Compiler
    
  • pkg-config file name(s): luau.pc
  • VM => luau-VM.pc
    Ast => luau-Ast.pc
    CodeGen => luau-CodeGen.pc
    Analysis => luau-Analysis.pc
    Compiler => luau-Compiler.pc
    

A simple use case using the CMake file name and the global target:

# ...
find_package(Luau REQUIRED)
# ...
target_link_libraries(YOUR_TARGET Luau::Luau)

These are all the available headers. Some of these ones might be non-public; make sure of it by visiting the luau homepage listed above:

#include "Luau/AddressA64.h"
#include "Luau/Anyification.h"
#include "Luau/ApplyTypeFunction.h"
#include "Luau/AssemblyBuilderA64.h"
#include "Luau/AssemblyBuilderX64.h"
#include "Luau/Ast.h"
#include "Luau/AstJsonEncoder.h"
#include "Luau/AstQuery.h"
#include "Luau/Autocomplete.h"
#include "Luau/BuiltinDefinitions.h"
#include "Luau/BytecodeAnalysis.h"
#include "Luau/BytecodeBuilder.h"
#include "Luau/BytecodeSummary.h"
#include "Luau/Cancellation.h"
#include "Luau/Clone.h"
#include "Luau/CodeAllocator.h"
#include "Luau/CodeBlockUnwind.h"
#include "Luau/CodeGen.h"
#include "Luau/CodeGenCommon.h"
#include "Luau/Compiler.h"
#include "Luau/ConditionA64.h"
#include "Luau/ConditionX64.h"
#include "Luau/Confusables.h"
#include "Luau/Constraint.h"
#include "Luau/ConstraintGenerator.h"
#include "Luau/ConstraintSolver.h"
#include "Luau/ControlFlow.h"
#include "Luau/DataFlowGraph.h"
#include "Luau/DcrLogger.h"
#include "Luau/Def.h"
#include "Luau/Differ.h"
#include "Luau/Documentation.h"
#include "Luau/Error.h"
#include "Luau/FileResolver.h"
#include "Luau/Frontend.h"
#include "Luau/GlobalTypes.h"
#include "Luau/InsertionOrderedMap.h"
#include "Luau/Instantiation.h"
#include "Luau/Instantiation2.h"
#include "Luau/IostreamHelpers.h"
#include "Luau/IrAnalysis.h"
#include "Luau/IrBuilder.h"
#include "Luau/IrCallWrapperX64.h"
#include "Luau/IrData.h"
#include "Luau/IrDump.h"
#include "Luau/IrRegAllocX64.h"
#include "Luau/IrUtils.h"
#include "Luau/IrVisitUseDef.h"
#include "Luau/JsonEmitter.h"
#include "Luau/LValue.h"
#include "Luau/Label.h"
#include "Luau/Lexer.h"
#include "Luau/Linter.h"
#include "Luau/Location.h"
#include "Luau/Metamethods.h"
#include "Luau/Module.h"
#include "Luau/ModuleResolver.h"
#include "Luau/NativeProtoExecData.h"
#include "Luau/NonStrictTypeChecker.h"
#include "Luau/Normalize.h"
#include "Luau/NotNull.h"
#include "Luau/OperandX64.h"
#include "Luau/OptimizeConstProp.h"
#include "Luau/OptimizeDeadStore.h"
#include "Luau/OptimizeFinalX64.h"
#include "Luau/OverloadResolution.h"
#include "Luau/ParseOptions.h"
#include "Luau/ParseResult.h"
#include "Luau/Parser.h"
#include "Luau/Predicate.h"
#include "Luau/Quantify.h"
#include "Luau/RecursionCounter.h"
#include "Luau/Refinement.h"
#include "Luau/RegisterA64.h"
#include "Luau/RegisterX64.h"
#include "Luau/RequireTracer.h"
#include "Luau/Scope.h"
#include "Luau/Set.h"
#include "Luau/SharedCodeAllocator.h"
#include "Luau/Simplify.h"
#include "Luau/StringUtils.h"
#include "Luau/Substitution.h"
#include "Luau/Subtyping.h"
#include "Luau/Symbol.h"
#include "Luau/TableLiteralInference.h"
#include "Luau/TimeTrace.h"
#include "Luau/ToDot.h"
#include "Luau/ToString.h"
#include "Luau/TopoSortStatements.h"
#include "Luau/Transpiler.h"
#include "Luau/TxnLog.h"
#include "Luau/Type.h"
#include "Luau/TypeArena.h"
#include "Luau/TypeAttach.h"
#include "Luau/TypeCheckLimits.h"
#include "Luau/TypeChecker2.h"
#include "Luau/TypeFamily.h"
#include "Luau/TypeFamilyReductionGuesser.h"
#include "Luau/TypeFwd.h"
#include "Luau/TypeInfer.h"
#include "Luau/TypeOrPack.h"
#include "Luau/TypePack.h"
#include "Luau/TypePairHash.h"
#include "Luau/TypePath.h"
#include "Luau/TypeUtils.h"
#include "Luau/TypedAllocator.h"
#include "Luau/Unifiable.h"
#include "Luau/Unifier.h"
#include "Luau/Unifier2.h"
#include "Luau/UnifierSharedState.h"
#include "Luau/UnwindBuilder.h"
#include "Luau/UnwindBuilderDwarf2.h"
#include "Luau/UnwindBuilderWin.h"
#include "Luau/Variant.h"
#include "Luau/VisitType.h"
#include "lua.h"
#include "luacode.h"
#include "luaconf.h"
#include "lualib.h"