by zcbenz · 2y ago · 0 comments
The python project is https://github.com/ml-explore/mlx and the converted project is https://github.com/frost-beta/node-mlx
I wrote a long prompt: https://github.com/frost-beta/node-mlx/blob/main/tests/promp...
The first result was almost always bad, but after manually modifying the assistant's answer, following generation usually went much better.
> Use const when possible, but use let if the same name is reused in the same scope.
looks like some of that could have been handled with a linter autofixing afterwards.
$70 seems like a lot for 15,000 lines?
What was the verification process like?
Also any thoughts on transpilers? There's Brython for javascript, and some others like py2many, mypyc. And the approach in oil shell: written in python, translated to C++ with custom tools