ilo 0.11.1

ilo — a programming language for AI agents
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
-- String operations: spl, fmt, trm, unq.

-- Split a string by separator (spl string sep)
parts s:t>L t;spl s "-"

-- Format with positional placeholders
greet name:t age:t>t;fmt "Hello {}, you are {} years old" name age

-- Deduplicate characters in text
dedup s:t>t;unq s

-- engine-skip: vm
-- run: parts hello-world-foo
-- out: [hello, world, foo]
-- run: greet alice 30
-- out: Hello alice, you are 30 years old
-- run: dedup abracadabra
-- out: abrcd