# Tables playground (cpp_apps.md / playgrounds.md). NO se indexa.
add_imgui_app(tables_playground
    main.cpp
    data_table.cpp
    data_table_logic.cpp
    llm_anthropic.cpp
    lua_engine.cpp
    tql.cpp
    tql_to_sql.cpp
    viz.cpp
)
target_link_libraries(tables_playground PRIVATE lua54 implot)

# Self-test E2E (logica pura + lua_engine + tql).
add_executable(tables_playground_self_test
    self_test.cpp
    data_table_logic.cpp
    llm_anthropic.cpp
    lua_engine.cpp
    tql.cpp
    tql_to_sql.cpp
)
target_include_directories(tables_playground_self_test PRIVATE
    ${CMAKE_CURRENT_SOURCE_DIR}
    ${CMAKE_SOURCE_DIR}/functions
)
target_link_libraries(tables_playground_self_test PRIVATE lua54)
