Grammalecte  Check-in [3b6904a340]

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:[core][js] better debugging info
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | core | rg
Files: files | file ages | folders
SHA3-256:3b6904a340e8d74e6ecdbdb9d7c8ce9abf8d0d2b858db0825a3a52d62e9fcea6
User & Date: olr 2018-09-17 09:58:16
Context
2018-09-17
10:26
[graphspell] tokenizer: new regex for ordinals (JS still sucks) check-in: a479b36582 user: olr tags: graphspell, rg
09:58
[core][js] better debugging info check-in: 3b6904a340 user: olr tags: core, rg
09:34
[core][js] gc engine: update \w replacements, + remove useless code check-in: 1173853ba9 user: olr tags: core, rg
Changes

Changes to gc_core/js/lang_core/gc_engine.js.

565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
        } catch (e) {
            console.error(e);
        }
        if (bTagAndRewrite) {
            this.rewriteFromTags(bDebug);
        }
        if (bDebug) {
            console.log(this);
        }
        return this.sSentence;
    }

    _executeActions (dGraph, dNode, nTokenOffset, nLastToken, dOptions, sCountry, bShowRuleId, bDebug, bContext) {
        // execute actions found in the DARG
        let bChange = false;







|







565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
        } catch (e) {
            console.error(e);
        }
        if (bTagAndRewrite) {
            this.rewriteFromTags(bDebug);
        }
        if (bDebug) {
            console.log(this.asString());
        }
        return this.sSentence;
    }

    _executeActions (dGraph, dNode, nTokenOffset, nLastToken, dOptions, sCountry, bShowRuleId, bDebug, bContext) {
        // execute actions found in the DARG
        let bChange = false;