hy/tests/native_tests
Gergely Nagy 26f342d580 Teach apply about symbol mangling
apply now mangles strings and keywords according to the Hy mangling
rules (by using the same function, now imported from
hy.lex.parser). With this change, if the dict passed to apply has
keywords, strings or quoted symbols, they'll get mangled, to turn them
into proper keys.

This only works for the cases where the keys are directly in the apply
params. A previously deffed dict, or key through a variable will not be
mangled.

This closes #219.

Signed-off-by: Gergely Nagy <algernon@madhouse-project.org>
2015-09-24 09:47:12 +02:00
..
contrib xi parameter may appear in function position 2015-08-12 08:50:18 -06:00
__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 enhance partition 2015-09-02 22:54:24 -06:00
defclass.hy defclass reimagined 2015-08-04 16:43:07 +02:00
language.hy Teach apply about symbol mangling 2015-09-24 09:47:12 +02:00
mathematics.hy Merge pull request #875 from algernon/glc/defclass 2015-08-10 09:39:00 +02:00
native_macros.hy hy.contrib.alias: Move defn-alias and defmacro-alias here 2015-08-10 09:24:48 +02:00
py3_only_tests.hy remove catch in favor of except 2015-08-09 00:53:10 -06:00
quote.hy Remove HyLambdaListKeyword from the parser 2014-06-03 21:36:49 -04:00
reader_macros.hy reader macro #@ for with-decorator 2015-07-26 15:05:38 -07:00
shadow.hy remove catch in favor of except 2015-08-09 00:53:10 -06:00
unless.hy purged null from Hy 2015-08-11 16:22:13 -06:00
when.hy purged null from Hy 2015-08-11 16:22:13 -06:00
with_decorator.hy defclass reimagined 2015-08-04 16:43:07 +02:00
with_test.hy defclass reimagined 2015-08-04 16:43:07 +02:00