Grammalecte  Check-in [0b591a67d1]

Overview
Comment:[build] debugging info update
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | build | rg
Files: files | file ages | folders
SHA3-256: 0b591a67d1a51e4eb15e96ba495badbab098d617bcf3cf53fbc4a52178c0f291
User & Date: olr on 2018-06-19 17:52:13
Other Links: branch diff | manifest | tags
Context
2018-06-19
17:53
[build] useless line check-in: b4cc6e93dc user: olr tags: build, rg
17:52
[build] debugging info update check-in: 0b591a67d1 user: olr tags: build, rg
16:55
[build] debug: remove rules printing check-in: c46f8d907b user: olr tags: build, rg
Changes

Modified compile_rules_graph.py from [13a87fa5df] to [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
    }