-> protocol = 'https'
-> #http = { protocol = 'http' }
-> #h = { host = _ }
'$news'
'$yandex' -> host = 'news.yandex.ru'
'$bbc' -> host = 'bbc.com'
'$cnn' -> host = 'cnn.com'
// Music
'$music'
'$groove' -> { #http(); host = 'groovemp3.com' }
'$artist' -> path = 'artist'
freetype -> path /= _
'$vk' -> { host = 'vk.com'; path = 'audio' }
freetype -> param('q', _)
// Instagram
'$instagram' -> host = 'instagram.com'
'by $nickname'
freetype -> path = _
'by $tag' -> path = 'explore/tags'
freetype -> path /= _
'$wikipedia' -> { host = '{lang}.wikipedia.org'; lang = 'en' }
and
'$language'
'$russian' -> lang = 'ru'
'$english' -> lang = 'en'
'$term'
-> path = 'wiki'
freetype(';') -> path /= replace(_, ' ', '_')
'$search'
freetype(';') -> { path = 'w/index.php'; param('search', _) }
then
'params'
-> host = replace(host, '{lang}', lang)
'$search'
'$images'
'at $google' -> { host = 'google.com'; param('tbm', 'isch'); param('sa', 'X') }
freetype -> { path = 'search'; param('q', _) }
'at $google' -> host = 'google.com'
freetype -> { path = 'search'; param('q', _) }
'at $yandex' -> host = 'yandex.ru'
freetype -> { path = 'search'; }
'at $duckduckgo' -> host = 'duckduckgo.com'
freetype -> param('q', _)
'at stack$overflow' -> { #http(); host = 'stackoverflow.com' }
freetype -> { path = 'search'; param('q', _) }
// Google Translate
// tgegenau
'$translate' -> host = 'translate.google.com'
or
'from $russian' -> anchor = 'ru'
'from $english' -> anchor = 'en'
'from $spanish' -> anchor = 'es'
'from $german' -> anchor = 'de'
'from $french' -> anchor = 'fr'
'$autodetect' -> anchor = 'auto'
then
or
'from $russian' -> anchor /= 'ru'
'from $english' -> anchor /= 'en'
'from $spanish' -> anchor /= 'es'
'from $german' -> anchor /= 'de'
'from $french' -> anchor /= 'fr'
then
freetype -> anchor /= _
freetype -> { anchor = 'en'; anchor /= 'ru'; anchor /= _}
'o$xford dictionary' -> { host = 'en.oxforddictionaries.com'; path = 'definition' }
freetype -> path /= _
'google' -> { host = 'google.com'; path = 'search' }
freetype -> param('q', _)