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

10
LINES

< > BotCompany Repo | #1003149 // Test flexMatch

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

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

!752

p {
  flexMatch_debug = true;
  assertTrue(flexMatch("if * < * then", "  if a < b then "));
  assertTrue(flexMatch("if * < *", "if a < b then"));
  assertFalse(flexMatch("if * > * then", "if a < b then"));
  assertFalse(flexMatch("if * < * then", "if a < b"));
  assertTrue(flexMatch("if * < * then", "if g(a) < g(b) then"));
}

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: #1003149
Snippet name: Test flexMatch
Eternal ID of this version: #1003149/1
Text MD5: 18abd4f2d46ea85745ce3ddedfbe30f1
Transpilation MD5: f53e6a8b0326d130f92d0a90094edcbd
Author: stefan
Category: javax
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-05-15 00:33:41
Source code size: 344 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 517 / 606
Referenced in: