Overview
Comment: | [core] gc engine: token tags (character: /) |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | core | rg |
Files: | files | file ages | folders |
SHA3-256: |
81f21e06d4cf374735db677a509d7ecf |
User & Date: | olr on 2018-07-19 07:34:32 |
Other Links: | branch diff | manifest | tags |
Context
2018-07-19
| ||
08:31 | [core] semantic (token) tags check-in: 93c718cc67 user: olr tags: core, rg | |
07:34 | [core] gc engine: token tags (character: /) check-in: 81f21e06d4 user: olr tags: core, rg | |
07:33 | [build] DARG builder: token tags check-in: 9b68ab4908 user: olr tags: build, rg | |
Changes
Modified gc_core/py/lang_core/gc_engine.py from [3e0ddd4369] to [177fbea14b].
︙ | ︙ | |||
683 684 685 686 687 688 689 | print(" MATCH: @" + sRegex) yield dGraph[dNode["<re_morph>"][sRegex]] # token tags if "tags" in dToken and "<tags>" in dNode: for sTag in dNode["<tags>"]: if sTag in dToken["tags"]: if bDebug: | | | 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 | print(" MATCH: @" + sRegex) yield dGraph[dNode["<re_morph>"][sRegex]] # token tags if "tags" in dToken and "<tags>" in dNode: for sTag in dNode["<tags>"]: if sTag in dToken["tags"]: if bDebug: print(" MATCH: /" + sTag) yield dGraph[dNode["<tags>"][sTag]] # meta arc (for token type) if "<meta>" in dNode: for sMeta in dNode["<meta>"]: # not regex here, we just search if <dNode["sType"]> exists within <sMeta> if sMeta == "*": if bDebug: |
︙ | ︙ |