A macOS application for exploring Karuta relational language queries.
- Split View Interface: Code editor on the left, results table on the right
- Socket Communication: Sends queries to a Karuta server via raw TCP socket
- XML Response Parsing: Parses XML table responses and renders them as a native table
- Real-time Connection Status: Visual indicator showing connection state
-
Connect to Server
- Enter the host (default:
localhost) and port (default:5555) - Click "Connect" to establish a connection to your Karuta server
- Green indicator shows when connected
- Enter the host (default:
-
Write Queries
- Type your Karuta query in the left editor panel
- Example:
nat[A],nat[B],plus[A,B,4]?
-
Execute
- Click the "Execute" button to send the query to the server
- Results will appear in the table on the right
The server should respond with XML in the following format:
<table>
<columns>
<column>A</column>
<column>B</column>
</columns>
<rows>
<row>
<cell>0</cell>
<cell>4</cell>
</row>
<row>
<cell>1</cell>
<cell>3</cell>
</row>
<row>
<cell>2</cell>
<cell>2</cell>
</row>
<row>
<cell>3</cell>
<cell>1</cell>
</row>
<row>
<cell>4</cell>
<cell>0</cell>
</row>
</rows>
</table>Open the project in Xcode and build:
open RelationalExplorer.xcodeprojOr build from command line:
xcodebuild -scheme RelationalExplorer -configuration Debug build- macOS 15.7+
- Xcode 17.0+
- Swift 5.0+
The app includes entitlements for:
com.apple.security.network.client- Outgoing network connectionscom.apple.security.network.server- Listening for connections (if needed)