krzema12 / kotlin-python

Python target for the Kotlin Programming Language. See https://github.com/krzema12/kotlin-python/tree/python-backend/python
https://discuss.kotlinlang.org/t/idea-python-backend/19852
47 stars 1 forks source link

[#103] Clean up CLI #104

Closed krzema12 closed 2 years ago

krzema12 commented 2 years ago

It doesn't remove all JS-related stuff, just the most obvious ones and the ones that were fairly easy to remove. A follow-up change will probably appear, sooner or later.

Reduced CLI code size by 76%.

Before:

-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
Kotlin                           3            123             23            694
Java                             1             89              5            489

After:

-------------------------------------------------------------------------------
Language                     files          blank        comment           code
-------------------------------------------------------------------------------
Kotlin                           1             49              7            275