Juha Jeronen

Results 185 comments of Juha Jeronen
trafficstars

As the changes needed for supporting 3.8 and 3.9 in `unpythonic` 0.15 are now done (except the macro expander porting, but that's orthogonal), I'm moving this issue to the ∞...

Version 0.15.0 supports Python language versions 3.6, 3.7, 3.8 and 3.9.

Version 0.15.1 supports Python language versions 3.6, 3.7, 3.8, 3.9 and 3.10. We should drop 3.6 soon-ish, but there's no practical hurry to do so as long as it's available...

Recent AST changes in the language: - In Python 3.10, [`alias` nodes must have `lineno` and `col_offset`](https://bugs.python.org/issue43798). Mentioned in the [full changelog](https://docs.python.org/3/whatsnew/changelog.html#changelog), but not in [what's new](https://docs.python.org/3/whatsnew/3.10.html). - Python 3.8...

Hmm, maybe we can use [pyan3](https://github.com/Technologicat/pyan)'s `modvis.py` to find modules which have no outgoing edges, i.e. those that don't depend on anything else. If there's at least a partial order...

Layer 0: since our no-framework (cf. "NoSQL") `unpythonic.test.fixtures` is programmable, we can test its lower-level functionality first (using plain asserts), before we run the rest of the tests.

Updated draft for macro output, supporting nested `with_tags` sections: ```python # actually no explicit import; just use `hq[]` in the macro implementation. from unpythonic import trampolined, jump # define in...

- Note the `body` helper function should be omitted when the first item in the body is a tag. Or, from the opposite viewpoint, insert an implicit tag `body` (with...

- Regarding continuations: inspecting the code I wrote about a year ago ([tailtools.py](https://github.com/Technologicat/unpythonic/blob/master/unpythonic/syntax/tailtools.py)), this *just might* work without touching the implementation of the `continuations` macro, as long as `@with_tags` expands...

Meh, maybe we should just go for the previous idea, using exceptions. That gives better semantics. Nesting feels pretty important and a goto should act like a goto (even if...