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

14
LINES

< > BotCompany Repo | #1008809 // Test brackets + &&

JavaX source code [tags: use-pretranspiled] - run with: x30.jar

Libraryless. Click here for Pure Java version (2002L/14K/46K).

!7

sS input = [[
  RULE WasLAB (("was|warum")&&("ist|bedeutet|heißt|soll|meint|nenn(t|en|st)")&&("lab"))
))
]];

p {
  L tok = javaTok(input);
  tok = xtok_recurse(f xtok_joinBrackets3, tok);
  tok = xtok_recurse(f xtok_ampersand, tok);
  //pnlStruct(tok;
  print(structureTree(tok));
}

Author comment

Began life as a copy of #1008800

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1008809
Snippet name: Test brackets + &&
Eternal ID of this version: #1008809/3
Text MD5: 1cd92070c2cca365e7a0afb94970c21d
Transpilation MD5: 2489299faae0cc365a06eb4ca19b7d83
Author: stefan
Category: javax / parsing
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-06-09 03:03:27
Source code size: 301 bytes / 14 lines
Pitched / IR pitched: No / No
Views / Downloads: 422 / 553
Version history: 2 change(s)
Referenced in: #1008817 - Test brackets + && + || + rule, bottom-up