Files
smnp-py/smnp/library/loader.py
2019-07-10 13:23:40 +02:00

10 lines
247 B
Python

from pkg_resources import resource_string
from smnp.program.interpreter import Interpreter
def loadStandardLibrary():
source = resource_string('smnp.library.code', 'main.mus').decode("utf-8")
return Interpreter.interpretString(source)