hy icon indicating copy to clipboard operation
hy copied to clipboard

A dialect of Lisp that's embedded in Python

Results 76 hy issues
Sort by recently updated
recently updated
newest added

Colored error messages now display in `hy-mode`. It might be worth reviewing/adding colors to `hy.error`. hy: ``` => ok Traceback (most recent call last): File "/root/.virtualenvs/pop-synthvenv/lib/python3.6/site-packages/hy/importer.py", line 198, in hy_eval...

complaint / disgust

I've implemented highlighting python code outputted from `--spy` in `inferior-hy-mode`. However I need to be able to distinguish where the python block ends. I can't take the last line to...

feature

Clojure has a metadata system that applies an arbitrary map to symbols and its built in collection types (i.e. the kind code is made of). This is used for, among...

feature

First run will print `hy.macros.-hy-macros` fine. Second and subsequent runs will print an empty dict. Deleting the `foo.pyc` will reset the `-hy-macros` dict as expected. Is this intended behavior? If...

Pushing the eval of certain forms back to readtime has various uses. A big one is to swap out code based on various conditions, like the `#if` and related preprocessor...

feature

A common use-case is cleaning dataframes, for instance removing a footer number from column names. I have a flip/curry tag macro, tz.flip, and would like to do: ``` (.rename df...

feature

Lisp originally used dynamic variables, instead of the lexical variables used in Python. They're still the norm in Emacs Lisp, and useful enough sometimes that they're still available optionally in...

feature

My first attempt at implementing `partition` looked like this: ```Hy (defn partition [n coll] (->> coll (iter) (,) (* n) (apply zip))) ``` This doesn't work anymore because we removed...

Common Lisp calls it `macrolet`, but Clojure may end up calling it `letmacro`, so we could call it that instead. It might work by using `defmacro` named by gensym. Anywhere...

feature

I'm currently writing a larger program in Hy. Coding in Hy is a dream.. debugging is a headache. The reasons are simple: line numbers are lost in the context of...

feature