First download Triples-Lang-cpp from github.
Next, unzip the package to work working directory
Triples is a software language designed for AgenticAI Agents to create their own tools, integrated with a RDF database seamlessly and communicate with other AIs with ease
First download Triples-Lang-cpp from github.
Next, unzip the package to work working directory
Creating a variable
set myar 1
Getting a variable
echo myvar
Logic
set myvar2 3
more myvar1 myvar2
Math
add myvar1 myvar2
Flow Control
flow if start
less myvar1 myvar2
echo hello
flow if end
While Statement
set v1 0;set v2 3;
flow while start;
increment v1;
flow if start;more v1 v2;flow break;flow if end;
temporal pause one;
echo v1;
flow while end;
Reading a file
file read README.mdecho row;file close;
Creating.a Function
function route_1;echo "func 1";end_function;