Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

12
LINES

< > BotCompany Repo | #1004490 // gStandardRewrites

JavaX fragment (include)

static SS gStandardRewrites_cache;

static synchronized SS gStandardRewrites() {
  if (gStandardRewrites_cache == null) {
    gStandardRewrites_cache = new HashMap;
    pcall {
      for (Rule rule : parseRules(loadSnippet("#1004468")))
        gStandardRewrites_cache.put(first(rule.in), first(rule.out));
    }
  }
  ret gStandardRewrites_cache;
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1004490
Snippet name: gStandardRewrites
Eternal ID of this version: #1004490/1
Text MD5: d70fa3f9a1e690af257e861cbecfa3ef
Author: stefan
Category: javax / talking robots
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-08-18 20:24:23
Source code size: 362 bytes / 12 lines
Pitched / IR pitched: No / No
Views / Downloads: 473 / 480
Referenced in: [show references]