Hy
Sometimes, nothing less than a functional programming language will do. This is especially true in machine learning and artificial intelligence, where Lisp and Scheme have a long tradition. Hy is a dialect of Lisp that translates expressions into Python's abstract syntax tree format.
An abstract syntax tree is a high-level representation of a program's structure, independent of the source code. The Python parser turns all Python programs into abstract syntax trees, after which the interpreter performs further operations on the tree on the path to creating executable bytecode. Because the Hy frontend accepts Hy code as input and produces as output an abstract syntax tree compatible with Python's interpreter, Hy code runs in the same interpreter ...
Get Mastering IPython 4.0 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.