Example #1
0
    def inner_invoke(self, args):
        import pixie.vm.rt as rt
        from pixie.vm.code import intern_var
        rt.load_ns(rt.wrap(u"pixie/repl.pxi"))

        repl = intern_var(u"pixie.repl", u"repl")
        with with_ns(u"user"):
            repl.invoke([])
Example #2
0
def run_load_stdlib():
    global stdlib_loaded
    if stdlib_loaded.is_true():
        return

    rt.load_ns(rt.wrap(u"pixie/stdlib.pxi"))

    stdlib_loaded.set_true()
Example #3
0
    def inner_invoke(self, args):
        import pixie.vm.rt as rt
        from pixie.vm.code import intern_var
        rt.load_ns(rt.wrap(u"pixie/repl.pxi"))

        repl = intern_var(u"pixie.repl", u"repl")
        with with_ns(u"user"):
            repl.invoke([])
Example #4
0
def run_load_stdlib():
    global stdlib_loaded
    if stdlib_loaded.is_true():
        return

    rt.load_ns(rt.wrap(u"pixie/stdlib.pxi"))
    rt.load_ns(rt.wrap(u"pixie/stacklets.pxi"))

    stdlib_loaded.set_true()
Example #5
0
def bootstrap():
    import pixie.vm.rt as rt
    from pixie.vm.string import String
    assert False
    rt.load_ns(rt.wrap(u"pixie/stdlib.pxi"))
Example #6
0
def bootstrap():
    import pixie.vm.rt as rt
    assert False
    rt.load_ns(rt.wrap(u"pixie/stdlib.pxi"))