Juha Jeronen

Results 73 issues of Juha Jeronen

Considering things like `unpythonic.syntax` - especially the [Turing tarpit](https://en.wikipedia.org/wiki/Turing_tarpit) that is [`letdoutil`](https://github.com/Technologicat/unpythonic/blob/master/unpythonic/syntax/letdoutil.py) - it would be nice to be able to take an AST node, conveniently detect whether it is...

enhancement

As of 8b2b47c, coverage measurement includes code covered not only by tests, but also by demos. Demos don't necessarily test anything other than that they don't crash, so the coverage...

enhancement

Add tests for any parts that are nontrivial and/or can be tested with reasonable effort. - Quasiquote system - Corner cases - Multiple macro invocations in the same `with` -...

enhancement

- ~Add the functionality of `clearcaches.py` as a command-line option to `macropython`.~ Done in 07612fc. - It's a generally useful tool; even the docs already say there are some special...

documentation
enhancement

The documentation could use more code examples of how to use the various features of `mcpyrate`. Each item should include the actual code example, an explanation of what is it...

documentation
good first issue

I get a crash during macro expansion when the source AST being transformed contains `complex` or `bytes` literals. The transformed AST contains the bare `complex` or `bytes` object (and hence...

Avoid crashing in error logger when the message of a macro expansion failure is not a string. This happens more often than one would think, when developing new macros :)

In the documentation, the section titled [Whither MacroPy](https://macropy3.readthedocs.io/en/latest/discussion.html#whither-macropy) discusses reasonable use cases for macros. I think this is very good, since macros are, as someone very compactly put it, the...

It would be convenient if a block macro could return, when appropriate for some particular use case, just a single AST node as the transformed body. Currently the return type...

Attempt at fixing #8.