示例#1
0
文件: __init__.py 项目: DawidvC/Logix
def init():
    logixModuleName = __name__
    global quotelang, syntaxlang, langlang, baselang
    quotelang, syntaxlang, langlang, baselang = \
               rootops.makeLanguages(logixModuleName, home, lmodules)

    global stdlang
    stdlang = imp("%s/std" % logixModuleName).std
示例#2
0
文件: __init__.py 项目: manbaum/Logix
def init():
    logixModuleName = __name__
    global quotelang, syntaxlang, langlang, baselang
    quotelang, syntaxlang, langlang, baselang = \
               rootops.makeLanguages(logixModuleName, home, lmodules)

    global stdlang
    stdlang = imp("%s/std" % logixModuleName).std
示例#3
0
文件: __init__.py 项目: DawidvC/Logix
def init(with_std=True):
    logixModuleName = __name__
    global quotelang, syntaxlang, langlang, baselang
    quotelang, syntaxlang, langlang, baselang = \
               rootops.makeLanguages(logixModuleName, home, lmodules)

    if with_std:
        global stdlang, doclang
        std = imp("%s.std" % logixModuleName)
        stdlang = std.std
        doclang = std.doclang.doclang
示例#4
0
文件: __init__.py 项目: manbaum/Logix
def init(with_std=True):
    logixModuleName = __name__
    global quotelang, syntaxlang, langlang, baselang
    quotelang, syntaxlang, langlang, baselang = \
               rootops.makeLanguages(logixModuleName, home, lmodules)

    if with_std:
        global stdlang, doclang
        std = imp("%s.std" % logixModuleName)
        stdlang = std.std
        doclang = std.doclang.doclang