hy/tests/native_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
..
contrib anaphoric: fix first & last when conditions fail 2014-05-24 17:48:46 +05:30
__init__.hy ideas, ideas. 2013-03-05 18:39:34 -05:00
cons.hy Add a cons object and related mechanisms 2014-01-23 23:08:52 +01:00
core.hy Merge branch 'master' into pr/571 2014-05-13 09:32:51 +03:00
defclass.hy Fix missing docstrings from defclass issue #248 2013-07-15 06:58:08 -06:00
language.hy In order to fix #608, we need to know which symbols can't be assigned. 2014-06-30 21:09:59 -06:00
math.hy Operators + and * work without args, fixes #372 2013-12-16 00:04:43 +05:30
native_macros.hy defmacro/g! and HyObject#startswith 2014-05-15 01:51:38 +00:00
quote.hy Remove HyLambdaListKeyword from the parser 2014-06-03 21:36:49 -04:00
reader_macros.hy Fix reader macros to actually be macros 2014-01-17 01:07:47 +01:00
shadow.hy Add shadow.hy to core 2014-05-26 21:50:47 -04:00
unless.hy add nil as synonym for None 2013-12-27 13:50:19 -07:00
when.hy add nil as synonym for None 2013-12-27 13:50:19 -07:00
with_decorator.hy Rename decorate-with' to with-decorator' 2013-04-28 17:14:22 +02:00
with_test.hy added for and with macros 2013-12-29 16:50:21 +01:00