How to use the glb.Gprogram function in glb

To help you get started, we’ve selected a few glb examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github billwadge / pyLucid / evl.py View on Github external
exit()
    #print('renamed program ')
    rpg = ren.Rename(pg,pop.EmptySet)
    #prp.Termln(rpg)
    fpg = ewh.Eprogram(rpg)
    #print('flattened program')
    #prp.Termln(fpg)
    atab,ftab, ypg = ali.ActualTable(rpg,map.EmptyMap,map.EmptyMap)
    #print('alified program')
    #prp.Termln(ypg);
    defs = ali.ActualDefs(atab,ftab)
    subj,body =  exp.WhereD(ypg)
    body = pop.Append(body,defs) #add ali defs
    ypg = exp.WhereC(subj,body)
    #print('globalized program')
    ypg = glb.Gprogram(ypg)
    #prp.Termln(ypg)
    #print('reflattend program') 
    ypg = ewh.Eprogram(ypg)
    #prp.Termln(ypg)
    #print('atomized program')
    apg,dfs = atz.Aexpr(ypg)
    #prp.Termln(apg)
    return apg

glb

Guokr load balancing.

MIT
Latest version published 9 years ago

Package Health Score

33 / 100
Full package analysis

Popular glb functions