Alexander Lisianoi

Results 21 comments of Alexander Lisianoi

Ok, I have addressed: 1. The two places where I removed tests. They are now back with explicit exception checks. 2. The `not` and missing `()`, I have written explicit...

Ok, `extras_require` are now in place, they will be installed if you do `pip install -e .` Now need to interface into transcrypt to make the transpillation call.

And now `transpile` shows that `super` keyword is the current blocker. Will try to fix it with an automatic conversion first.

Finally moved `transpile.py` into its own `etc` directory. The whole thing was crashing bizzarly because I forgot that `transcrypt` does not like it when it is asked to "look up"...

Tests are broken because of the `3.x` super keyword. If you run `pytest` under a `3.x` virtual environment, tests pass. Will probably adjust `.travis.yml` for this branch to run `3.x`...

Ok, I've checked in `boolean.js` just in case you would like to reproduce the steps I am talking about without the need to: 1. Get a dev version of Transcrypt...

Finally! `type` in python can have more than one argument. Yet `Transcrypt` looks only at the 0th argument to type and ignores the rest (see `compiler.py`, lines 1410 - 1414)....

Ok, the generators work with `-e 6` and retranspilation. Current runtime error is: ``` algebra = boolean.BooleanAlgebra() expr = algebra.parse("x") TypeError: tok.isalpha is not a function [Learn More] ```

Ok, `expr0 = algebra.parse("apples and oranges")` now works, let me point out what does not work: 1. `expr0.get_symbols()` and `expr0.get_literals()` not working because `itertools.chain` not implemented. 2. `boolean.__eq__(expr0, algebra.AND(algebra.Symbol("apples"), algebra.Symbol("oranges")))`...

My condolences for having to remove "macros-of-macros-of-macros" abstractions as described in the blog from above. Just another [ThinkPad USB-C Dockstation 1st Gen](https://support.lenovo.com/us/en/solutions/acc100348) user checking in (different from topic starter's Thunderbolt...