adsharma
adsharma
I think the larger issue is what do we do with respect to advanced slicing in the [langspec](https://github.com/adsharma/py2many/blob/main/doc/langspec.md). I'm inclined to allow it because it's succinct and idiomatic python code....
Anecdotal data from python discord: * django has 136 instances of advanced slicing * 2 argument slicing (a[m:n] ) more common than 3 argument version with a step * negative...
slice(..) objects are an implementation detail. Agree with the idea of not supporting it. We need to support [:-1] syntax for strings, lists and other iterables. Very handy and used...
dart2js is another way to get there.
I don't mind having one "external" transpiler, which takes a static configuration option (Essentially the command to run) that calls into another transpiler. py2many.py --external=1 test/case/coverage.py Any additional complexity worries...
Summarizing my thoughts on adding js as an external transpiler: [+] one less thing for users to worry about and use py2many as a universal transpiler front end [+] js...
> [dmitrii-eremin/python-lua#11](https://github.com/dmitrii-eremin/python-lua/issues/11) looks good for Lua. Yes - this code looks similar to what we have in py2many: https://github.com/dmitrii-eremin/python-lua/blob/master/pythonlua/nodevisitor.py Perhaps it can address a larger set of use cases by...
Haxe is an interesting target. It's been around for a while and has grown organically.
Yeah - the main thing that's missing here is that transpiler doesn't understand the semantics of python's `dict.get()`. I feel that at ~1000 lines of code $lang/transpiler.py is at around...
Wrong number of arguments for builtins: ``` >>> f.read(1,2,3,4,5,6) TypeError: read expected at most 1 argument, got 6 ``` Unknown parameters: ``` >>> f = open("/etc/passwd", foo=2) TypeError: 'foo' is...