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

7
LINES

< > BotCompany Repo | #1027906 // ai_newEngine_parseRule - understands fragments and function calls. also curries LHS

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (3645L/23K).

static BasicLogicRule ai_newEngine_parseRule(S s, DeepZipTools tools) {
  BasicLogicRule rule = curryLHS_BasicLogicRule(ai_parseBasicLogicRule(s));
  ret (BasicLogicRule) tools.transform(x -> {
    if (x cast S) ret ai_newEngine_parseFunctionCallOrStatement(x);
    null;
  }, rule);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1027906
Snippet name: ai_newEngine_parseRule - understands fragments and function calls. also curries LHS
Eternal ID of this version: #1027906/3
Text MD5: e09f195b682741ca4bf560663f18fa6d
Transpilation MD5: c95aad2db35cc05cbcbcdafb8966f6cf
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-04-16 17:31:03
Source code size: 291 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 128 / 205
Version history: 2 change(s)
Referenced in: [show references]