• Stars
    star
    135
  • Rank 269,297 (Top 6 %)
  • Language
    Nim
  • License
    MIT License
  • Created almost 7 years ago
  • Updated almost 5 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

A Python-to-Nim transpiler

py2nim

A new WIP tool for porting Python code to Nim

Based on languist

very basic still, if you're interested contact us using our emails or the #nim irc/gitter

notice

the original py2nim is on https://github.com/metacraft-labs/py2nim_deprecated/ : most of the stars/watches/forks are probably for it. it's probably closer to working state, but this version might be a better basis for the future(even if maybe less featured now), as it builds on the languist code which should support more languages

how to use

./py2nim <filename>.py

generates <filename>.nim

translating projects is WIP, but it would use

./py2nim <project>

and the languist.json file there