These are chat archives for evhub/coconut

24th
Nov 2016
Evan Hubinger
@evhub
Nov 24 2016 02:45
@kybaeus Coconut always uses the Python interpreter, since Coconut is itself just a compiler--the Coconut interpreter just compiles the code you enter and runs it on the fly, and Coconut files just get compiled into Python files. That being said, if you want to use Coconut from pure Python, Coconut provides the coconut.__coconut__ module, which allows you to import any Coconut built-in from Python, and the coconut.convenience module, which lets you compile Coconut code on the fly which you can then run with exec.