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 / View on Github external
    #print('renamed program ')
    rpg = ren.Rename(pg,pop.EmptySet)
    fpg = ewh.Eprogram(rpg)
    #print('flattened program')
    atab,ftab, ypg = ali.ActualTable(rpg,map.EmptyMap,map.EmptyMap)
    #print('alified program')
    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)
    #print('reflattend program') 
    ypg = ewh.Eprogram(ypg)
    #print('atomized program')
    apg,dfs = atz.Aexpr(ypg)
    return apg


Guokr load balancing.

Latest version published 8 years ago

Package Health Score

36 / 100
Full package analysis

Popular glb functions