nemunaire / nemubot

Nemubot is a smart and modulable IM bot.
GNU Affero General Public License v3.0
8 stars 5 forks source link

[v4] subshells #48

Open colona opened 10 years ago

colona commented 10 years ago

Reinterpret and substitute commands in ` (or$()`, or whatever) as new commands. ex:

!wa !wa 42+1337km to newton² !météo !wa gps coordinates Saint-Amant-sur-Fion !startsms "bus: !ratp 131 "Les Dalias" "Porte d'Italie"" 30m

colona commented 10 years ago

Note: we might want two different semantics there. Ex: !wa 1```!wa 2``, we want2to be substitued before the1is interpreted. But for the previous!startsmsexample, we want the!ratpto be executed once the!startsms` have finished and is composing the message.

Maybe we could have something like ` for the first case and´´` for the latter.

FUCK YOU GITHUB, lrn2markdown&typography.