Compilers targeting .pyc files?

Out of curiosity, are there many compilers that target .pycfiles?

After a bit of googling, the only thing I can find is:

So ... are there any more?

(as a side note, I thought about it because I want to write a Scheme-pyc compiler)

(as the second side of the note, I'm not under the illusion that the Scheme-to-pyc compiler would be useful, but it would give me an incredible excuse to learn some of the internal elements of both Scheme and Python)

+3
source share
5 answers

, lisp - "Noodle" - Python. , Common Lisp ( ), Python.

, - Python, , Python Python:

  • : Python 3.0 ( nonlocal) , -. , , , , . . , Python VM. , "" .
  • . , , , "safelite". .

, , , , , .

+3

" Scheme-pyc".

! ? - Python - , Python Python, , , Python. Python Python " ", Jython (JVM), IronPython (.NET), PyPy Unladen Swallow ( CPython LLVM. , (Scheme) , , ( ) . , , , .pyc, .

+4

CPython.

http://www.network-theory.co.uk/docs/pytut/CompiledPythonfiles.html

.pyc, Python-, CPython .pyc. ( , ++ Cfront, ++ C, C .)

, Scheme, Scheme Python.

: Python, , Scheme . , Python ; Python , .

, Unladen Swallow Python, Scheme-to-Python , !

, , , . .

P.S. , , AWK Python-. , AWK- Python!

+2

, LISP Python. LISP to pyc.

: sinC - LISP

+2

, , , clojure -py (https://github.com/halgari/clojure-py) clojure - python - .

- , : (, MAKE_FUNCTION 2 Python 3, 1 Python 2), (afaict) - , , .

+1

Source: https://habr.com/ru/post/1720534/


All Articles