Cool indeed! While language-to-code (where code is a regular, general-purpose language) has only recently started to be workable, text-to-SQL has been a long running application/research area for semantic parsing.
Some interesting papers and datasets:
NL2Bash: https://arxiv.org/abs/1802.08979