🌍 Keyword Reference - 23 Languages

HudHudScript supports 23 languages with complete keyword mappings. Each language has ~80 keywords covering all programming constructs.

🇬🇧 English Keywords

Core Keywords (20)

Keyword Description Example
let Variable declaration let x = 10
data Mutable data data counter = 0
set Immutable value set PI = 3.14
if Conditional statement if (x > 0) { }
else Alternative branch else { }
while Loop while condition is true while (x < 10) { }
for Iteration loop for i in 0..10 { }
return Return value from function return result
break Exit loop break
continue Skip to next iteration continue

Agent System (10)

Keyword Description Example
agent Define an AI agent agent MyAgent { }
task Agent task/method task process() { }
provider LLM provider (openai, anthropic, etc.) provider: "openai"
model LLM model name model: "gpt-4"
call Invoke agent agent.call(message)

Async & Error Handling (8)

Keyword Description Example
async Asynchronous function async function fetch() { }
await Wait for async result await response
try Try block for error handling try { }
catch Catch errors catch error { }
finally Always execute block finally { }
throw Throw an error throw error