macropy icon indicating copy to clipboard operation
macropy copied to clipboard

Macros in Python: quasiquotes, case classes, LINQ and more!

Results 29 macropy issues
Sort by recently updated
recently updated
newest added

I am unable to use `macropy.activate` from version 1.1.0b2 in Python 3.10.2 on Arch Linux. When running `import macropy.activate` I expected Python to cleanly import the package, but instead it...

I have rephrased the installation instructions a little bit. Hope this version looks fine!

``` /local/lib/python2.7/site-packages/macropy/core/import_hooks.py", line 43, in find_module tree = ast.parse(txt) File "/usr/lib/python2.7/ast.py", line 37, in parse return compile(source, filename, mode, PyCF_ONLY_AST) TypeError: compile() expected string without null bytes ```

Is this package still maintained? It appears to be broken on python3.8 and python3.9 with errors like this. ``` Traceback (most recent call last): File "run_tests.py", line 5, in import...

There is a small typo in docs/reference.rst. Should read `stitch` rather than `stich`. Semi-automated pull request generated by https://github.com/timgates42/meticulous/blob/master/docs/NOTE.md

When using `@tco` on a simple recursive function with python 3.8 ``` import macropy.activate from macropy.experimental.tco import macros, tco @tco def fact(n): if n == 0: return 1 else: return...

https://macropy3.readthedocs.io/en/latest/overview.html says, > Note that this means **you cannot use macros in a file that is run directly**, as it will not be passed through the import hooks. Sometimes I...

I have a project in mind for which I'd like to use MacroPy, but the end result would not be an application but a library, and I'd like any eventual...