예제 #1
0
파일: container.py 프로젝트: hermetique/dao
from dao.env import ModuleEnvironment
from dao.term import var
from dao.t.builtins.globalenv import global_env, collocet_builtins

from dao.builtins.container import *
from dao.builtins.quasiquote import *

container = ModuleEnvironment({}, None, 'container')
global_env[var('container')] = container
collocet_builtins(globals(), global_env, container)
예제 #2
0
파일: control.py 프로젝트: hermetique/dao
from dao.env import ModuleEnvironment
from dao.term import var
from dao.t.builtins.globalenv import global_env, collocet_builtins

from dao.builtins.control import *

control = ModuleEnvironment({}, global_env, 'control')
global_env[var('control')] = control
collocet_builtins(globals(), global_env, control)
예제 #3
0
from dao.env import ModuleEnvironment
from dao.term import var
from dao.t.builtins.globalenv import global_env, collocet_builtins

from dao.builtins.arith import *

arith = ModuleEnvironment({}, None, 'arith')
global_env[var('arith')] = arith
collocet_builtins(globals(), global_env, arith)
예제 #4
0
from dao.env import ModuleEnvironment
from dao.term import var
from dao.t.builtins.globalenv import global_env, collocet_builtins

from dao.builtins.parser import *

parser = ModuleEnvironment({}, None, 'parser')
global_env[var('parser')] = parser
collocet_builtins(globals(), global_env, parser)
예제 #5
0
파일: special.py 프로젝트: hermetique/dao
from dao.env import ModuleEnvironment
from dao.term import var
from dao.t.builtins.globalenv import global_env, collocet_builtins

from dao.special import *

special = ModuleEnvironment({}, None, 'special')
global_env[var('special')] = special
collocet_builtins(globals(), global_env, special)
예제 #6
0
파일: control.py 프로젝트: chaosim/dao
from dao.env import ModuleEnvironment
from dao.term import var
from dao.t.builtins.globalenv import global_env, collocet_builtins

from dao.builtins.control import *

control = ModuleEnvironment({}, global_env, "control")
global_env[var("control")] = control
collocet_builtins(globals(), global_env, control)
예제 #7
0
from dao.env import ModuleEnvironment
from dao.term import var
from dao.t.builtins.globalenv import global_env, collocet_builtins

from dao.builtins.term import *

term = ModuleEnvironment({}, None, 'term')
global_env[var('term')] = term
collocet_builtins(globals(), global_env, term)
예제 #8
0
파일: container.py 프로젝트: chaosim/dao
from dao.env import ModuleEnvironment
from dao.term import var
from dao.t.builtins.globalenv import global_env, collocet_builtins

from dao.builtins.container import *
from dao.builtins.quasiquote import *

container = ModuleEnvironment({}, None, "container")
global_env[var("container")] = container
collocet_builtins(globals(), global_env, container)
예제 #9
0
from dao.env import ModuleEnvironment
from dao.term import var
from dao.t.builtins.globalenv import global_env, collocet_builtins

from dao.builtins.io import *

io = ModuleEnvironment({}, None, 'io')
global_env[var('io')] = io
collocet_builtins(globals(), global_env, io)
예제 #10
0
파일: rule.py 프로젝트: hermetique/dao
from dao.env import ModuleEnvironment
from dao.term import var
from dao.t.builtins.globalenv import global_env, collocet_builtins

from dao.builtins.rule import *

rule = ModuleEnvironment({}, None, 'rule')
global_env[var('rule')] = rule
collocet_builtins(globals(), global_env, rule)