コード例 #1
0
def test_adhoc():
    a = mopen('blaze.mod')

    ty = ('Array', [('t', 'int')])
    over = a.resolve_adhoc('add', ty)
コード例 #2
0
def test_signatures():
    a = mopen('blaze/module/blaze.mod')
    print "Module".center(80, '=')
    print a.show()
コード例 #3
0
ファイル: test_simple.py プロジェクト: c-mori/blaze-core
def test_signatures():
    a = mopen('blaze/module/blaze.mod')
    print "Module".center(80, '=')
    print a.show()
コード例 #4
0
ファイル: test_module.py プロジェクト: dlbrittain/blaze-core
def test_blaze_core():
    path = os.path.dirname(blaze.__file__)
    blazecore = os.path.join(path, "module", "blaze.mod")

    mopen(blazecore)
コード例 #5
0
ファイル: test_simple.py プロジェクト: c-mori/blaze-core
def test_adhoc():
    a = mopen('blaze.mod')

    ty = ('Array', [('t', 'int')])
    over = a.resolve_adhoc('add', ty)