1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-23 18:05:08 +00:00
serenity/Meta/Lagom/Tools/CodeGenerators/JSSpecCompiler/CMakeLists.txt
Dan Klishch d14bb7e91e JSSpecCompiler: Make function arguments parsing much simpler
In a nutshell, when we understand that the expression is a function
call (this happens at '(' after an expression), stop parsing expression
and start parsing function arguments. This makes
`FunctionCallCanonicalizationPass` and the workaround for zero argument
function calls obsolete.
2024-02-24 15:03:08 -07:00

25 lines
821 B
CMake

set(SOURCES
AST/AST.cpp
AST/ASTPrinting.cpp
Compiler/CompilerPass.cpp
Compiler/ControlFlowGraph.cpp
Compiler/GenericASTPass.cpp
Compiler/Passes/CFGBuildingPass.cpp
Compiler/Passes/CFGSimplificationPass.cpp
Compiler/Passes/DeadCodeEliminationPass.cpp
Compiler/Passes/IfBranchMergingPass.cpp
Compiler/Passes/ReferenceResolvingPass.cpp
Compiler/Passes/SSABuildingPass.cpp
Parser/CppASTConverter.cpp
Parser/Lexer.cpp
Parser/SpecParser.cpp
Parser/TextParser.cpp
Parser/XMLUtils.cpp
DiagnosticEngine.cpp
Function.cpp
main.cpp
)
lagom_tool(JSSpecCompiler LIBS LibCpp LibMain LibXML LibCrypto)
target_include_directories(JSSpecCompiler PRIVATE ${CMAKE_CURRENT_SOURCE_DIR})
target_compile_options(JSSpecCompiler PRIVATE -Wno-missing-field-initializers)