Grammalecte  Check-in [cbdcf386fd]

Overview
Comment:[build] stop debugging display
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | build | rg
Files: files | file ages | folders
SHA3-256: cbdcf386fdbe3e5d3d3ad1ce574f3edda295a018d3d8906fbb3e2b2ea9a2efc6
User & Date: olr on 2018-06-23 06:52:04
Other Links: branch diff | manifest | tags
Context
2018-06-23
07:11
[build][core][fr] drop universal arc for meta arcs (analyzing tokens type) check-in: 2ac407c52f user: olr tags: fr, core, build, rg
06:52
[build] stop debugging display check-in: cbdcf386fd user: olr tags: build, rg
06:33
[fr] conversion: regex rules -> graph rules check-in: 1bef5f8a17 user: olr tags: fr, rg
Changes

Modified compile_rules_graph.py from [326d35579d] to [809af5ab14].

357
358
359
360
361
362
363

364
365
366
367
368
369
370
371
372
373
374
375
376
        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
    }
    return d







>
|
|
|
|
|








357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
        sPyCallables += "    return " + sReturn + "\n"
        #sJSCallables += "    {}: function ({})".format(sFuncName, sParams) + " {\n"
        #sJSCallables += "        return " + jsconv.py2js(sReturn) + ";\n"
        #sJSCallables += "    },\n"
    #sJSCallables += "}\n"

    # Debugging
    if False:
        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
    }
    return d