hy/tests
Gergely Nagy 817b4688d8 hy.contrib.walk: New contrib module for walking the Hy AST
The hy.contrib.walk module provides a few functions to walk the Hy AST,
and potentially transform it along the way. The main entry point
is (walk), which takes two functions and a form as arguments, and
applies the first (inner) function to each element of the form, building
up a data structure of the same type as the original. Then applies outer
(the second function) to the result.

Two convenience functions are provided: (postwalk) and (prewalk), which
do a depth-first, post/pre-order traversal of the form.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
2014-02-01 18:34:12 +01:00
..
compilers Add a cons object and related mechanisms 2014-01-23 23:08:52 +01:00
importer Fix flake error 2013-07-06 20:39:02 +02:00
lex Add a cons object and related mechanisms 2014-01-23 23:08:52 +01:00
macros Hy reader macros #377 2013-12-23 14:33:51 +01:00
models Merge master onto pr/471 2014-01-30 21:50:23 +05:30
native_tests hy.contrib.walk: New contrib module for walking the Hy AST 2014-02-01 18:34:12 +01:00
resources Rewrite the bootstrap macros in hy 2013-09-29 18:13:28 +02:00
__init__.py hy.contrib.walk: New contrib module for walking the Hy AST 2014-02-01 18:34:12 +01:00
test_bin.py Merge branch 'master' into pr/440 2014-01-17 20:20:39 +01:00