ternlang-core 0.3.3

Compiler and VM for Ternlang — balanced ternary language with affirm/tend/reject trit semantics, @sparseskip codegen, and BET bytecode execution.
Documentation
// Module: mcp_tool_use.tern
// Purpose: Using ternlang as a Model Context Protocol (MCP) Tool
// Author: RFI-IRFOS

/* 
 * MCP TOOL DEFINITION (JSON):
 * {
 *   "name": "trit_decide",
 *   "description": "Returns a ternary decision (affirm/tend/reject) for an input.",
 *   "parameters": {
 *     "type": "object",
 *     "properties": {
 *       "input": { "type": "string", "description": "The question to be decided." }
 *     },
 *     "required": ["input"]
 *   }
 * }
 * 
 * MCP TOOL CALL (JSON-RPC):
 * {
 *   "method": "tools/call",
 *   "params": {
 *     "name": "trit_decide",
 *     "arguments": { "input": "Should I approve this transaction?" }
 *   }
 * }
 * 
 * MCP RESPONSE INTERPRETATION:
 * - affirm: The AI agent proceeds with the action.
 * - tend: The AI agent asks for clarification or more data.
 * - reject: The AI agent stops the action.
 */

fn main() {
    print("MCP Tool Use example. See comments for JSON-RPC / MCP schema.");
}