hy/tests
Bob Tolbert 16e908d56e In order to fix #608, we need to know which symbols can't be assigned.
Python has the keyword.iskeyword method we can leverage for Python
keywords, but we also need to address Hy builtins like 'get' or
'slice'.

And to make behavior compatible with Python 2 or 3, we also make
a special case to prevent assignment to False, True or None as
well as the Hy versions: false, true, null, and nil.

For non-Hy modules, we also check to make sure the symbol is not
part of the compiler. This allows shadow.hy to override "+" but
prevents general use from re-defn-ing 'get' or 'do'.
2014-06-30 21:09:59 -06:00
..
compilers Kill kwapply. 2014-04-09 20:10:31 +03:00
importer hy/compiler.py: import only handles HySymbol and HyList, bail on others 2014-02-11 17:29:50 +01:00
lex Remove HyLambdaListKeyword from the parser 2014-06-03 21:36:49 -04: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 In order to fix #608, we need to know which symbols can't be assigned. 2014-06-30 21:09:59 -06:00
resources defmain macro; handles the whole if __name__ == __main__ / main function dance 2014-04-10 13:58:38 -05:00
__init__.py Add Curry module. 2014-03-29 14:40:13 -04:00
test_bin.py Merge branch 'master' into pr/526 2014-05-02 10:34:37 +03:00