adsharma
adsharma
The approach seems to be to tokenize python source and match strings. Why not parse python into an AST and write a visitor to generate code in the target language?...
There is some discussion on typing-sig about sealed classes here: https://mail.python.org/archives/list/[email protected]/thread/QSCT2N4RFPRQN2U7NIX6VCNVNDHGO22U/ Perhaps you can chime in with your thoughts as the author of this library. ``` @sealed class Tree: EMPTY:...
First of all, very cool project. I've written something similar in python: https://github.com/adsharma/zre_raft It uses [ZRE](https://rfc.zeromq.org/spec/20/) for discovery and group chat. Lately I've also been looking into rust. There is...
Have you thought about how you'll license the code?
[2021-03-21T05:21:07Z ERROR actix_raft::raft] Fatal actix MailboxError while communicating with Raft dependency. Raft is shutting down. RaftNetwork MailboxError(Mailbox has closed) thread 'actix-rt:worker:0' panicked at 'attempted to leave type `futures::task::Task` uninitialized, which...
There is a new transpiler (pycom) that's getting good engagement on reddit and hackernews. It's written by a 15yo in two weeks. https://www.reddit.com/r/Python/comments/w7vlim/i_made_a_python_compiler_that_can_compile_python/ Where people are comparing it to cython,...
Something similar to: https://mys-lang.org/language-reference.html
Description in https://github.com/adsharma/py2many/commit/8b90aba3d1f0e2814232356c22ed5f1a107a529d
https://github.com/Yardanico/nimpylib pynim/transpiler.py:visit_range(), visit_print() etc could be simplified using this library
https://github.com/adsharma/richards-benchmark Some more context here: https://github.com/python/pyperformance/issues/101