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

9
LINES

< > BotCompany Repo | #1017933 // Test parsing function with options (NL Logic, OK)

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

Download Jar. Libraryless. Click here for Pure Java version (6289L/44K).

!7

p-exp {
  Exp e = nlLogic_parseExpression("a[bla, blubb](good argument)");
  assertTrue(e instanceof Func);
  assertEqualsVerbose("a", e/Func.name);
  assertEqualsVerbose(ll("bla", "blubb"), e/Func.options);
  assertEqualsVerbose(Sentence2("good argument"), e/Func.arg);
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1017933
Snippet name: Test parsing function with options (NL Logic, OK)
Eternal ID of this version: #1017933/2
Text MD5: 5b7c5faa59c4616d0120a359a840d72c
Transpilation MD5: 05b44c7c58478701a59f6a747a700515
Author: stefan
Category: javax / a.i.
Type: JavaX source code (desktop)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-08-22 13:44:22
Source code size: 284 bytes / 9 lines
Pitched / IR pitched: No / No
Views / Downloads: 243 / 708
Version history: 1 change(s)
Referenced in: [show references]