Little Languages - oilshell/oil GitHub Wiki

See Unix Tools for tools that have some of these languages

Pattern Languages

Should be unified under "OCRE"

  • regex: BRE, ERE, PCRE, etc. -- see Unix Tools
  • glob and extended glob (from ksh I think)
  • scanf - % style
  • strptime - % style

Formatting Languages

Should be unified under shell-style.

  • shell style with $var and ${var} -- sh, PHP, and now JavaScript
  • printf-style -- see Unix Tools
  • bash uses \h \W for the prompt
  • Swift uses \(var)
  • Python .format() uses {var}. And I think {{ for escaping.
  • Most web template languages (e.g. Django, Go) use {{var}}