Grammalecte  Diff

Differences From Artifact [13a87fa5df]:

To Artifact [07324275d9]:


348
349
350
351
352
353
354
355
356


357
358


359
360
361
362
363
364
365
            continue
        sPyCallables += "def {} ({}):\n".format(sFuncName, sParams)
        sPyCallables += "    return " + sReturn + "\n"
        #sJSCallables += "    {}: function ({})".format(sFuncName, sParams) + " {\n"
        #sJSCallables += "        return " + jsconv.py2js(sReturn) + ";\n"
        #sJSCallables += "    },\n"
    #sJSCallables += "}\n"
    print(sPyCallables)



    for sActionName, aAction in dACTIONS.items():
        print(sActionName, aAction)



    # Result
    d = {
        "graph_callables": sPyCallables,
        "rules_graphs": dAllGraph,
        "rules_actions": dACTIONS
    }







<

>
>


>
>







348
349
350
351
352
353
354

355
356
357
358
359
360
361
362
363
364
365
366
367
368
            continue
        sPyCallables += "def {} ({}):\n".format(sFuncName, sParams)
        sPyCallables += "    return " + sReturn + "\n"
        #sJSCallables += "    {}: function ({})".format(sFuncName, sParams) + " {\n"
        #sJSCallables += "        return " + jsconv.py2js(sReturn) + ";\n"
        #sJSCallables += "    },\n"
    #sJSCallables += "}\n"


    # Debugging
    print("\nActions:")
    for sActionName, aAction in dACTIONS.items():
        print(sActionName, aAction)
    print("\nFunctions:")
    print(sPyCallables)

    # Result
    d = {
        "graph_callables": sPyCallables,
        "rules_graphs": dAllGraph,
        "rules_actions": dACTIONS
    }